durusmail: quixote-users: Ubuntu "Jaunty" Quixote package broken
Ubuntu "Jaunty" Quixote package broken
2009-05-18
2009-05-18
2009-05-18
2009-05-18
2009-05-19
2009-05-19
2009-05-19
2009-05-20
2009-05-19
2009-05-19
using compile_package rather than enable_ptl
2009-05-19
2009-05-19
2009-05-19
2009-05-19
Ubuntu "Jaunty" Quixote package broken
Ian Forbes
2009-05-18
Hi All

Others have reported on the "ihooks" import bug, as well as problems
with mxDatetime. This post relates to those bugs.

I have a site running quixote for some one of our internal applications.
It runs on a Debian box currently running "lenny", which by default
installs python 2.5 and quixote 2.5, so far so good.

I have a desktop machine which runs "Ubuntu" which I have recently
upgraded to "Jaunty". I have a copy of the application installed on this
box for that I user for development. Ubunty Jaunty by default installs
Python 2.6 and Quixote 2.5.

First problem is the "ihooks import bug". The application no longer
works. The work around for this is to include in the appropriate
__init__.py:

  from quixote.ptl import compile_package
  compile_package(__path__)

The problem is that "compile_package" is not present in Quixote 2.5, it
first appeared in Quixote 2.6.

I am not sure if it is a known requirement to upgrade to Quixote 2.6
before installing Python 2.6, but the net result of the above bugs and
workaround implies that this is the case. In the meantime, the default
packages in Ubuntu Jaunty are not useable.

I have also en-counted import errors relating to mxDatetime. I am not
sure if these will go away if the above workaround is in place, or if
users are encountering problems with mxDatetime + Python 2.6 even if
they are not using Quixote.

The work-around seems to be run the application under Python 2.5. (If
anybody can point to simple "Howto" to run a non default version of
Python on Debian or Ubuntu it might save me some time.)

Thanks


Ian

reply