[prev in list] [next in list] [prev in thread] [next in thread]
List: pyamf-users
Subject: [pyamf-users] setup pyamf error
From: nick () boxdesign ! co ! uk (Nick Joyce)
Date: 2008-05-13 15:05:49
Message-ID: 7D953C1C-C02D-487B-86F8-E855E4E68F9A () boxdesign ! co ! uk
[Download RAW message or body]
Hi,
Can you give me a break down of your versions of: python, pyamf,
django etc.
Running the same test suite with PyAMF 0.3.1 gives no errors on Python
2.5.
Cheers,
Nick
On 9 May 2008, at 12:35, ??? wrote:
> hi,all:
>
> when i setup pyamf on my ubuntu7.10 ,i got some errors:
>
> ~/software/pyamf 19:33:10> python setup.py test
>
> ======================================================================
> ERROR: test_unknown_request
> (pyamf.tests.gateway.test_django.DjangoGatewayTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/cjj/software/pyamf/pyamf/tests/gateway/
> test_django.py", line 74, in test_unknown_request
> http_response = gw(http_request)
> File "/home/cjj/software/pyamf/pyamf/remoting/gateway/django.py",
> line 85, in __call__
> http_response = http.HttpResponse()
> File "/usr/lib/python2.5/site-packages/django/http/__init__.py",
> line 265, in __init__
> self._charset = settings.DEFAULT_CHARSET
> File "/usr/lib/python2.5/site-packages/django/conf/__init__.py",
> line 28, in __getattr__
> self._import_settings()
> File "/usr/lib/python2.5/site-packages/django/conf/__init__.py",
> line 57, in _import_settings
> raise ImportError("Settings cannot be imported, because
> environment variable %s is undefined." % ENVIRONMENT_VARIABLE)
> ImportError: Settings cannot be imported, because environment
> variable DJANGO_SETTINGS_MODULE is undefined.
>
>
> but i have setted the ENV virable:
>
> DJANGO_SETTINGS_MODULE=/usr/lib/python2.5/site-packages/django
>
> why this is happened?
>
>
> thx
>
>
>
>
> _______________________________________________
> PyAMF users mailing list - users at pyamf.org
> http://lists.pyamf.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pyamf.org/pipermail/users/attachments/20080513/e2c85434/attachment.htm
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic