Hi guys,

I'm getting a weird error when trying to post a message to my OSQA installation (this is a fresh installation - no messages are in there yet).

c:\\inetpub\\wwwroot\\asktecheyenet\\forum\\modules\\__init__.py TIME: 2010-09-06 17:01:41,842 MSG: __init__.py:get_modules_script:35 Error importing urls from module forum_modules.sximporter: 
 Traceback (most recent call last):
  File "C:/inetpub/wwwroot/asktecheyenet\\forum\\modules\\__init__.py", line 28, in get_modules_script
    all.append(__import__('%s.%s' % (m.__name__, script_name), globals(), locals(), [m.__name__]))
  File "C:/inetpub/wwwroot/asktecheyenet\\forum_modules\\sximporter\\urls.py", line 5, in <module>
    from views import sximporter
  File "C:/inetpub/wwwroot/asktecheyenet\\forum_modules\\sximporter\\views.py", line 4, in <module>
    import importer
  File "C:/inetpub/wwwroot/asktecheyenet\\forum_modules\\sximporter\\importer.py", line 12, in <module>
    from orm import orm
  File "C:/inetpub/wwwroot/asktecheyenet\\forum_modules\\sximporter\\orm.py", line 2, in <module>
    from south.orm import FakeORM
  File "C:\\Program Files\\Python27\\lib\\site-packages\\south\\orm.py", line 13, in <module>
    from south.db import db
  File "C:\\Program Files\\Python27\\lib\\site-packages\\south\\db\\__init__.py", line 72, in <module>
    sys.exit(1)
SystemExit: 1

I have tried going to the python command line and typing

    from orm import orm
    from south.orm import FakeORM
    from south.db import db

after setting the DJANGO_SETTINGS_MODULE environment variable - and they get imported fine. The line it exits on is if it hasn't found the correct database driver for South... but other requests seem to work fine as South worked when doing the setup commands and I've successfully logged in via OpenID (so created a user account)

Any ideas what could be going on?

Thanks

PS I'm running on IIS 7 and x64 Python 2.7

asked 06 Sep '10, 13:27

James%20Crowley's gravatar image

James Crowley
41171315
accept rate: 40%

edited 06 Sep '10, 13:29

Anyone have any ideas how I could track the problem down a little more? Thanks

(08 Sep '10, 03:53) James Crowley

If the sximporter is the one giving you headaches, then edit the settings_local file and add 'sximporter' to the DISABLED_MODULES list, that will prevent the sximporter module from being loaded.

link

answered 08 Sep '10, 06:05

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

Just tried that - now I still get the osqa server error page, but no error message in the django.osqa.log file?? Any ideas? Thanks!

(09 Sep '10, 07:52) James Crowley
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×156
×25
×4

Asked: 06 Sep '10, 13:27

Seen: 546 times

Last updated: 09 Sep '10, 07:52

powered by OSQA