Re: [Zope] importing error

2006-03-15 Thread Chris Withers

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

___
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

2006-03-15 Thread wavemaster2000

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

2006-03-15 Thread wavemaster2000

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 )


Re: [Zope] importing error

2006-03-14 Thread Andreas Jung



--On 14. März 2006 07:38:21 -0800 wavemaster2000 
[EMAIL PROTECTED] 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 JungZOPYX Ltd.  Co KG-
 -   E-mail: [EMAIL PROTECTED]   Web: www.zopyx.com, www.zopyx.de -
  ---


pgpKVgpdwl7C3.pgp
Description: PGP signature
___
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

2006-03-14 Thread wavemaster2000

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

2006-03-14 Thread Andreas Jung



--On 14. März 2006 07:53:50 -0800 wavemaster2000 
[EMAIL PROTECTED] 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 JungZOPYX Ltd.  Co KG-
 -   E-mail: [EMAIL PROTECTED]   Web: www.zopyx.com, www.zopyx.de -
  ---


pgpplUCwiYJep.pgp
Description: PGP signature
___
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

2006-03-14 Thread wavemaster2000

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

2006-03-14 Thread wavemaster2000

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

2006-03-14 Thread Paul Winkler
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
___
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

2006-03-14 Thread Bert Vanderbauwhede
 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...
___
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

2006-03-14 Thread wavemaster2000



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

2006-03-14 Thread wavemaster2000

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

2006-03-14 Thread Andreas Jung



--On 14. März 2006 10:01:56 -0800 wavemaster2000 
[EMAIL PROTECTED] 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 JungZOPYX Ltd.  Co KG-
 -   E-mail: [EMAIL PROTECTED]   Web: www.zopyx.com, www.zopyx.de -
  ---


pgpNLmhEXNmHT.pgp
Description: PGP signature
___
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

2006-03-14 Thread wavemaster2000

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

2006-03-14 Thread wavemaster2000

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 )