-
Notifications
You must be signed in to change notification settings - Fork 148
utf8 characters prevent upload #115
Comments
I will take a look. Is the package you were working with public? BTW, I remember BitPusher from back in the day when mhalligan was with you. Will take a look tomorrow afternoon when I'm near a comparable env. |
Thanks Ken :) The package is Wowza Streaming Server 4.1.2 ... I'm not sure if the .deb is publicly available... I can only seem to find the .bin executables. But I could make it available somewhere if you need. |
Not 100% sure if this is exactly the same issue, but figured I'd post here as it seems incredibly close. I hope that's ok. My error is similar but not quite identical:
When trying to upload a Debian backport deb to my local repo. I downloaded it direct from the Debian mirror. FWIW I am running Debian Jessie on my laptop. The explicit package is: https://packages.debian.org/jessie-backports/dehydrated FWIW here's a direct link: http://ftp.us.debian.org/debian/pool/main/d/dehydrated/dehydrated_0.3.1-3~bpo8+1_all.deb |
I hit this today:
I'll look and see if I can contribute a fix. |
In my case this was an environment configuration error. I had to make sure the locale was set properly in my docker container:
|
@blamarvt I don't believe that is entirely a configuration error. The Debian Policy explicitly states that all control files must be encoded in UTF-8 (https://www.debian.org/doc/debian-policy/#syntax-of-control-files). So I think that the code should explicitly open the file(s) in UTF-8 mode, if that makes sense, right? |
package.rb:283:in `block (2 levels) in parse_control': invalid byte sequence in UTF-8 (ArgumentError)
Ubuntu 14.04
deb-s3-0.8.0
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
The text was updated successfully, but these errors were encountered: