Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: DB

what is Inappropriate file type -- trying to install ZMySQLDA

 

 

Zope db RSS feed   Index | Next | Previous | View Threaded


dkurtz at quinn

Mar 8, 2007, 3:13 PM

Post #1 of 2 (1326 views)
Permalink
what is Inappropriate file type -- trying to install ZMySQLDA

I'm having trouble getting ZMySQLDA to install. Here's what I did:

(1) Installed MySQL-python-1.2.2 using the same python my Zope instance is using
(2) Dropped ZMySQLDA into my Instance/Products/ directory
(3) Restarted Zope, and here's the message I'm now getting:

2007-03-08T15:03:44 ERROR Zope Couldn't install ZMySQLDA
Traceback (most recent call last):
File "/Applications/Plone-2.5.2/lib/python/OFS/Application.py", line 755, in
install_product
global_dict, global_dict, silly)
File "/Applications/Plone-2.5.2/Instance/Products/ZMySQLDA/__init__.py", line
91, in ?
import DA
File "/Applications/Plone-2.5.2/Instance/Products/ZMySQLDA/DA.py", line 92, in ?
from db import DB
File "/Applications/Plone-2.5.2/Instance/Products/ZMySQLDA/db.py", line 89, in ?
import _mysql
File "build/bdist.macosx-10.3-i386/egg/_mysql.py", line 7, in ?
File "build/bdist.macosx-10.3-i386/egg/_mysql.py", line 6, in __bootstrap__
ImportError: Inappropriate file type for dynamic loading


Other possibly relevant info:

Zope Version
(Zope 2.9.6-final, python 2.4.4, darwin)

Python Version
2.4.4 (#1, Jan 26 2007, 14:49:02) [GCC 4.0.1 (Apple Computer, Inc. build 5341)]

System Platform
darwin

SOFTWARE_HOME
/Applications/Plone-2.5.2/lib/python

ZOPE_HOME
/Applications/Plone-2.5.2

INSTANCE_HOME
/Applications/Plone-2.5.2/Instance

CLIENT_HOME
/Applications/Plone-2.5.2/Instance/var

_______________________________________________
Zope-DB mailing list
Zope-DB[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-db


dieter at handshake

Mar 9, 2007, 11:48 PM

Post #2 of 2 (1240 views)
Permalink
Re: what is Inappropriate file type -- trying to install ZMySQLDA [In reply to]

David Kurtz wrote at 2007-3-8 23:13 +0000:
> ...
> import _mysql
> File "build/bdist.macosx-10.3-i386/egg/_mysql.py", line 7, in ?
> File "build/bdist.macosx-10.3-i386/egg/_mysql.py", line 6, in __bootstrap__
>ImportError: Inappropriate file type for dynamic loading

An "inappropriate file type for dynamic loading" is e.g.
a file which does not contain a shared object.



--
Dieter
_______________________________________________
Zope-DB mailing list
Zope-DB[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-db

Zope db RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.