That means that stats are still being calculated, this page will help if
things have gone out of sync:
http://docs.translatehouse.org/projects/pootle/en/latest/server/rq.html
On 18 May 2016 at 14:33, Jason Pickering <jason.p.picker...@gmail.com>
wrote:
> Thanks Dwayne,
>
> I think I managed to work it out.
>
> However, now I am seeing this
>
> [image: Inline image 1]
>
> is it indicative of a problem? I have the rqworker thread running I think
> ( I thought it might be this).
>
> Regards,
> Jason
>
>
>
> On Tue, May 17, 2016 at 5:03 PM, Dwayne Bailey <dwa...@translate.org.za>
> wrote:
>
>>
>>
>> On 17 May 2016 at 10:59, Jason Pickering <jason.p.picker...@gmail.com>
>> wrote:
>>
>>> I just sent another message we have attempted an upgrade from Pootle
>>> 2.5.0
>>> to 2.7.3
>>>
>>
>> Please make sure you have followed the upgrade instructions.
>> Specifically this step
>> http://docs.translatehouse.org/projects/pootle/en/stable-2.7.3final/server/upgrading.html#migrate-your-database-schema
>>
>> There should be a migration that specifically deals with this issue when
>> moving from older versions of Pootle to the latest.
>>
>>
>>>
>>> Things appear to be OK, but when attempting to input a new translation, I
>>> get an error as seen in the Apache logs.
>>>
>>> Any ideas what might the issue be and how to fix it?
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> [Tue May 17 09:56:38.757302 2016] [:error] [pid 20366:tid 3065465664]
>>> Traceback (most recent call last):
>>> [Tue May 17 09:56:38.757642 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/core/handlers/base.py",
>>> line 111, in get_response
>>> [Tue May 17 09:56:38.757718 2016] [:error] [pid 20366:tid 3065465664]
>>> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>>> [Tue May 17 09:56:38.757784 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/pootle/apps/pootle_misc/util.py",
>>> line 59, in wrapper
>>> [Tue May 17 09:56:38.757849 2016] [:error] [pid 20366:tid 3065465664]
>>> return f(request, *args, **kwargs)
>>> [Tue May 17 09:56:38.757912 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/pootle/apps/pootle_store/decorators.py",
>>> line 66, in decorated_f
>>> [Tue May 17 09:56:38.757974 2016] [:error] [pid 20366:tid 3065465664]
>>> return f(request, unit, *args, **kwargs)
>>> [Tue May 17 09:56:38.758036 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/pootle/apps/pootle_store/views.py",
>>> line 909, in submit
>>> [Tue May 17 09:56:38.758084 2016] [:error] [pid 20366:tid 3065465664]
>>> sub.save()
>>> [Tue May 17 09:56:38.758127 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/pootle/apps/pootle_statistics/models.py",
>>> line 357, in save
>>> [Tue May 17 09:56:38.758170 2016] [:error] [pid 20366:tid 3065465664]
>>> super(Submission, self).save(*args, **kwargs)
>>> [Tue May 17 09:56:38.758213 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/models/base.py",
>>> line 589, in save
>>> [Tue May 17 09:56:38.758255 2016] [:error] [pid 20366:tid 3065465664]
>>> force_update=force_update, update_fields=update_fields)
>>> [Tue May 17 09:56:38.758297 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/models/base.py",
>>> line 617, in save_base
>>> [Tue May 17 09:56:38.758340 2016] [:error] [pid 20366:tid 3065465664]
>>> updated = self._save_table(raw, cls, force_insert, force_update, using,
>>> update_fields)
>>> [Tue May 17 09:56:38.758384 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/models/base.py",
>>> line 698, in _save_table
>>> [Tue May 17 09:56:38.758428 2016] [:error] [pid 20366:tid 3065465664]
>>> result = self._do_insert(cls._base_manager, using, fields, update_pk,
>>> raw)
>>> [Tue May 17 09:56:38.758471 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/models/base.py",
>>> line 731, in _do_insert
>>> [Tue May 17 09:56:38.758528 2016] [:error] [pid 20366:tid 3065465664]
>>> using=using, raw=raw)
>>> [Tue May 17 09:56:38.758567 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/models/manager.py",
>>> line 92, in manager_method
>>> [Tue May 17 09:56:38.758607 2016] [:error] [pid 20366:tid 3065465664]
>>> return getattr(self.get_queryset(), name)(*args, **kwargs)
>>> [Tue May 17 09:56:38.758646 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/models/query.py",
>>> line 921, in _insert
>>> [Tue May 17 09:56:38.758685 2016] [:error] [pid 20366:tid 3065465664]
>>> return query.get_compiler(using=using).execute_sql(return_id)
>>> [Tue May 17 09:56:38.758725 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py",
>>> line 921, in execute_sql
>>> [Tue May 17 09:56:38.758765 2016] [:error] [pid 20366:tid 3065465664]
>>> cursor.execute(sql, params)
>>> [Tue May 17 09:56:38.758803 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/backends/utils.py",
>>> line 65, in execute
>>> [Tue May 17 09:56:38.758841 2016] [:error] [pid 20366:tid 3065465664]
>>> return self.cursor.execute(sql, params)
>>> [Tue May 17 09:56:38.758879 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/utils.py",
>>> line 94, in __exit__
>>> [Tue May 17 09:56:38.758918 2016] [:error] [pid 20366:tid 3065465664]
>>> six.reraise(dj_exc_type, dj_exc_value, traceback)
>>> [Tue May 17 09:56:38.758956 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/backends/utils.py",
>>> line 65, in execute
>>> [Tue May 17 09:56:38.758995 2016] [:error] [pid 20366:tid 3065465664]
>>> return self.cursor.execute(sql, params)
>>> [Tue May 17 09:56:38.759034 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>>
>>> "/var/www/pootle/env/lib/python2.7/site-packages/django/db/backends/mysql/base.py",
>>> line 129, in execute
>>> [Tue May 17 09:56:38.759073 2016] [:error] [pid 20366:tid 3065465664]
>>> return self.cursor.execute(query, args)
>>> [Tue May 17 09:56:38.759111 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>> "/var/www/pootle/env/lib/python2.7/site-packages/MySQLdb/cursors.py",
>>> line 205, in execute
>>> [Tue May 17 09:56:38.759149 2016] [:error] [pid 20366:tid 3065465664]
>>> self.errorhandler(self, exc, value)
>>> [Tue May 17 09:56:38.759187 2016] [:error] [pid 20366:tid 3065465664]
>>> File
>>> "/var/www/pootle/env/lib/python2.7/site-packages/MySQLdb/connections.py",
>>> line 36, in defaulterrorhandler
>>> [Tue May 17 09:56:38.759226 2016] [:error] [pid 20366:tid 3065465664]
>>> raise errorclass, errorvalue
>>> [Tue May 17 09:56:38.759264 2016] [:error] [pid 20366:tid 3065465664]
>>> IntegrityError: (1452, 'Cannot add or update a child row: a foreign key
>>> constraint fails (`pootle`.`pootle_app_submission`, CONSTRAINT
>>> `submitter_id_refs_id_e943218` FOREIGN KEY (`submitter_id`) REFERENCES
>>> `pootle_app_pootleprofile` (`id`))')
>>> [Tue May 17 09:56:38.759314 2016] [:error] [pid 20366:tid 3065465664]
>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.picker...@gmail.com
>>> tel:+46764147049
>>>
>>> ------------------------------------------------------------------------------
>>> Mobile security can be enabling, not merely restricting. Employees who
>>> bring their own devices (BYOD) to work are irked by the imposition of MDM
>>> restrictions. Mobile Device Manager Plus allows you to control only the
>>> apps on BYO-devices by containerizing them, leaving personal data
>>> untouched!
>>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>>> _______________________________________________
>>> Translate-pootle mailing list
>>> Translate-pootle@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/translate-pootle
>>>
>>
>>
>>
>> --
>> Dwayne
>>
>> *Translate*
>> +27 12 460 1095 (work)
>>
>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
--
Dwayne
*Translate*
+27 12 460 1095 (work)
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle