All Right. It seems to be a problem somewhere else:
Both, localy and on server I run python 2.5. It looks like, that
diamanda installation procedure is calling older python version
2.4.... ??? Is it possible?
sample:
[EMAIL PROTECTED] raw]$ python manage.py syncdb
[EMAIL PROTECTED] raw]$ cd ..
[EMAIL PROTECTED] django_current_python_25]$ export
DJANGO_SETTINGS_MODULE=raw.settings
[EMAIL PROTECTED] django_current_python_25]$ export PYTHONPATH=$PWD
[EMAIL PROTECTED] django_current_python_25]$ django-admin.py syncdb
Traceback (most recent call last):
File "/home2/zehi/bin/django-admin.py", line 5, in ?
management.execute_from_command_line()
File "/home2/zehi/lib/python2.4/django/core/management.py", line
1238, in execute_from_command_line
translation.activate('en-us')
File "/home2/zehi/lib/python2.4/django/utils/translation/
trans_real.py", line 195, in activate
_active[currentThread()] = translation(language)
File "/home2/zehi/lib/python2.4/django/utils/translation/
trans_real.py", line 184, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/home2/zehi/lib/python2.4/django/utils/translation/
trans_real.py", line 169, in _fetch
app = __import__(appname, {}, {}, [])
ImportError: No module named wiki
It's over my head yet. Somebody has experience with that?
On Mar 8, 11:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Go to your database in phpmyadmin or something and see what that field
> is doing. I don't think it's set up to insert the default value of 0
>
> I grabbed the code for Myghtyboard right when it was first released
> and have modded almost all of it by now, but that line is exactly the
> same in mine. I think the problem is in your DB. Why, I'm not sure.
>
> On Mar 8, 3:39 pm, "zehi" <[EMAIL PROTECTED]> wrote:
>
> > What do you exactly mean by saying: "Did you alter the db so it would
> > allow that field to be null?"
>
> > I returned to previous version without "null=True", syncdb, but still
> > same... :-(
>
> > I have downloaded code today. Is it possible, that thre would be some
> > little bug currently? Does somebody tried recently?
>
> > Thanks for any idea.
>
> > On Mar 8, 6:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > Did you alter the db so it would allow that field to be null? Better
> > > yet, now that I look at it.. forget making it null. Make sure it's
> > > defaulting to 0, like it's supposed to.
>
> > > On Mar 8, 11:08 am, "zehi" <[EMAIL PROTECTED]> wrote:
>
> > > > HI baxter,
>
> > > > I did exactly as you proposed, but the result is unfortunately the
> > > > same.
>
> > > > I've even created fresh database, but when I go to Admin, create the
> > > > new category and then trying to add new Forum and getting the same
> > > > error page saying as above...
>
> > > > Some other idea, what could cause the problem?
>
> > > > Thank you.
>
> > > > On Mar 8, 3:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > I've never seen it, so I'm just speculating here, but I think it's
> > > > > throwing a wobbly cause you don't have any topics in the forum yet.
> > > > > Looking at the source, I see:
> > > > > class Forum(models.Model):
> > > > > ...
> > > > > forum_topics = models.PositiveIntegerField(default='0', blank=True,
> > > > > verbose_name=_("Topics")) # number of topics
>
> > > > > I think if you add null=True there (and update the DB to match) you
> > > > > should be OK.
>
> > > > > On Mar 8, 5:08 am, "zehi" <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi,
>
> > > > > > I downloaded diamanda fro google.code and followed instructions
> > > > > > at:http://diamanda.googlecode.com/svn/trunk/README.TXT
>
> > > > > > Everything works just fine, I have anly problem with 'Add Forum'.
>
> > > > > > I am getting the following error message:
>
> > > > > > IntegrityError at /admin/myghtyboard/forum/add/
> > > > > > myghtyboard_forum.forum_topics may not be NULL
> > > > > > Request Method: POST
> > > > > > Request URL: http://127.0.0.1:8000/admin/myghtyboard/forum/add/
> > > > > > Exception Type: IntegrityError
> > > > > > Exception Value: myghtyboard_forum.forum_topics may not be
> > > > > > NULL
> > > > > > Exception Location:
> > > > > > /Library/Frameworks/Python.framework/Versions/2.5/
> > > > > > lib/python2.5/site-packages/django/db/backends/sqlite3/base.py in
> > > > > > execute, line 92
>
> > > > > > The question is: what couse the problem?
>
> > > > > > Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---