Michal Čihař writes ("Bug#738536: dgit clone fails with unicode dsc file"): > once dsc file contains unicode, dgit fails on that:
Thanks for this report. Sorry for taking so long to look at it. > $ dgit clone phpmyadmin > canonical suite name for unstable is sid > starting new git history > downloading > http://ftp.debian.org/debian//pool/main/p/phpmyadmin/phpmyadmin_4.0.10-1.dsc... > Strings with code points over 0xFF may not be mapped into in-memory file > handles > Nepřípustný argument at /usr/bin/dgit line 818. I can no longer reproduce this because the package has been changed in the archive. However, it looks like colorhug-client, maintained by you, has utf-8 in its .dsc, so ought to be affected. But even with dgit 0.21 I can't reproduce the problem. See transcript below. However, looking at the code, and the error message, I think I see what the problem is. AFAICT HTTP::Message has converted the returned data into a Perl unicode string, whereas the rest of dgit operates on bytes. I have made a change to my development version which I think will fix this. So I will be closing this bug when I upload that. If after that you get the symptom again with the new version, please reopen the bug. The output of `locale' and of `HEAD <url>' where <url> is url of the .dsc (see below) would be useful, in that case. Thanks, Ian. zealot:tests> dgit --dget:-u clone colorhug-client canonical suite name for unstable is sid starting new git history downloading http://ftp.debian.org/debian//pool/main/c/colorhug-client/colorhug-client_0.2.1-2.dsc... last upload to archive has NO git hash dget: retrieving http://ftp.debian.org/debian//pool/main/c/colorhug-client/colorhug-client_0.2.1-2.dsc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2246 100 2246 0 0 18386 0 --:--:-- --:--:-- --:--:-- 42377 dget: retrieving http://ftp.debian.org/debian//pool/main/c/colorhug-client/colorhug-client_0.2.1.orig.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 712k 100 712k 0 0 274k 0 0:00:02 0:00:02 --:--:-- 281k dget: retrieving http://ftp.debian.org/debian//pool/main/c/colorhug-client/colorhug-client_0.2.1-2.debian.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10988 100 10988 0 0 74443 0 --:--:-- --:--:-- --:--:-- 134k dpkg-source: info: extracting colorhug-client in colorhug-client-0.2.1 dpkg-source: info: unpacking colorhug-client_0.2.1.orig.tar.xz dpkg-source: info: unpacking colorhug-client_0.2.1-2.debian.tar.xz dpkg-source: info: applying 0002-Fix-autogen-failure-with-new-gettexts.patch dpkg-source: info: applying 0003-Do-not-use-deprecated-widgets-in-the-spectro-tool.patch dpkg-source: info: applying 0004-Load-the-colorhug-spectro-utils-data-file-from-a-GRe.patch dpkg-source: info: applying 0005-trivial-Fix-thinko-when-ColorHug-1-and-2-are-connect.patch dpkg-source: info: applying 0006-trivial-remove-some-cruft-in-the-configure-file.patch dpkg-source: info: applying 0007-Support-getting-and-setting-the-DAC-value-on-hardwar.patch dpkg-source: info: applying 0008-trivial-Only-use-the-latest-released-GTK-version.patch dpkg-source: info: applying 0009-Rename-ColorHug-Spectro-to-ColorHug-for-trademark-re.patch dpkg-source: info: applying 0011-trivial-Fix-compile-on-Fedora-21.patch synthesised git commit from .dsc 0.2.1-2 HEAD is now at 9387e30 dgit ok: ready for work in colorhug-client zealot:tests> HEAD http://ftp.debian.org/debian//pool/main/c/colorhug-client/colorhug-client_0.2.1-2.dsc 200 OK Connection: close Date: Sun, 03 Aug 2014 23:56:09 GMT Accept-Ranges: bytes ETag: "b00ffb-8c6-4fb2606e76680" Server: Apache Content-Length: 2246 Content-Type: text/plain Last-Modified: Fri, 06 Jun 2014 07:44:10 GMT Client-Date: Sun, 03 Aug 2014 23:56:09 GMT Client-Peer: 130.89.148.12:80 Client-Response-Num: 1 zealot:tests> locale LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LC_CTYPE=en_GB.utf-8 LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= zealot:tests> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org