testing openerp

Asked by Pravitha V

i wanted to test openerp server and web client so i followed the documentation and used the testing command :

"python openerp-server.py" for server and"python openerp-web.py" for web client.The server and client run successfully and i went to localhost:8080 login page.but when i tried to login to the database it showed the error "BAD USERNAME OR PASSWORD"............so i tried creating a new database but i got the following error while creating the new database: server crashed ...drop this database............so my question is can we create database while testing the openerp? if yes how someone please help................

Question information

English Edit question
Odoo Server (MOVED TO GITHUB) Edit question
No assignee Edit question
Solved by:
Pravitha V
Last query:
Last reply:
Revision history for this message
Pravitha V (pravithavarghese1) said :

thankyou my prob is solved

Revision history for this message
Ken (imkonsultant) said :

how, i am also facing the same problem.

 My environment is:
Code Ver: 6.0.3
OS: Windows
Python: 2.5
Postgres: 8.4

While running from eclipse can not login, receiving "Bad User name and password" and also can't create database, receiving "creating the new database: server crashed ".

Where as i have also installed All in one installer on same machine, that works fine

Different port have been used for OpenERP server(web and application) for "Development" and "All in one installer" but database is same.

One more thing, just to check code changes and its effect, i changed the message

raise security.ExceptionNoTb('Bad username or password')
raise security.ExceptionNoTb('Bad username or password 999')

at line 491 in res_user.py, and executed python run test, server runs but its effect is not visible.

What am i missing.

Need guidance, i am new to openerp and stuck at this point.