On 2018, ഓഗസ്റ്റ് 31 4:57:54 PM IST, Jonas Smedegaard <[email protected]> wrote: >Package: npm2deb >Version: 0.2.8-1 >Severity: normal > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA512 > >Attempting to follow https://wiki.debian.org/Javascript/Nodejs/Tasks to >resolve dependencies of node-server, in a limited environment (a >cowbuilder chroot) with "C" a locale, caused the following failure: > >Traceback (most recent call last): > File "js_task_edit.py", line 230, in <module> > main() > File "js_task_edit.py", line 213, in main > build_deps = get_builddeps(module_name) > File "js_task_edit.py", line 161, in get_builddeps > debian = get_debian(dep) > File "js_task_edit.py", line 80, in get_debian > npm2deb_instance = _Npm2Deb(module_name) >File "/usr/lib/python3/dist-packages/npm2deb/__init__.py", line 57, in >__init__ > self.read_package_info() >File "/usr/lib/python3/dist-packages/npm2deb/__init__.py", line 363, in >read_package_info > (self.name, self.version)) > File "/usr/lib/python3.6/subprocess.py", line 517, in getstatusoutput >data = check_output(cmd, shell=True, universal_newlines=True, >stderr=STDOUT) > File "/usr/lib/python3.6/subprocess.py", line 336, in check_output > **kwargs).stdout > File "/usr/lib/python3.6/subprocess.py", line 405, in run > stdout, stderr = process.communicate(input, timeout=timeout) > File "/usr/lib/python3.6/subprocess.py", line 830, in communicate > stdout = self.stdout.read() > File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode > return codecs.ascii_decode(input, self.errors)[0] >UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position >26639: ordinal not in range(128)
See if setting LANG=C.UTF-8 fixes it. If not try LC_ALL=UTF-8. Some node modules have metadata in Unicode and the locale should have UTF-8 support. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
