ZMysqlDA -3.1 with zope2.12.10 : failure

Help
fred m
2010-08-19
2012-09-19
  • fred m

    fred m - 2010-08-19

    Hello,

    I am currently testing the plone4rc1 release. Plone4RC1 is based on
    zope2-2.12.10-py2.6 .

    I need ZMySQLDA to migrate my former plone3

    specifying the Products.ZMySQLDA egg loads Products.ZMySQLDA-3.1-py2.6.egg .

    The following error is printed when launching zope :

    /opt/p4rc1/buildout-
    cache/eggs/Products.ZMySQLDA-3.1-py2.6.egg/Products/ZMySQLDA/DA.py:243:
    UserWarning: Assuming image location to be present in the Zope2 distribution.
    This is deprecated and might lead to broken code if the directory in question
    is moved to another distribution. Please provide either an absolute file
    system path or a prefix. Support for relative filenames without a prefix might
    be dropped in a future Zope2 release.

    full stack :

    2010-08-19 10:15:35 ERROR Application Could not import Products.ZMySQLDA

    Traceback (most recent call last):

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/OFS/Application.py", line 596,
    in import_product

    product=import(pname, global_dict, global_dict, silly)

    File "/opt/p4rc1/buildout-
    cache/eggs/Products.ZMySQLDA-3.1-py2.6.egg/Products/ZMySQLDA/init.py",
    line 90, in <module>

    import DA

    File "/opt/p4rc1/buildout-
    cache/eggs/Products.ZMySQLDA-3.1-py2.6.egg/Products/ZMySQLDA/DA.py", line 243,
    in <module>

    os.path.join('Shared','DC','ZRDB','www','DBAdapterFolder_icon.gif'))}

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/App/ImageFile.py", line 88, in
    init

    stat_info = os.stat(path)

    OSError: No such file or directory: '/opt/p4rc1/buildout-cache/eggs/Zope2-2.12
    .10-py2.6-linux-i686.egg/Shared/DC/ZRDB/www/DBAdapterFolder_icon.gif'

    Traceback (most recent call last):

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/run.py", line 56,
    in <module>

    run()

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/run.py", line 21,
    in run

    starter.prepare()

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/init.py", line
    87, in prepare

    self.startZope()

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/init.py", line
    264, in startZope

    Zope2.startup()

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/init.py", line 47, in
    startup

    _startup()

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/App/startup.py", line 57,
    in startup

    OFS.Application.import_products()

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/OFS/Application.py", line 573,
    in import_products

    import_product(product_dir, product_name, raise_exc=debug_mode)

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/OFS/Application.py", line 596,
    in import_product

    product=import(pname, global_dict, global_dict, silly)

    File "/opt/p4rc1/buildout-
    cache/eggs/Products.ZMySQLDA-3.1-py2.6.egg/Products/ZMySQLDA/init.py",
    line 90, in <module>

    import DA

    File "/opt/p4rc1/buildout-
    cache/eggs/Products.ZMySQLDA-3.1-py2.6.egg/Products/ZMySQLDA/DA.py", line 243,
    in <module>

    os.path.join('Shared','DC','ZRDB','www','DBAdapterFolder_icon.gif'))}

    File "/opt/p4rc1/buildout-
    cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/App/ImageFile.py", line 88, in
    init

    stat_info = os.stat(path)

    OSError: No such file or directory: '/opt/p4rc1/buildout-cache/eggs/Zope2-2.12
    .10-py2.6-linux-i686.egg/Shared/DC/ZRDB/www/DBAdapterFolder_icon.gif'

     
  • Sylvain Viollon

    Sylvain Viollon - 2010-08-23

    Hello,

    I have the same issue. It would be nice to have a bug fix release that include
    the icon in its distribution.

    Regards,

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks