I think my steps will work but I am getting some errors that have blocked
progress:
# python pre.py -d terp -r postgres
Traceback (most recent call last):
File "pre.py", line 164, in <module>
cr.execute('ALTER TABLE res_currency_rate ADD rate_old NUMERIC(12,6)')
psycopg.ProgrammingError: ERROR: relation "res_currency_rate" does not exist
ALTER TABLE res_currency_rate ADD rate_old NUMERIC(12,6)
### perhaps the script should check if the table exists before trying to alter
it.
===============================================================
# su postgres
$ python ./tinyerp-server.py -d terp --update=all
...
lots of updating
...
AND THEN IT DIES...
Sun, 19 Aug 2007 22:16:45 INFO:init:addon:account:loading
account_invoice_view.xml
Sun, 19 Aug 2007 22:16:46 INFO:init:addon:account:loading account_report.xml
Sun, 19 Aug 2007 22:16:46 INFO:init:
<report>
Traceback (most recent call last):
File "./tinyerp-server.py", line 172, in <module>
pooler.get_db_and_pool(tools.config['db_name'], update_module=True)
File "/usr/lib/python2.5/site-packages/tinyerp-server/pooler.py", line 53, in
get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/lib/python2.5/site-packages/tinyerp-server/addons/__init__.py",
line 275, in load_modules
load_module_graph(cr, graph, status, report=report)
File "/usr/lib/python2.5/site-packages/tinyerp-server/addons/__init__.py",
line 222, in load_module_graph
tools.convert_xml_import(cr, m, tools.file_open(opj(m, filename)).read(),
idref, mode=mode, **kwargs)
File "/usr/lib/python2.5/site-packages/tinyerp-server/tools/convert.py", line
663, in convert_xml_import
obj.parse(xmlstr)
File "/usr/lib/python2.5/site-packages/tinyerp-server/tools/convert.py", line
587, in parse
self._tags[rec.nodeName](self.cr, rec, n)
File "/usr/lib/python2.5/site-packages/tinyerp-server/tools/convert.py", line
234, in _tag_report
sxw_content = misc.file_open(rec.getAttribute('sxw')).read()
File "/usr/lib/python2.5/site-packages/tinyerp-server/tools/misc.py", line
194, in file_open
raise IOError, 'File not found : '+str(name)
IOError: File not found :
/usr/lib/python2.5/site-packages/tinyerp-server/addons/account/report/rappel.sxw
### all we have for ...report/rappel* is:
rappel.py
rappel.pyc
rappel.pyo
rappel.rml
### so why is it looking for rappel.sxw ?
===============================================================
Anyone know how to get by this problem? I do not just want to run other
scripts since I do not know how far the first update actually got.
Gerry
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users