Opened 7 years ago
Closed 7 years ago
#13576 closed bug (fixed)
Web+ strings missing at pootle's
Reported by: | humdinger | Owned by: | nielx |
---|---|---|---|
Priority: | blocker | Milestone: | R1/beta1 |
Component: | Website/Pootle | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev51205.
I made a minor string change to Web+ with hrev51235
Looking at the German pootle apps page I see 0 total strings, instead the 1 new one I expected having to be translated.
Change History (6)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
Milestone: | → R1/beta1 |
---|---|
Priority: | normal → blocker |
Raising to blocker for beta1, we wouldn't ship a release with out of date translations.
comment:3 by , 7 years ago
This is the error when importing the file
2017-08-29 08:03:46,463 ERROR Failed to run update_stores over /en/haiku/apps/webpositive/en.catkeys. Traceback (most recent call last): File "/srv/pootle-production/app/pootle/apps/pootle_app/management/commands/__init__.py", line 75, in do_translation_project self.handle_store(store, **options) File "/srv/pootle-production/app/pootle/apps/pootle_app/management/commands/update_stores.py", line 63, in handle_store only_newer=not force, modified_since=change_id) File "/srv/pootle-production/env/lib/python2.7/site-packages/django/db/transaction.py", line 224, in inner return func(*args, **kwargs) File "/srv/pootle-production/app/pootle/apps/pootle_store/models.py", line 1222, in update new_ids = set(store.getids()) File "/srv/pootle-production/env/lib/python2.7/site-packages/translate/storage/base.py", line 703, in getids self.require_index() File "/srv/pootle-production/env/lib/python2.7/site-packages/translate/storage/base.py", line 699, in require_index self.makeindex() File "/srv/pootle-production/env/lib/python2.7/site-packages/translate/storage/base.py", line 694, in makeindex self.add_unit_to_index(unit) File "/srv/pootle-production/env/lib/python2.7/site-packages/translate/storage/base.py", line 663, in add_unit_to_index self.id_index[unit.getid()] = unit File "/srv/pootle-production/env/lib/python2.7/site-packages/translate/storage/catkeys.py", line 198, in getid id = u"%s\04%s" % (context, id) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 12: ordinal not in range(128)
comment:4 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed by downgrading the translate toolkit to version 1.11.0.
comment:5 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
While there are strings now for Web+ at pootle, they are still not what's currently in the code. E.g. the changes of hrev51235 and hrev51396.
Or is that for another ticket? Re-opening this one for now to grab Nielx' attention. :)
The issue is that Pootle updates are broken in a variety of ways. To begin with, the catkeys are no longer extracted automatically (I had to do it manually the last few times), but even after that, there's some issue in the importer (again).
Reassigning to nielx, as he's probably the only one who knows how to fix these problems. (I'll try to get one of the backtraces and post it here, though...)