Ticket #251 (closed defect: fixed)
Switching language on Windows generates struct.unpack error
| Reported by: | baumichel | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | Zine 0.2 |
| Component: | general | Version: | dev |
| Keywords: | Cc: |
Description
Zine stops working and generates "error: unpack requires a string argument of length 8" on Windows when the selected language is not the default one.
This is fixed by opening MO files in 'rb' mode. See also http://code.google.com/p/formalchemy/issues/detail?id=18#c6 for a simliar problem/solution.
Attachments
Change History
Changed 22 months ago by baumichel
-
attachment
win_i18n.patch
added
Note: See
TracTickets for help on using
tickets.
Patch adding 'rb' mode