You are not logged in.

#1 2018-03-03 21:50:23

Alee14
Member
From: /home/andrew
Registered: 2018-01-22
Posts: 20
Website

Mugshot Compile Error

Hey while I was installing mugshot from the AUR this happend

  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "setup.py", line 186, in run
    update_desktop_file(desktop_file, script_path)
  File "setup.py", line 106, in update_desktop_file
    for line in fin:
  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 0xc4 in position 92: ordinal not in range(128)
==> ERROR: A failure occurred in package().
    Aborting...
[andrew@AleePC mugshot]$ 

Offline

#2 2018-03-03 23:43:40

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Mugshot Compile Error

https://aur.archlinux.org/packages/mugshot/

jonathon commented on 2017-12-11 16:52
Looks like "UnicodeDecodeError" is due to a default C locale instead of a UTF8 locale. One workaround is to edit /etc/locale.gen and enable en_US.UTF8, then run locale-gen, then export LC_ALL=en_US.UTF8. Build will complete after that.

Not sure if that's in the scope of a PKGBUILD? It kind of sounds like a bug in the upstream code...

Offline

Board footer

Powered by FluxBB