openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #19864
[Bug 1091190] [NEW] Error loading modules when creating new database
Public bug reported:
This problem only occur when creating a new database using command line.
If we use the web interface to create a database, everything works the
way it should.
How to reproduce:
In a terminal create a new database using command : createdb
database_name
Launch openerp server, try to connect to that database, it will create
the tables inside the db and once it is done you should arrive on the
install module webpage but instead you get a javascript error stating
"Uncaught TypeError: object is not a function".
I don't think it is a web problem for the following reason:
When you create a new database using the form from the website, we don't
have that problem.
I've always created my db using the command line before and it was
working fine, according to some info I could get it seems that there are
2 functions to load the base modules upon installation of a new db. One
called when installing from the form webpage and another one. It would
seems that the one used in my case doesn't load every needed module
resulting in a javascript error.
This is not a blocking issues since we can still create databases via
the website form but it should work in every situation. Not everybody
will use the website form to create their db.
Version used of openERP (trunk)
- trunk revno : 8356
- server revno : 4693
- web revno : 3618
Thanks,
Cédric
** Affects: openobject-server
Importance: High
Assignee: OpenERP's Framework R&D (openerp-dev-framework)
Status: Confirmed
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Importance: Undecided => High
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1091190
Title:
Error loading modules when creating new database
Status in OpenERP Server:
Confirmed
Bug description:
This problem only occur when creating a new database using command
line. If we use the web interface to create a database, everything
works the way it should.
How to reproduce:
In a terminal create a new database using command : createdb
database_name
Launch openerp server, try to connect to that database, it will create
the tables inside the db and once it is done you should arrive on the
install module webpage but instead you get a javascript error stating
"Uncaught TypeError: object is not a function".
I don't think it is a web problem for the following reason:
When you create a new database using the form from the website, we
don't have that problem.
I've always created my db using the command line before and it was
working fine, according to some info I could get it seems that there
are 2 functions to load the base modules upon installation of a new
db. One called when installing from the form webpage and another one.
It would seems that the one used in my case doesn't load every needed
module resulting in a javascript error.
This is not a blocking issues since we can still create databases via
the website form but it should work in every situation. Not everybody
will use the website form to create their db.
Version used of openERP (trunk)
- trunk revno : 8356
- server revno : 4693
- web revno : 3618
Thanks,
Cédric
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1091190/+subscriptions
Follow ups
References