Package: coquelicot Version: 0.9.2-2 Severity: normal Hi,
I'm not sure whether this is a coquelicot or a ruby-fast-gettext problem because I am not familiar with ruby and its ecosystem at all. I report it here because coquelicot is the service that is failing for me and a workaround for this problem exists for coquelicot. Steps to reproduce: sudo debootstrap --include=coquelicot sid debian-sid sudo chroot debian-sid coquelicot start --no-daemon Result: poparser.ry:162:in `===': invalid byte sequence in US-ASCII (ArgumentError) from poparser.ry:162:in `parse' from /usr/lib/ruby/vendor_ruby/fast_gettext/po_file.rb:16:in `to_mo_file' from /usr/lib/ruby/vendor_ruby/fast_gettext/translation_repository/po.rb:13:in `block in find_and_store_files' from /usr/lib/ruby/vendor_ruby/fast_gettext/translation_repository/base.rb:44:in `block in find_files_in_locale_folders' from /usr/lib/ruby/vendor_ruby/fast_gettext/translation_repository/base.rb:39:in `each' from /usr/lib/ruby/vendor_ruby/fast_gettext/translation_repository/base.rb:39:in `find_files_in_locale_folders' from /usr/lib/ruby/vendor_ruby/fast_gettext/translation_repository/po.rb:12:in `find_and_store_files' from /usr/lib/ruby/vendor_ruby/fast_gettext/translation_repository/mo.rb:9:in `initialize' from /usr/lib/ruby/vendor_ruby/fast_gettext/translation_repository.rb:14:in `new' from /usr/lib/ruby/vendor_ruby/fast_gettext/translation_repository.rb:14:in `build' from /usr/lib/ruby/vendor_ruby/fast_gettext.rb:28:in `add_text_domain' from /usr/lib/ruby/vendor_ruby/coquelicot/base_app.rb:30:in `<class:BaseApp>' from /usr/lib/ruby/vendor_ruby/coquelicot/base_app.rb:25:in `<module:Coquelicot>' from /usr/lib/ruby/vendor_ruby/coquelicot/base_app.rb:22:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/vendor_ruby/coquelicot.rb:27:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/bin/coquelicot:19:in `<main>' A couple of websites claim that this error happens because the following environment variables have to be set: export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 Though when doing so in above statement, the problem persists. What does work though is to insert the following lines right into /usr/bin/coquelicot: Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 Since I have no clue about ruby I do not know how what the proper fix would be. In case this is a ruby-fast-gettext problem, please re-assign and excuse my ignorance. :) Thanks! cheers, josch -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org