Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
django-admin.py test
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aljoša Mohorović  
View profile  
 More options Mar 22 2012, 8:30 am
From: Aljoša Mohorović <aljosa.mohoro...@gmail.com>
Date: Thu, 22 Mar 2012 13:30:50 +0100
Local: Thurs, Mar 22 2012 8:30 am
Subject: django-admin.py test

everything looks ok but starts failing after it creates tables and
starts handling fixtures.
attached file is full output of "django-admin.py test"

$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)

$ jython --version
Jython 2.5.2

$ pip freeze
Django==1.3.1
distribute==0.6.19
ibm-db-django==1.0.3
wsgiref==0.1.2

$ django-admin.py test
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Installing custom SQL ...
Installing indexes ...
No fixtures found.
....Problem installing fixture
'/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/django/contrib/auth/ fixtures/authtestdata.json':
Traceback (most recent call last):
  File "/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/django/core/manageme nt/commands/loaddata.py",
line 174, in handle
    obj.save(using=using)
  File "/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/django/core/serializ ers/base.py",
line 165, in save
    models.Model.save_base(self.object, using=using, raw=True)
  File "/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/django/db/models/bas e.py",
line 521, in save_base
    if (force_update or (not force_insert and
  File "/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/django/db/models/que ry.py",
line 496, in exists
    return self.query.has_results(using=self.db)
  File "/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/django/db/models/sql /query.py",
line 424, in has_results
    return bool(compiler.execute_sql(SINGLE))
  File "/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/django/db/models/sql /compiler.py",
line 742, in execute_sql
    return cursor.fetchone()
  File "/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/ibm_db_django/jybase .py",
line 119, in fetchone
    return self._fix_return_data_type( row )
  File "/home/aljosa/Projects/<PROJECT>/env/Lib/site-packages/ibm_db_django/jybase .py",
line 145, in _fix_return_data_type
    row = list( row )
TypeError: 'NoneType' object is not iterable

  out.txt
222K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rahul  
View profile  
 More options Mar 22 2012, 12:44 pm
From: Rahul <rahul.priyadar...@in.ibm.com>
Date: Thu, 22 Mar 2012 09:44:00 -0700 (PDT)
Subject: Re: django-admin.py test
The error you are getting because your Django version is 1.3.x but
currently ibm_db_django only supports Django v1.0.x and v1.1.x on
Jython.

Thanks,
Rahul Priyadarshi

On Mar 22, 5:30 pm, Aljoša Mohorović <aljosa.mohoro...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »