Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no such file (openrazer.json) after updating to 0.8.1 #476

Closed
unicorn-farts opened this issue May 1, 2023 · 3 comments
Closed

no such file (openrazer.json) after updating to 0.8.1 #476

unicorn-farts opened this issue May 1, 2023 · 3 comments
Labels
bug Faults with Polychromatic itself controller Specific to the main application packaging Distribution-specific problems or requests

Comments

@unicorn-farts
Copy link

Hello,
After updating to 0.8.1 today, I see the following error pop-up when bringing up the interface:

Traceback (most recent call last):
  File ’/usr/share/polychromatic/../../bin/polychromatic-controller’, line 311, in _change_tab
    tab_objects[index].set_tab()
  File ’/usr/lib/python3/dist-packages/polychromatic/controller/devices.py’, line 107, in set_tab
    device_index = json.loads(open(f’{self.paths.data_dir}/devices/openrazer.json’, ’r’).read())
FileNotFoundError: [Errno 2] No such file or directory: ’/usr/share/polychromatic/devices/openrazer.json’

system is Ubuntu 22.04 jammy
Screenshot from 2023-05-01 14-20-10

After clicking ok, polychromatic opens to a blank page under the Devices tab. I can click on my device (Razer pro click) and any settings changes seem to be working afaik
Screenshot from 2023-05-01 14-23-58

Thanks!

@lah7 lah7 added bug Faults with Polychromatic itself packaging Distribution-specific problems or requests controller Specific to the main application labels May 2, 2023
@lah7
Copy link
Member

lah7 commented May 2, 2023

Whoops! Sorry about that! I forgot to add this file to the Debian/Ubuntu packaging (due to them being split packages)

New packages will be dispatched ASAP.

@tur1ngb0x
Copy link

Can confirm

About OpenRazer

daemon 3.6.0
python library 3.6.0
d-bus 1.12.20
dkms 2.8.7

About Polychromatic

polychromatic 0.8.1
python 3.10.6
qt 5.15.6

cat /etc/os-release

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

uname -a

Linux pop-os 6.2.6-76060206-generic #202303130630~1681329778~22.04~d824cd4 SMP PREEMPT_DYNAMIC Wed A x86_64 x86_64 x86_64 GNU/Linux

@lah7 lah7 closed this as completed in 30a095b May 2, 2023
@lah7
Copy link
Member

lah7 commented May 2, 2023

Fixed! 📦 A new revised package (0.8.1-2) has been published. Update your system as normal.

The longest part was waiting for Launchpad to actually publish them. Only Ubuntu and Debian distros were affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Faults with Polychromatic itself controller Specific to the main application packaging Distribution-specific problems or requests
Projects
None yet
Development

No branches or pull requests

3 participants