#4328 closed defect (fixed)
Journal traceback, fails to start in right to left languages
Reported by: | garycmartin | Owned by: | |
---|---|---|---|
Priority: | Urgent | Milestone: | |
Component: | journal | Version: | 0.98.x |
Severity: | Blocker | Keywords: | 13.1.0, regression, r+, olpc-test-passed |
Cc: | dsd, manuq, erikos | Distribution/OS: | OLPC |
Bug Status: | Unconfirmed |
Description
Testing 13.1.0 Build 18
Journal fails to start when a right to left language is active, e.g. Arabic (Egypt). See attached shell.log for full traceback.
File "/usr/lib/python2.7/site-packages/jarabe/journal/detailview.py", line 102, in __init__ hbox.reverse() AttributeError: 'HBox' object has no attribute 'reverse'
Attachments (2)
Change History (10)
Changed 11 years ago by garycmartin
comment:1 Changed 11 years ago by garycmartin
- Cc manuq erikos added
comment:2 Changed 11 years ago by dsd
- Keywords regression added
Changed 11 years ago by manuq
comment:3 Changed 11 years ago by manuq
- Keywords r? added
comment:4 Changed 11 years ago by manuq
I have grepped the code and found no more instances of this hippo reverse() in sugar:
src/jarabe/journal/model.py:285: reverse=(self._sort[0] == '-')) src/jarabe/model/shell.py:616: windows.reverse()
First is a parameter for the python list sort() method, second is Wnck .
comment:5 Changed 11 years ago by erikos
- Keywords r+ added; r? removed
Works and code looks good, please push.
Thanks for checking occasions in the rest of the code base.
comment:6 Changed 11 years ago by manuq
- Keywords olpc-test-pending added
- Resolution set to fixed
- Status changed from new to closed
Pushed 52076ffd .
comment:7 Changed 11 years ago by greenfeld
- Keywords olpc-test-passed added; olpc-test-pending removed
The journal is still accessible if the language is set to Arabic in Sugar 0.98.2/OLPC 13.1.0 os20.
Note: See
TracTickets for help on using
tickets.
Proposed patch.