Issue1259

classification
Title: jython 2.5b1 trunk failing manage.py validate
Type: crash Severity: normal
Components: Core Versions: 2.5b1
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: amak, fwierzbicki, heiho1, leosoto, pjenvey
Priority: normal Keywords:

Created on 2009-02-03.07:23:58 by heiho1, last changed 2009-10-20.05:01:06 by pjenvey.

Messages
msg4118 (view) Author: (heiho1) Date: 2009-02-03.07:23:56
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.
msg4293 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-03-14.14:51:35
Leo, any idea what this could be?
msg4650 (view) Author: Leonardo Soto (leosoto) Date: 2009-05-07.03:43:18
I can't reproduce this on my setup. 

heiho1: Can you test it again using the latest beta?
msg4688 (view) Author: Alan Kennedy (amak) Date: 2009-05-15.16:54:16
Ping: please can you test this against the latest release candidate?
msg5244 (view) Author: Philip Jenvey (pjenvey) Date: 2009-10-20.05:01:06
inactive, and more likely a Django or doj bug, closing out. Please reopen 
this if you're still seeing the problem on the latest Jython
History
Date User Action Args
2009-10-20 05:01:06pjenveysetstatus: open -> closed
resolution: invalid
messages: + msg5244
nosy: + pjenvey
2009-05-15 16:54:16amaksetnosy: + amak
messages: + msg4688
2009-05-07 03:43:19leosotosetmessages: + msg4650
2009-03-14 15:01:34fwierzbickisetpriority: normal
2009-03-14 14:51:35fwierzbickisetnosy: + fwierzbicki, leosoto
messages: + msg4293
2009-02-03 07:23:58heiho1create