I sent this the other day with no replies. I'm really stuck on this as I
know nothing about Python and just simply want to get off of bugzilla too
and stop paying for our hosting service. I have been trying various things
like removing the _mysql.so files in 2.4 and even peeked at the .py code but
I got bupkiss. Help. :(

-----------------------------------------------------------
This is a stock Ubuntu 8.04 server install.

I downloaded the bugzilla2trac.py script from your wiki site.
http://bitten.edgewall.org/wiki/TracImport

I had to apt-get install some python mysql thing (that was never explained
in the docs or mentioned as a pre-requisite)

I have the bugzilla database in mysql and that is working fine.

# bugzilla2trac.py --db bugzilla --tracenv /var/local/trac/trac.yousport.com
--clean

Using Bugzilla v2180 schema.
Bugzilla MySQL('bugzilla':'':'':''): connecting...
Trac SQLite('/var/local/trac/trac.yousport.com'): connecting...
/var/lib/python-support/python2.5/trac/loader.py:28: UserWarning: Module
_mysql was already imported from
/var/lib/python-support/python2.5/_mysql.so, but
/var/lib/python-support/python2.5 is being added to sys.path
  import pkg_resources
Segmentation fault

# locate _mysql.so
/usr/lib/php5/20060613+lfs/pdo_mysql.so
/usr/lib/python-support/python-mysqldb/python2.4/_mysql.so
/usr/lib/python-support/python-mysqldb/python2.5/_mysql.so
/var/lib/python-support/python2.4/_mysql.so
/var/lib/python-support/python2.5/_mysql.so

# ldd /usr/local/bin/bugzilla2trac.py
not a dynamic executable

# head -1 /usr/local/bin/bugzilla2trac.py #!/usr/bin/env python

# ls -l `which python`
lrwxrwxrwx 1 root root 9 2008-04-24 21:16 /usr/bin/python -> python2.5



--~--~---------~--~----~------------~-------~--~----~
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