Message4118

Author heiho1
Recipients heiho1
Date 2009-02-03.07:23:56
SpamBayes Score 3.4224133e-06
Marked as misclassified No
Message-id <1233645838.53.0.343369799886.issue1259@psf.upfronthosting.co.za>
In-reply-to
Content
Hello,

I am testing a port of our Django application to run on Django on
Jython.  I have the following system info:

"""
flicktribe@flicktribe:~/dev/flicktribe$ uname -r
2.6.24-19-xen
flicktribe@flicktribe:~/dev/flicktribe$ java -version
java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build 1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)
"""

Jython version:

Jython 2.5b1+ (trunk:6006, Feb 3 2009, 05:59:36)

I am able to install Django-1.0.2-final, doj and all other python
libraries with no problems but I get the following failure running
`jython ./manage.py validate`:

"""
Traceback (most recent call last):
  File "./manage.py", line 11, in <module>
    execute_manager(settings)
  File
"/opt/jython/Lib/site-packages/django/core/management/__init__.py", line
340, in execute_manager
    utility.execute()
  File
"/opt/jython/Lib/site-packages/django/core/management/__init__.py", line
295, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/jython/Lib/site-packages/django/core/management/base.py",
line 192, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/opt/jython/Lib/site-packages/django/core/management/base.py",
line 210, in execute
    translation.activate('en-us')
  File "/opt/jython/Lib/site-packages/django/core/management/base.py",
line 210, in execute
    translation.activate('en-us')
  File
"/opt/jython/Lib/site-packages/django/utils/translation/__init__.py",
line 73, in activate
    return real_activate(language)
  File
"/opt/jython/Lib/site-packages/django/utils/translation/__init__.py",
line 43, in delayed_loader
    return g['real_%s' % caller](*args, **kwargs)
  File
"/opt/jython/Lib/site-packages/django/utils/translation/trans_real.py",
line 209, in activate
    _active[currentThread()] = translation(language)
  File
"/opt/jython/Lib/site-packages/django/utils/translation/trans_real.py",
line 198, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File
"/opt/jython/Lib/site-packages/django/utils/translation/trans_real.py",
line 181, in _fetch
    app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]),
appname[p+1:])
AttributeError: 'javapackage' object has no attribute 'caching'
"""

I believe that the failure is around the loading of doj backends.
History
Date User Action Args
2009-02-03 07:23:58heiho1setrecipients: + heiho1
2009-02-03 07:23:58heiho1setmessageid: <1233645838.53.0.343369799886.issue1259@psf.upfronthosting.co.za>
2009-02-03 07:23:58heiho1linkissue1259 messages
2009-02-03 07:23:57heiho1create