Hi all, I had taken a class using zope last summer and had worked on a project, on completion of the class, I exported my project folder via the zmi interface. I have tried to load it on to my local zope instance and it does not import. I can import files into it with out a problem, but for some reason the folder does not import, I get a page can not be displayed error. I do not know whta products are missing if any, as fas as the Prof said, the only thing I needed way Mysql installed, which I have and I have linked it to zope. still no luck I have tried inporting it into a different folder adn intot he root directory with no luck. does anyone have any suggestions thanks in advance -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3398691 Sent from the Zope - General forum at Nabble.com.
--On 14. März 2006 07:38:21 -0800 wavemaster2000 <fernand3@fas.harvard.edu> wrote:
Hi all,
I had taken a class using zope last summer and had worked on a project, on completion of the class, I exported my project folder via the zmi interface. I have tried to load it on to my local zope instance and it does not import.
I can import files into it with out a problem, but for some reason the folder does not import, I get a page can not be displayed error. I do not know whta products are missing if any, as fas as the Prof said, the only thing I needed way Mysql installed, which I have and I have linked it to zope.
If there is an error you should find additional information including a traceback in /error_log. You must provide these informations for getting help. -aj ----------------------------------------------------------------------- - Andreas Jung ZOPYX Ltd. & Co KG - - E-mail: info@zopyx.com Web: www.zopyx.com, www.zopyx.de - -----------------------------------------------------------------------
this is what I found on the traceback 2006-03-14T10:42:06 ERROR Zope Could not import Products.ZMySQLDA Traceback (most recent call last): File "C:\Program Files\Zope-2.8.1-final\lib\python\OFS\Application.py", line 695, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ? import DA File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\DA.py", line 92, in ? from db import DB File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\db.py", line 89, in ? import _mysql ImportError: DLL load failed: The specified module could not be found. -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3399075 Sent from the Zope - General forum at Nabble.com.
--On 14. März 2006 07:53:50 -0800 wavemaster2000 <fernand3@fas.harvard.edu> wrote:
this is what I found on the traceback
2006-03-14T10:42:06 ERROR Zope Could not import Products.ZMySQLDA Traceback (most recent call last): File "C:\Program Files\Zope-2.8.1-final\lib\python\OFS\Application.py", line 695, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ? import DA File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\DA.py", line 92, in ? from db import DB File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\db.py", line 89, in ? import _mysql ImportError: DLL load failed: The specified module could not be found.
Well, this message is obvious: you don't have mysql-python installed or the installation is broken. -aj ----------------------------------------------------------------------- - Andreas Jung ZOPYX Ltd. & Co KG - - E-mail: info@zopyx.com Web: www.zopyx.com, www.zopyx.de - -----------------------------------------------------------------------
I had MySQLdb (MySQL for Python) 0.9.1, downloaded another one and will try it out, will post backa s soon as I am done -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3399566 Sent from the Zope - General forum at Nabble.com.
didnt seem to help, I got the same error, I am running python 2.4 and I downloaded and installed Mysql for python 1.20 2006-03-14T11:22:26 ERROR Zope Could not import Products.ZMySQLDA Traceback (most recent call last): File "C:\Program Files\Zope-2.8.1-final\lib\python\OFS\Application.py", line 695, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ? import DA File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\DA.py", line 92, in ? from db import DB File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\db.py", line 89, in ? import _mysql ImportError: DLL load failed: The specified module could not be found. ------ 2006-03-14T11:22:27 INFO Zope Ready to handle requests ------ 2006-03-14T11:22:38 WARNING ZODB Could not import class 'PloneFolder' from module 'Products.CMFPlone.PloneFolder' -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3399845 Sent from the Zope - General forum at Nabble.com.
You're running on Windows? The windows zope installer comes with its own Python. I think you have to make sure that the mysql extension gets installed for the right python. Sorry, I don't run windows so I can't suggest anything more detailed. -PW On Tue, Mar 14, 2006 at 08:28:32AM -0800, wavemaster2000 wrote:
didnt seem to help, I got the same error, I am running python 2.4 and I downloaded and installed Mysql for python 1.20
2006-03-14T11:22:26 ERROR Zope Could not import Products.ZMySQLDA Traceback (most recent call last): File "C:\Program Files\Zope-2.8.1-final\lib\python\OFS\Application.py", line 695, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ? import DA File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\DA.py", line 92, in ? from db import DB File "C:\Program Files\Zope-2.8.1-final\lib\python\Products\ZMySQLDA\db.py", line 89, in ? import _mysql ImportError: DLL load failed: The specified module could not be found. ------ 2006-03-14T11:22:27 INFO Zope Ready to handle requests ------ 2006-03-14T11:22:38 WARNING ZODB Could not import class 'PloneFolder' from module 'Products.CMFPlone.PloneFolder'
-- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3399845 Sent from the Zope - General forum at Nabble.com.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Paul Winkler http://www.slinkp.com
the mysql extension will not see the python in zope, it will only see the python that is installed by it self. -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3401659 Sent from the Zope - General forum at Nabble.com.
participants (3)
-
Andreas Jung -
Paul Winkler -
wavemaster2000