Although I didn't get a single reply from this list, Kjetil was kind enough
to write me. I thougth I'd pass it along.

-----Original Message-----
From: Kjetil Thuen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 22, 2008 4:27 AM
To: [EMAIL PROTECTED]
Subject: bugzilla2trac.py segmentation fault re: _mysql.so

Hi. 

While googling around, trying to figure out how to fix the same issue
you are seeing, I saw your mail to the trac mailinglist at
http://www.gossamer-threads.com/lists/trac/users/36424#36424

I'm replying in private because I cannot be bothered to subscribe to the
list right now :) 

I too was seeing the _mysql.so errors your mention when trying to run
bugzilla2trac.py on an Ubuntu 8.04 box.

It turns out the _mysql stuff is a red herring. I ran the script through
a debugger and the crash happens when trying to write to the trac sqlite
database, not when reading from bugzilla's mysql.

Unfortunately I was not able to work around this in the script. My guess
is that the pysqlite version that comes with Ubuntu Hardy Heron is not
compatible with the bugzilla2trac script.

What I ended up doing was this: First I dumped the entire bugzilla
database to an sqldump file using the mysqldump command. I then
reinserted this dump into a Mysql instance running on an Opensuse box
(in vmware). I then copied my entire /var/lib/trac directory over to the
opensuse box and made sure that trac was installed there. This enabled
me to run the bugzilla2trac script under Opensuse where it works as
advertised. Finally I copied the newly populated trac directory back to
the Ubuntu box.

Not a very elegant procedure, but you will only need to do it once :) I
hope this is of some help.

Feel free to post this to the list if you want to.

-- 
Kjetil Thuen <[EMAIL PROTECTED]>
Norsk Samfunnsvitenskapelig Datatjeneste



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to