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

Polychromatic Controller and Tray Applet won't launch? #30

Closed
CryptCatZero opened this issue Sep 24, 2016 · 7 comments
Closed

Polychromatic Controller and Tray Applet won't launch? #30

CryptCatZero opened this issue Sep 24, 2016 · 7 comments
Labels
openrazer Related to the OpenRazer backend (driver or daemon) support Troubleshooting and help

Comments

@CryptCatZero
Copy link

I'm a Linux newb, running Mint18. I downloaded and installed the terrycain-razer-drivers, and followed all the instructions step by step. I followed that with an install of Polychromatic Controller from the LinuxMint Software Manager. I click the software icon and nothing happens. I reboot. Try again. Nothing happens. No error messages or anything. Just nothing.

Previously to this, I had attempted to run Polychromatic without installing the daemon (obviously, this didn't work, but) the software launched with an error message. Now it doesn't launch at all.

I'm running on a first-gen Razer Blade Stealth.

Please help?

@lah7 lah7 added the support Troubleshooting and help label Sep 24, 2016
@CryptCatZero
Copy link
Author

To be more specific, I'm running Mint18, 64-Bit, Cinnamon. Any help you all can provide is super appreciated. Thanks.

@lah7
Copy link
Member

lah7 commented Sep 24, 2016

Please check the daemon is definitely running. The software cannot interact with the devices without it. You can run the daemon from the terminal:

razer-service -F -v

This will run it in the foreground, so you can see what the daemon is up to. Normally razer-service should just auto start when you login to your desktop. If you find it wasn't running, you may need to add a entry in Start-up Applications.


Next, try opening Polychromatic from the terminal:

polychromatic-controller

If there is a crash, this will be show some helpful output - please paste that here to help investigate.


Usually, if the driver/daemon and Python libraries are not installed properly, the application will not run. It will try its best to catch errors and display a message. 😉

@CryptCatZero
Copy link
Author

CryptCatZero commented Sep 24, 2016

Followed your instructions. This is what I was greeted with in the terminal:

cryptcat@cryptcat-Blade-Stealth ~ $ razer-service -F -v
Daemon already exists. Please stop that one.
cryptcat@cryptcat-Blade-Stealth ~ $ polychromatic-controller
Using relative path for translations.
Traceback (most recent call last):
  File "/usr/bin/polychromatic-controller", line 1380, in <module>
    app = Controller()
  File "/usr/bin/polychromatic-controller", line 190, in __init__
    self.devman = rclient.DeviceManager()
  File "/usr/lib/python3/dist-packages/razer/client/__init__.py", line 33, in __init__
    device = _RazerDeviceFactory.get_device(serial)
  File "/usr/lib/python3/dist-packages/razer/client/device.py", line 56, in get_device
    device = device_class.get_device(serial, vid_pid=device_vid_pid, daemon_dbus=daemon_dbus)
  File "/usr/lib/python3/dist-packages/razer/client/devices/keyboard.py", line 148, in get_device
    return device_class(serial, vid_pid=vid_pid, daemon_dbus=daemon_dbus)
  File "/usr/lib/python3/dist-packages/razer/client/devices/keyboard.py", line 128, in __init__
    self._update_capabilities(default_capabilities)
AttributeError: 'RazerBladeStealthKeyboard' object has no attribute '_update_capabilities'

@lah7 lah7 added the openrazer Related to the OpenRazer backend (driver or daemon) label Sep 24, 2016
@lah7
Copy link
Member

lah7 commented Sep 24, 2016

It's a bug in the daemon for your particular device - @terrycain who writes the driver/daemon is aware of this and says he'll release an update in the next day or two.

Till then, hang tight for updates (as you have added the PPA, this will come through your software updater).

@CryptCatZero
Copy link
Author

Thank you so much! Your speedy feedback is super appreciated. Loving Linux so far, and for this to be my first experience on GitHub, I'm loving it now even more. Take care!

@lah7
Copy link
Member

lah7 commented Sep 24, 2016

Thanks - this is good too as you have uncovered a bug, as there should have been an error screen for the Controller when the daemon isn't running/working. I'll address that and close this issue when it's fixed.

@CryptCatZero
Copy link
Author

When I didn't have the daemon installed, I did get an error screen that told me to check to make sure it was running and to try and run razer-service from the terminal. But, after I installed the proper files and restarted the computer, no error screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openrazer Related to the OpenRazer backend (driver or daemon) support Troubleshooting and help
Projects
None yet
Development

No branches or pull requests

2 participants