Package Details: polychromatic 0.3.12-3

Git Clone URL: https://aur.archlinux.org/polychromatic.git (read-only, click to copy)
Package Base: polychromatic
Description: A graphical front end for managing Razer peripherals under GNU/Linux.
Upstream URL: https://github.com/polychromatic/polychromatic
Licenses: GPL3
Submitter: z3ntu
Maintainer: z3ntu
Last Packager: z3ntu
Votes: 20
Popularity: 1.24
First Submitted: 2016-11-25 14:35
Last Updated: 2019-11-24 08:07

Latest Comments

serjor commented on 2020-04-04 09:43

I didn't knew about that, so sorry for having you troubleshooting something I should have solved by myself.

Once again, thanks!!

z3ntu commented on 2020-04-04 09:39

@serjor: You're the one responsible for rebuilding packages from the AUR when a new Python or Perl version is released in Arch Linux. After upgrading to e.g. a new python version you should run pacman -Qo /usr/lib/python3.7 (change the version number of the old version accordingly) and rebuild all the packages listed there.

serjor commented on 2020-04-04 09:35

Well, that is the problem, they don't:

polychromatic /usr/lib/python3.7/
polychromatic /usr/lib/python3.7/site-packages/
polychromatic /usr/lib/python3.7/site-packages/polychromatic/
polychromatic /usr/lib/python3.7/site-packages/polychromatic/__init__.py
polychromatic /usr/lib/python3.7/site-packages/polychromatic/common.py
polychromatic /usr/lib/python3.7/site-packages/polychromatic/demo.py
polychromatic /usr/lib/python3.7/site-packages/polychromatic/preferences.py
polychromatic /usr/lib/python3.7/site-packages/polychromatic/profiles.py

Issue solved!!! I've just reinstalled the package and it is working now.

Thanks a lot for your help :-)

z3ntu commented on 2020-04-04 09:30

@serjor: Can you then make sure that the installed files match your python3 version? pacman -Ql polychromatic | grep usr/lib/python should result in a couple of files being packaged at /usr/lib/python3.8/site-packages/ and not e.g. python3.7.

serjor commented on 2020-04-04 09:27

Thanks for your quick response @z3ntu but still no luck :-(

I've changed that line and the output is the same.

Also, this is the output for "which python3" and I'd say that is the right one: /usr/bin/python3

Any other suggestion?

z3ntu commented on 2020-04-04 09:21

@serjor Try changing the first line of /usr/bin/polychromatic-controller to #!/usr/bin/python3 (instead of #!/usr/bin/env python3). I'm guessing you have a custom python in your PATH variable (you can check by running which python3)

serjor commented on 2020-04-04 09:15

Whenever I try to run the polychromatic-controller I get this output:

Traceback (most recent call last):
  File "/usr/bin/polychromatic-controller", line 52, in <module>
    import pylib.preferences as pref
ModuleNotFoundError: No module named 'pylib'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/polychromatic-controller", line 58, in <module>
    import polychromatic.preferences as pref
ModuleNotFoundError: No module named 'polychromatic'

I'm missing something??