Re: [Zope] importing error
this is what I found on the traceback
2006-03-14T10:42:06 ERROR Zope Could not import Products.ZMySQLDA
I don't know if this is the same problem, but I never could import a folder containing a ZMySQLDA object, even if the same package/product versions were installed on both machines. I solved it by removing the ZMySQLDA from the folder, exporting/importing the folder, and recreating the ZMySQLDA. Bert...
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.
--On 14. März 2006 10:01:56 -0800 wavemaster2000 <fernand3@fas.harvard.edu> wrote:
hey Bert, I tried what you suggested and no luck
You should check if there is something like a _mysql.* file ...try to locate it move and try to move it e.g. the lib/python directoy of your Zope installation. -aj ----------------------------------------------------------------------- - Andreas Jung ZOPYX Ltd. & Co KG - - E-mail: info@zopyx.com Web: www.zopyx.com, www.zopyx.de - -----------------------------------------------------------------------
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.
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.
wavemaster2000 wrote:
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
Sounds like a permission problem. Can the user zope is running as (also check your effective-user in zope.conf) read the 'import' directory in your instance home?
View this message in context: http://www.nabble.com/importing-error-t1279324.html#a3404114 Sent from the Zope - General forum at Nabble.com.
WTF is Nabble? *grumbles* ad-ware *grumbles* Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
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.
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.
participants (4)
-
Andreas Jung -
Bert Vanderbauwhede -
Chris Withers -
wavemaster2000