It wasn't installed, so i did an apt-get install of "python2.4-mysqldb" since I'm using pythoon 2.4.
- Far On 5/9/07, Philip Neustrom <[EMAIL PROTECTED]> wrote: > What version of MySQLdb are you using? --philip > > > On 5/9/07, Far McKon <[EMAIL PROTECTED]> wrote: > > > > I'm grinding through an install, and up utlil now it's been easy, but > > I hit a snag. > > > > > > I'm at the 'python buildDB.py' stage, and I'm using sapling, without > > memcached and without xapian. I'll add those later. I'm using MySQL as > > the database. > > > > Help! When running 'python buildDB.py' I get the below error. > > > > - Far > > > > ------------- Error log > > [EMAIL PROTECTED]:/hosted/sapling_base/Sycamore$ sudo python buildDB.py > > creating tables.. > > Traceback (most recent call last): > > File "buildDB.py", line 653, in ? > > create_tables(cursor) > > File "buildDB.py", line 54, in create_tables > > cursor.execute("""create table curPages > > File "/hosted/sapling_base/Sycamore/wikidb.py", line > 127, in execute > > self.db.db = real_connect() > > File "/hosted/sapling_base/Sycamore/wikidb.py", line > 231, in real_connect > > db = dbapi.connect(**d) > > File "/hosted/sapling_base/Sycamore/support/pool.py", > line 236, in connect > > return self.get_pool(*args, **params).connect() > > File "/hosted/sapling_base/Sycamore/support/pool.py", > line 88, in connect > > agent = ConnectionFairy(self) > > File "/hosted/sapling_base/Sycamore/support/pool.py", > line 105, in __init__ > > self.connection = pool.get() > > File "/hosted/sapling_base/Sycamore/support/pool.py", > line 171, in get > > return self._creator() > > File "/hosted/sapling_base/Sycamore/support/pool.py", > line 225, in <lambda> > > pool = self.poolclass(lambda: self.module.connect(*args, > > **params), **self.params) > > File > "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", > line > > 66, in Connect > > return Connection(*args, **kwargs) > > File > "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", > line > > 134, in __init__ > > super(Connection, self).__init__(*args, **kwargs2) > > TypeError: 'charset' is an invalid keyword argument for this function > > _______________________________________________ > > Sycamore-Dev mailing list > > [EMAIL PROTECTED] > > http://www.projectsycamore.org/ > > https://tools.cernio.com/mailman/listinfo/sycamore-dev > > > > > _______________________________________________ > Sycamore-Dev mailing list > [EMAIL PROTECTED] > http://www.projectsycamore.org/ > https://tools.cernio.com/mailman/listinfo/sycamore-dev > > _______________________________________________ Sycamore-Dev mailing list [EMAIL PROTECTED] http://www.projectsycamore.org/ https://tools.cernio.com/mailman/listinfo/sycamore-dev