[haiku-i18n] Re: Pootle is not working

  • From: Rimas Kudelis <rq@xxxxxx>
  • To: haiku-i18n@xxxxxxxxxxxxx
  • Date: Sun, 30 Oct 2011 18:17:01 +0200

Hi Niels,

as you know, I have run Pootle successfully (though my server is intentionally down ATM). I could probably help you run it on your server too.

Feel free to ping me.

Rimas

2011.10.30 15:55, Niels Sascha Reedijk rašė:
Hi,

I am very sorry to have to report that there is no way I seem to be
able to get Pootle to work. I have tried several combinations of OS
(mac, linux), Python (2.5, 2.6, 2.7), Django (1.2.7, 1.3, 1.3.1) and
Pootle (2.1.5, 2.1.6 and svn), and I keep on running into a server
error when performing certain actions, such as viewing the overview of
a translation project or using the command line management tools. I
have did simple and more advanced Google tricks, and so far I have not
been able to find any mention of this issue. For me, at this point, I
am done with it. If someone else is able to successfully manage to run
Pootle, let me know, I might consider trying it again, but for me it
is dead now.

Regards,

N>

PS: for those that are interested, the backtrace is:

Traceback (most recent call last):
   File 
"/Users/nielx/Haiku/pootle-env/lib/python2.7/site-packages/django/core/handlers/base.py",
line 100, in get_response
     response = callback(request, *callback_args, **callback_kwargs)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_app/views/language/view.py",
line 58, in decorated_f
     return f(request, translation_project, *args, **kwargs)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_app/views/language/view.py",
line 68, in decorated_f
     return f(request, translation_project, *args, **kwargs)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_translationproject/views.py",
line 231, in tp_overview
     view_obj(request, translation_project, directory),
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_app/lib/view_handler.py",
line 48, in __call__
     return self.GET(template_vars, request, *args, **kwargs)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_translationproject/views.py",
line 211, in GET
     'children': get_children(request, translation_project, directory),
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_translationproject/views.py",
line 266, in get_children
     for child_store in directory.child_stores.iterator()]
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_app/views/language/item_dict.py",
line 287, in make_store_item
     item = make_generic_item(request, store, action, show_checks)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_app/views/language/item_dict.py",
line 247, in make_generic_item
     quick_stats = add_percentages(path_obj.getquickstats())
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_misc/util.py",
line 34, in _getfromcache
     result = function(instance, *args, **kwargs)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_store/models.py",
line 1091, in getquickstats
     return calculate_stats(self.units)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_store/models.py",
line 1009, in _get_units
     self.require_units()
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_store/models.py",
line 695, in require_units
     self.parse()
   File 
"/Users/nielx/Haiku/pootle-env/lib/python2.7/site-packages/django/db/transaction.py",
line 299, in _commit_on_success
     res = func(*args, **kw)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_store/models.py",
line 766, in parse
     self.addunit(unit, index)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_store/models.py",
line 1026, in addunit
     newunit = Unit(store=self, index=index)
   File 
"/Users/nielx/Haiku/pootle-env/Pootle-2.1.6/local_apps/pootle_store/models.py",
line 177, in __init__
     super(Unit, self).__init__(self, *args, **kwargs)
   File 
"/Users/nielx/Haiku/pootle-env/lib/python2.7/site-packages/django/db/models/base.py",
line 363, in __init__
     super(Model, self).__init__()
TypeError: __init__() takes exactly 2 arguments (1 given)


Other related posts: