[Zope] importing error
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. ___ 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 )
Re: [Zope] importing error
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. ___ 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 )
Re: [Zope] importing error
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. ___ 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 )
Re: [Zope] importing error
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 )
Re: [Zope] importing error
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. ___ 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 )
Re: [Zope] importing error
hey Bert, I tried what you suggested and no luck -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3401665 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 )
Re: [Zope] importing error
these are the files that I had copied into C:\Program Files\Zope-2.8.1-final/lib/python/ MySQLdb _mysql.pyd _mysql.exceptions.py _mysql.exceptions.pyc and ZMySQLDA to: C:\Program Files\Zope-2.8.1-final/lib/python/Products/ -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3401965 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 )
Re: [Zope] importing error
I have reinstalled zope, but now when I try to import, the files in the import folder dont show up in the drop down box, the box does not show up, I know there somethign you have to do to get zope initialize importing stuff, but I cant remember what exactly it is -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3404114 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 )
Re: [Zope] importing error
found the problem with the permissions, but still no luck. I have found 2 web papges that was kinda helpful http://www.devshed.com/c/a/Zope/Zope-And-MySQL/2/ and http://www.transana.org/developers/setup/MySQLPython_Win_MU.htm for the later one, I installed mysql4.1.14, but the file that they said to copy, the lib one wasnt availlable, but I edited the setup.py and everything compiled I think, how ever I get an error message saying that the script was compliled using microsoft visual 6, and I need some extensions so thats my new problem I know there isnt much support for winxp out there, if I get it to work, I intend to document it. thanks -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3417282 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 )
Re: [Zope] importing error
I have now installed visual studio express 6, in the compiler dos promt, i type in the setup.py build, it still gives me that same error -- View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3420331 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 )
[Zope] setup.py build
hey I am trying to setup a connection between python and mysql, trying to get a connection for zope. I get this error on building C:\Program Files\Zope-2.9.1\lib\python\Products\MySQL-python-1.2.0>setup.py buil d running build running build_py creating build creating build\lib.win32-2.4 copying _mysql_exceptions.py -> build\lib.win32-2.4 creating build\lib.win32-2.4\MySQLdb copying MySQLdb\__init__.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\converters.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\connections.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\cursors.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\sets.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\times.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\stringtimes.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\mxdatetimes.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\pytimes.py -> build\lib.win32-2.4\MySQLdb creating build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\__init__.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\CR.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\ER.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\FLAG.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\REFRESH.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\CLIENT.py -> build\lib.win32-2.4\MySQLdb\constants running build_ext building '_mysql' extension creating build\temp.win32-2.4 creating build\temp.win32-2.4\Release C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\Python24\include -IC:\Python24\PC /Tc_mysql.c /Fobuild\temp.wi n32-2.4\Release\_mysql.obj cl : Command line warning D9035 : option 'GX' has been deprecated and will be re moved in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' _mysql.c c:\python24\include\pyconfig.h(130) : fatal error C1083: Cannot open include fil e: 'basetsd.h': No such file or directory error: command '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.exe"' fail ed with exit status 2 C:\Program Files\Zope-2.9.1\lib\python\Products\MySQL-python-1.2.0>setup.py buil d running build running build_py creating build creating build\lib.win32-2.4 copying _mysql_exceptions.py -> build\lib.win32-2.4 creating build\lib.win32-2.4\MySQLdb copying MySQLdb\__init__.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\converters.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\connections.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\cursors.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\sets.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\times.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\stringtimes.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\mxdatetimes.py -> build\lib.win32-2.4\MySQLdb copying MySQLdb\pytimes.py -> build\lib.win32-2.4\MySQLdb creating build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\__init__.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\CR.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\ER.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\FLAG.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\REFRESH.py -> build\lib.win32-2.4\MySQLdb\constants copying MySQLdb\constants\CLIENT.py -> build\lib.win32-2.4\MySQLdb\constants running build_ext building '_mysql' extension Traceback (most recent call last): File "C:\Program Files\Zope-2.9.1\lib\python\Products\MySQL-python-1.2.0\setup .py", line 153, in ? setup(**metadata) File "C:\Python24\lib\distutils\core.py", line 149, in setup dist.run_commands() File "C:\Python24\lib\distutils\dist.py", line 946, in run_commands self.run_command(cmd) File "C:\Python24\lib\distutils\dist.py", line 966, in run_command cmd_obj.run() File "C:\Python24\lib\distutils\command\build.py", line 112, in run self.run_command(cmd_name) File "C:\Python24\lib\distutils\cmd.py", line 333, in run_command self.distribution.run_command(command) File "C:\Python24\lib\distutils\dist.py", line 966, in run_command cmd_obj.run() File "C:\Python24\lib\distutils\command\build_ext.py", line 279, in run self.build_extensions() File "C:\Python24\lib\distutils\command\build_ext.py", line 405, in build_exte nsions self.build_extension(ext) File "C:\Python24\lib\distutils\command\build_ext.py", line 470, in build_exte nsion depends=ext.depends) File "C:\Python24\lib\distutils\msvccompiler.py", line 309, in compile depends, extra_postargs) File "C:\Python24\lib\distutils\ccompiler.py", line 363, in _setup_compile raise TypeError, \ TypeError: 'include_dirs' (if supplied) must be a list of strings -- View this message in context: http://www.nabble.com/set
[Zope] files for xp
does any one have the required build for the mysql-python connection for zope on windows. I have been trying for the last 2 weeks and close to giving up, if some one has zmysql working on xp, please let meknow how to get this done. I have tried all of these links but havnt had no luck http://www.devshed.com/c/a/Zope/Zope-And-MySQL/2/ http://www.transana.org/developers/setup/MySQLPython_Win_MU.htm http://mail.python.org/pipermail/python-list/2004-December/255184.html http://www.zope.org/Members/alanpog/zmysqlda_steps please help thanks -- View this message in context: http://www.nabble.com/files-for-xp-t1315165.html#a3506041 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 )
[Zope] error while importing
I am trying to import a .zexp folder into zope, i get the object is broken message, I have the zmysqldb connection there, i thought this was what it needed but apparently not. bellow is the traceback 2006-03-21T10:52:49 WARNING ZODB Could not import class 'PloneFolder' from module 'Products.CMFPlone.PloneFolder' -- 2006-03-21T10:52:49 ERROR Zope.SiteErrorLog http://140.247.43.178:8080/test/manage_importObject Traceback (most recent call last): File "C:\Program Files\Zope-2.9.1\lib\python\ZPublisher\Publish.py", line 114, in publish request, bind=1) File "C:\Program Files\Zope-2.9.1\lib\python\ZPublisher\mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "C:\Program Files\Zope-2.9.1\lib\python\ZPublisher\Publish.py", line 40, in call_object result=apply(object,args) # Type s to step into published object. File "C:\Program Files\Zope-2.9.1\lib\python\OFS\ObjectManager.py", line 585, in manage_importObject set_owner=set_owner) File "C:\Program Files\Zope-2.9.1\lib\python\OFS\ObjectManager.py", line 604, in _importObjectFromFile if verify: self._verifyObjectPaste(ob, validate_src=0) File "C:\Program Files\Zope-2.9.1\lib\python\OFS\CopySupport.py", line 527, in _verifyObjectPaste action = 'manage_main') -- View this message in context: http://www.nabble.com/error-while-importing-t1318120.html#a3514974 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 )
Re: [Zope] error while importing
the bottom of the traceback was html code, I have added it to the original post -- View this message in context: http://www.nabble.com/error-while-importing-t1318120.html#a3516745 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 )