Get objects from ZODB into MySQL

2009-04-27 Thread TheIvIaxx
Hello, I have searched for some solution to getting the object data from a ZODB Data.fs file into something i can work with for MySQL. So far, no such luck. I can open the DB and poke around, but im not sure where or what to even poke :) It was a simple plone site, with mainly Pages/Documents

lxml.etree error: xmlSchematronSetValidStructuredErrors

2008-12-10 Thread TheIvIaxx
I have installed libxml2 and libxslt and then tried to install lxml with easy_install lxml. I can import lxml by import lxml but trying from lxml import etree and get: ImportError: /usr/local/lib/python2.5/site-packages/lxml-2.2alpha1- py2.5-linux-i686.egg/lxml/etree.so: undefined symbol:

Re: lxml.etree error: xmlSchematronSetValidStructuredErrors

2008-12-10 Thread TheIvIaxx
nvm, i got it working. Checking the docs for libxsltmod i was given the tip to add: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib -- http://mail.python.org/mailman/listinfo/python-list

MySQLdb + AMD64

2008-09-09 Thread TheIvIaxx
After searching around for a bit for a build of MySQLdb, i have found that i will probably need to build the module for AMD64 on windows. Is there a guide or something that shows what needs to be done to build a module for a certain architecture? Thanks --

Re: python-ldap - Operations Error

2008-04-24 Thread theiviaxx
Thanks for the help guys, it works! I used the ldap.set_option(ldap.OPT_REFERRALS, 0) from http://peeved.org/blog/2007/11/20/ immedialtey after import, then did the initialize trace_level=2 and did the simple_bind_s. I was able to search and get the results. That trace_level thing is nice, i'm

python-ldap - Operations Error

2008-04-23 Thread theiviaxx
Hello all, I am trying to integrate TurboGears with our Active Directory here at the office. TurboGears aside, i cannot get this to work. The simplest thing i can do to test this is: import ldap l = ldap.initialize(ldap://server.net;) l.simple_bind(DN, secret) 1 l.result(1) (97, [])

Re: python-ldap - Operations Error

2008-04-23 Thread theiviaxx
Thanks for that last link, i'll try that tomorrow :) As for the tgolden modules, i will use that in a pinch, but it means our server has to be a windows box. just trying to keep this as open as possible :) Thanks again -- http://mail.python.org/mailman/listinfo/python-list