Zine

open source content publishing system


Ticket #251 (closed defect: fixed)

Opened 22 months ago

Last modified 21 months ago

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

win_i18n.patch Download (591 bytes) - added by baumichel 22 months ago.
Patch adding 'rb' mode

Change History

Changed 22 months ago by baumichel

Patch adding 'rb' mode

comment:1 Changed 21 months ago by mcrute

  • Component changed from translation to general
  • Milestone set to Zine 0.2

comment:2 Changed 21 months ago by mcrute

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.