Johan Hendriks wrote:
Johan Hendriks wrote:
Hello all.

After running baruwa 1.0.1 for a long time i decided to upgrade.

So i installed a new system and use 1.1.2 on FreeBSD
I used most of the old files.

But i can not get the gui to work.
The error i get is the following

[Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] mod_wsgi (pid=28041): Exception occurred processing WSGI script '/usr/local/lib/python2.7/site-packages/baruwa-
1.1.2-py2.7.egg/baruwa/baruwa.wsgi'.
[Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] Traceback (most recent call last): [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 255, in __call__ [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] response = self.get_response(request) [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 178, in get_response [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 220, in handle_uncaught_exce
ption
[Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] if resolver.urlconf_module is None: [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 342, in urlconf_module [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] self._urlconf_module = import_module(self.urlconf_name) [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] __import__(name) [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/baruwa-1.1.2-py2.7.egg/baruwa/urls.py", line 39, in <module> [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] (r'^status/', include('baruwa.status.urls')), [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 25, in include [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] urlconf_module = import_module(urlconf_module) [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] __import__(name) [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/baruwa-1.1.2-py2.7.egg/baruwa/status/urls.py", line 25, in <modu
le>
[Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] from baruwa.messages.views import task_status [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] File "/usr/local/lib/python2.7/site-packages/baruwa-1.1.2-py2.7.egg/baruwa/messages/views.py", line 27, in <m
odule>
[Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] from django.views.generic.list_detail import object_list [Fri Aug 30 15:49:24 2013] [error] [client 192.168.1.11] ImportError: No module named list_detail



my python verions are.

py27-GeoIP-1.2.8 Mapping of IP addresses/hostnames to country names in Python
py27-MySQLdb-1.2.3_2           Access a MySQL database through Python
py27-anyjson-0.3.3             JSON library wrapper for Python
py27-dateutil-2.1_2 Provides powerful extensions to the standard datetime module py27-distribute-0.6.35 Python packages installer and Setuptools replacement
py27-django-1.5.1              High-level Python Web framework
py27-flup-1.0.2_1 Random assortment of WSGI servers, middleware
py27-imaging-1.1.7_2           The Python Imaging Library
py27-ipy-0.81 A Python module for handling IPv4 and IPv6 Addresses and Networks py27-reportlab2-2.5 Library to create PDF documents using the Python language py27-simplejson-3.3.0 Simple, fast, extensible JSON encoder/decoder
py27-six-1.2.0                 Python 2 and 3 compatibility utilities
py27-sqlite3-2.7.5_3 Standard Python binding to the SQLite3 library
py27-tkinter-2.7.5_4           Python bindings to the Tk widget set
python-2.7_1,2 The "meta-port" for the default version of Python interpreter python2-2 The "meta-port" for version 2 of the Python interpreter python27-2.7.5_2 Interpreted object-oriented programming language


I seem to have no luck at all with python :D

Thanks for your time.
gr
Johan

_______________________________________________
http://pledgie.com/campaigns/12056

Could it be this issue?
As the Django documentation notes <https://docs.djangoproject.com/en/dev/topics/class-based-views/>, the function-based generic views are deprecated in favor of the class-based versions. So try to use |ListView|, since Django may be removed |object_list|.

Is my django version to new for baruwa 1.1.2?, if so is it do able to edit baruwa or should i just move to an older django version.


thanks
regards
Johan Hendriks


Downgraded django 1.5.1 to 1.4.5 and it works fine.

gr
Johan



_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to