ZODB Components: erp5_configurator: Migrate ERP5Configurator Product to ZODB Components.
Also, move test_data folder to Products.ERP5.tests as this does not need to be in the ZODB.
Showing
File moved
File moved
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File moved
File moved
File moved
File moved
File moved
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
-
Developer
i got this error message when i upgrade my instance:
2020-03-24 16:13:10,881 ERROR Application Couldn't install ERP5Configurator Traceback (most recent call last): File "/srv/slapgrid/slappart91/srv/runner/software/2700680cf45833ae1700f73fd9a00468/eggs/Zope2- 2.13.29-py2.7.egg/OFS/Application.py", line 691, in install_product initmethod(context) File "/srv/slapgrid/slappart91/srv/runner/software/2700680cf45833ae1700f73fd9a00468/parts/erp5/ product/ERP5Configurator/__init__.py", line 61, in initialize File "/srv/slapgrid/slappart91/srv/runner/software/2700680cf45833ae1700f73fd9a00468/parts/erp5/ product/ERP5Type/Utils.py", line 1178, in initializeProduct ).initialize( context ) File "/srv/slapgrid/slappart91/srv/runner/software/2700680cf45833ae1700f73fd9a00468/eggs/Produc ts.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/utils.py", line 566, in initialize icon = self.icon File "/srv/slapgrid/slappart91/srv/runner/software/2700680cf45833ae1700f73fd9a00468/eggs/Zope2- 2.13.29-py2.7.egg/App/ProductContext.py", line 222, in registerClass icon = ImageFile(icon, self.__pack.__dict__) File "/srv/slapgrid/slappart91/srv/runner/software/2700680cf45833ae1700f73fd9a00468/eggs/Zope2- 2.13.29-py2.7.egg/App/ImageFile.py", line 86, in __init__ stat_info = os.stat(path) OSError: [Errno 2] No such file or directory: '/srv/slapgrid/slappart91/srv/runner/software/27006 80cf45833ae1700f73fd9a00468/parts/erp5/product/ERP5Configurator/tool.png'
i don't know if it's important or not. my instance seems work fine
-
Developer
@xiaowu.zhang Did you follow the following procedure: https://nexedi.erp5.net/web_page_module/3487/#procedure-to-upgrade-customer-project
If so, at which step does this happen? Do you have the same problem after doing
git clean -xdf product
? -
Developer
oh, it's because of old .pyc files, thx
-
Developer
@xiaowu.zhang Sorry, I forgot to mention this point in the documentation so I have just added it.
Please register or sign in to comment