Hi: Everytime I try to install ZMySQLDA I get the following error: Traceback (most recent call last): File "/var/www/zope/lib/python/OFS/Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/var/www/zope/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/var/www/zope/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/var/www/zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: No module named _mysql Can anybody assist me. Thanks, Todd
On 2/7/02 5:28 pm, "Todd Loomis, DMSO {SAIC}" <tloomis@dmso.mil> wrote:
Hi:
Everytime I try to install ZMySQLDA I get the following error:
Traceback (most recent call last): File "/var/www/zope/lib/python/OFS/Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/var/www/zope/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/var/www/zope/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/var/www/zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: No module named _mysql
Can anybody assist me.
Thanks, Todd
ZMySQLDA needs the python MySQL module installed. You'll need to get the source for mysql-python from http://sourceforge.net/projects/mysql-python and compile it up. I lie. Andy has a few .exes and .rpms there - us old timers are too used to the ./configure make make install dance. Time to drag me out and shoot this 'ole dawg... Hth Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
/me volunteers to do the shooting ;) btw long time no hear from Tone, how's things? On Tue, 02 Jul 2002 17:45:36 +0100 Tony McDonald <tony.mcdonald@ncl.ac.uk> wrote:
On 2/7/02 5:28 pm, "Todd Loomis, DMSO {SAIC}" <tloomis@dmso.mil> wrote:
Hi:
Everytime I try to install ZMySQLDA I get the following error:
Traceback (most recent call last): File "/var/www/zope/lib/python/OFS/Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/var/www/zope/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/var/www/zope/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/var/www/zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: No module named _mysql
Can anybody assist me.
Thanks, Todd
ZMySQLDA needs the python MySQL module installed. You'll need to get the source for mysql-python from http://sourceforge.net/projects/mysql-python and compile it up. I lie. Andy has a few .exes and .rpms there - us old timers are too used to the ./configure make make install dance. Time to drag me out and shoot this 'ole dawg...
Hth Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On 3/7/02 9:18 am, "Phil Harris" <phil@harris-family.info> wrote:
/me volunteers to do the shooting
He got me!
;)
btw long time no hear from Tone, how's things?
(replies to list as some of this might be interesting to them) Loads of Zope work, upgrading servers to 2.5.1/python 2.1.3, and therein lies a tale. You might have seen the interchanges on the list between fearless Paul Browning, magic Matt Hamilton and I about threading on Solaris http://www.zope.org/Members/glpb/news2 Upshot there is that Python is not very happy on multiprocessors - hence I'm using the 'pbind' (solaris) command to allocate a processor to a particular Zope process. This has seriously made me look at Apple Xserve boxes (you know I have a penchant for the kind of stuff they make :) and the anguish from Bristol (PB's lair - a big solaris shop) has been heard all the way to the northeast! Positive aspect of 2.5.1/2.1.3 is that our systems are much more stable, but I have a weird problem re:sessions that even has ChrisMcD baffled! (puffs out chest). I'm moving our team onto PageTemplates. People are taking to it very well, the main problem seems to be translating the <dtml-if> ... <dtml-else> ... </dtml-if> idiom into PageTemplates. I guess the standard reply is a python script. I've been adding snippets to www.zopelabs.com in the PageTemplates area (for those who don't know, ZopeLabs has *loads* of Zope tips and snippets of code). This is *heavily* outweighed by the flexibility you get with macros - we have a site (not available publicly yet, but will be) where the content is the same, we just make various wrappers around it dependant on whether you have a style-sheet capable browser, want bigger text etc. Obviously, you can do this in DTML, it's just that PT and Macros make is *sooo* easy! People say PT is slow - I've not noticed anything, but then I'm on slowlaris :) Hope things are well down there, Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
participants (3)
-
Phil Harris -
Todd Loomis, DMSO {SAIC} -
Tony McDonald