Falcon doesn't work with Django 1.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Falcon |
New
|
Undecided
|
Unassigned | ||
falcon (Ubuntu) |
Invalid
|
High
|
Toby Collett |
Bug Description
Binary package hint: falcon
Runnig falcon in intrepid gives the following error :
Traceback (most recent call last):
File "/usr/bin/
import falcon
File "/usr/lib/
import falcon.config
File "/usr/lib/
class ConfigurationKe
File "/usr/lib/
key = models.
TypeError: __init__() got an unexpected keyword argument 'maxlength'
It's easily fixed replacing "maxlength" by "max_length" as this changed in the new django but with this fix, the application still doesn't start and give the following error I'm unable to fix:
Traceback (most recent call last):
File "/usr/bin/
import falcon
File "/usr/lib/
from django.db import models as _models, get_creation_
ImportError: cannot import name get_creation_module
After some research, this is due to some incompatible changes in django 1.0 :
maxlength => max_length
get_creation_ module( ) => connection.creation
DATA_TYPES => data_types
I'll put a patch as soon as I've tackled all the differences.
I'm now on : falcon- start", line 87, in ? conf.set_ options( options, action!='iso', action) python2. 4/site- packages/ falcon/ config. py", line 180, in set_options init_rootdir( ) python2. 4/site- packages/ falcon/ __init_ _.py", line 146, in init_rootdir disable_ termcolors( ) termcolors'
Traceback (most recent call last):
File "/usr/bin/
falcon.
File "/usr/lib/
falcon.
File "/usr/lib/
management.
AttributeError: 'module' object has no attribute 'disable_
Also reported by a debian user : https:/ /bugs.launchpad .net/ubuntu/ +source/ falcon/ +bug/257304