get_server_environment unstable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Ecuador |
Invalid
|
Undecided
|
Unassigned |
Bug Description
the function get_server_
First when it launches bzr it does not ensure that we are in a valide path.
Then the getdefaultlocale() can return none or crash so the join will not work in any case.
Here is a very little patch.
Greetings
Nicolas
castor:service nbessi$ bzr diff -r1773 web_services.py
=== modified file 'bin/service/
--- bin/service/
+++ bin/service/
@@ -531,8 +531,10 @@
rev_id = os.popen('bzr revision-
except Exception,e:
-
- os_lang = '.'.join(
+ try:
+ os_lang = '.'.join(
+ except Exception,e:
+ os_lang = 'Exception: %s\n' % (str(e))
Changed in openerp-ec: | |
status: | New → Invalid |