[Erp5-users] ERP5 on Ubuntu
Claudius Hamlet
hamletclaud at yahoo.de
Sun Dec 30 09:25:02 CET 2007
Hi!
Following the guidance from Łukasz Nowak on code.google.com I tried to install ERP5 on a AMD64 Ubuntu Gutsy. I did not start out from the Debian packages, though, but worked from the source files that are also available from http://erp5.niema.pl/packages/debian/etch/i386/ (thanks for this collection --- would have been undoable without this). I use that Zope 2.7.8 with the acquisition patch, compiled against gcc-3.3 and running on Python 2.4.4.
From there I used the svn_update.sh script to pull the ERP5 sources from subversion.
This works out resonably well, except that ERP5Form makes trouble (I include the stacktrace below). When I remove ERP5Form from the Products, zope starts up alright and all other products are visible from within the zope management interface. I can't create an ERP5 site, though, as this obviously depends on ERP5Form, and so this is a bit pointless.
Seeing Yusei Tahara's mail on ERP5Form (http://mail.nexedi.com/pipermail/erp5-dev/2007-September/001376.html) I also tried my luck with revision 16490 of that product, but to exactly the same effect.
Any tip on how to get past this (last?) hurdle would be appreciated!
Thanks in advance,
Claudius
---------
ERROR(200) Zope Couldn't install ERP5Form
Traceback (most recent call last):
File "/srv/zope/lib/python/OFS/Application.py", line 751, in install_product
initmethod(context)
File "ZOPE_INSTANCE/Products/ERP5Form/__init__.py", line 162, in initialize
FieldRegistry.initializeFields()
File "ZOPE_INSTANCE/Products/Formulator/FieldRegistry.py", line 72, in initializeFields
field_class.form._realize_fields()
File "ZOPE_INSTANCE/Products/Formulator/Form.py", line 566, in _realize_fields
field = field.get_real_field()
File "ZOPE_INSTANCE/Products/Formulator/DummyField.py", line 36, in get_real_field
(self.id,), self.kw)
File "ZOPE_INSTANCE/Products/Formulator/Field.py", line 27, in __init__
self.initialize_values(kw)
File "ZOPE_INSTANCE/Products/Formulator/Field.py", line 48, in initialize_values
value = dict.get(id, field.get_value('default'))
File "ZOPE_INSTANCE/Products/ERP5Form/Form.py", line 260, in get_value
REQUEST = get_request()
File "ZOPE_INSTANCE/Products/iHotfix/__init__.py", line 118, in get_request
return get_context().request.zope_request
AttributeError: 'NoneType' object has no attribute 'request'
Traceback (most recent call last):
File "/srv/zope/lib/python/Zope/Startup/run.py", line 50, in ?
run()
File "/srv/zope/lib/python/Zope/Startup/run.py", line 19, in run
start_zope(opts.configroot)
File "/srv/zope/lib/python/Zope/Startup/__init__.py", line 52, in start_zope
starter.startZope()
File "/srv/zope/lib/python/Zope/Startup/__init__.py", line 231, in startZope
Zope.startup()
File "/srv/zope/lib/python/Zope/__init__.py", line 47, in startup
_startup()
File "/srv/zope/lib/python/Zope/App/startup.py", line 96, in startup
OFS.Application.initialize(application)
File "/srv/zope/lib/python/OFS/Application.py", line 278, in initialize
initializer.initialize()
File "/srv/zope/lib/python/OFS/Application.py", line 305, in initialize
self.install_products()
File "/srv/zope/lib/python/OFS/Application.py", line 573, in install_products
return install_products(app)
File "/srv/zope/lib/python/OFS/Application.py", line 604, in install_products
folder_permissions, raise_exc=debug_mode)
File "/srv/zope/lib/python/OFS/Application.py", line 751, in install_product
initmethod(context)
File "ZOPE_INSTANCE/Products/ERP5Form/__init__.py", line 162, in initialize
FieldRegistry.initializeFields()
File "ZOPE_INSTANCE/Products/Formulator/FieldRegistry.py", line 72, in initializeFields
field_class.form._realize_fields()
File "ZOPE_INSTANCE/Products/Formulator/Form.py", line 566, in _realize_fields
field = field.get_real_field()
File "ZOPE_INSTANCE/Products/Formulator/DummyField.py", line 36, in get_real_field
(self.id,), self.kw)
File "ZOPE_INSTANCE/Products/Formulator/Field.py", line 27, in __init__
self.initialize_values(kw)
File "ZOPE_INSTANCE/Products/Formulator/Field.py", line 48, in initialize_values
value = dict.get(id, field.get_value('default'))
File "ZOPE_INSTANCE/Products/ERP5Form/Form.py", line 260, in get_value
REQUEST = get_request()
File "ZOPE_INSTANCE/Products/iHotfix/__init__.py", line 118, in get_request
return get_context().request.zope_request
AttributeError: 'NoneType' object has no attribute 'request'
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
More information about the Erp5-users
mailing list