GabMus / razerCommander

GTK contol center for managing razer peripherals on Linux
GNU General Public License v3.0
164 stars 25 forks source link

RazerMouse object has no attribute 'macro' #27

Open A-Metaphysical-Drama opened 7 years ago

A-Metaphysical-Drama commented 7 years ago

I get this error when starting razercommander

Traceback (most recent call last):
  File "/usr/bin/razercommander", line 74, in <module>
    refreshDevices()
  File "/usr/bin/razercommander", line 70, in refreshDevices
    initDevices()
  File "/usr/bin/razercommander", line 36, in initDevices
    newdev = device.Device(dev)
  File "/usr/share/razercommander/device.py", line 30, in __init__
    self.device)
  File "/usr/share/razercommander/macro_logic.py", line 73, in make_device
    n_device = MacroDevice(mk_arr, device_uid, device)
  File "/usr/share/razercommander/macro_logic.py", line 14, in __init__
    self.set_all_current_macros()
  File "/usr/share/razercommander/macro_logic.py", line 32, in set_all_current_macros
    key.set_current_macro(self.device)
  File "/usr/share/razercommander/macro_logic.py", line 50, in set_current_macro
    self._set_macro(device, self.macro)
  File "/usr/share/razercommander/macro_logic.py", line 43, in _set_macro
    device.macro.del_macro(self.key)
AttributeError: 'RazerMouse' object has no attribute 'macro'

I'm on Archlinux using razercommander-git-1.1.0.r3.g17407d6-1 Razer Naga Hex v2

GabMus commented 7 years ago

@terrycain should see this

On Thu, Feb 23, 2017, 11:49 PM Themris notifications@github.com wrote:

I get this error when starting razercommander

Traceback (most recent call last): File "/usr/bin/razercommander", line 74, in refreshDevices() File "/usr/bin/razercommander", line 70, in refreshDevices initDevices() File "/usr/bin/razercommander", line 36, in initDevices newdev = device.Device(dev) File "/usr/share/razercommander/device.py", line 30, in init self.device) File "/usr/share/razercommander/macro_logic.py", line 73, in make_device n_device = MacroDevice(mk_arr, device_uid, device) File "/usr/share/razercommander/macro_logic.py", line 14, in init self.set_all_current_macros() File "/usr/share/razercommander/macro_logic.py", line 32, in set_all_current_macros key.set_current_macro(self.device) File "/usr/share/razercommander/macro_logic.py", line 50, in set_current_macro self._set_macro(device, self.macro) File "/usr/share/razercommander/macro_logic.py", line 43, in _set_macro device.macro.del_macro(self.key) AttributeError: 'RazerMouse' object has no attribute 'macro'

I'm on Archlinux using razercommander-git-1.1.0.r3.g17407d6-1 Razer Naga Hex v2

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GabMus/razerCommander/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/ABS6v8kScqhL20oDXe4_NHuCf07B3vOwks5rfgzcgaJpZM4MKmlj .

terricain commented 7 years ago

Am aware of this

On 23 Feb 2017 23:14, "Gabriele Musco" notifications@github.com wrote:

@terrycain should see this

On Thu, Feb 23, 2017, 11:49 PM Themris notifications@github.com wrote:

I get this error when starting razercommander

Traceback (most recent call last): File "/usr/bin/razercommander", line 74, in refreshDevices() File "/usr/bin/razercommander", line 70, in refreshDevices initDevices() File "/usr/bin/razercommander", line 36, in initDevices newdev = device.Device(dev) File "/usr/share/razercommander/device.py", line 30, in init self.device) File "/usr/share/razercommander/macro_logic.py", line 73, in make_device n_device = MacroDevice(mk_arr, device_uid, device) File "/usr/share/razercommander/macro_logic.py", line 14, in init self.set_all_current_macros() File "/usr/share/razercommander/macro_logic.py", line 32, in set_all_current_macros key.set_current_macro(self.device) File "/usr/share/razercommander/macro_logic.py", line 50, in set_current_macro self._set_macro(device, self.macro) File "/usr/share/razercommander/macro_logic.py", line 43, in _set_macro device.macro.del_macro(self.key) AttributeError: 'RazerMouse' object has no attribute 'macro'

I'm on Archlinux using razercommander-git-1.1.0.r3.g17407d6-1 Razer Naga Hex v2

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GabMus/razerCommander/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/ABS6v8kScqhL20oDXe4_ NHuCf07B3vOwks5rfgzcgaJpZM4MKmlj .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GabMus/razerCommander/issues/27#issuecomment-282152819, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5PXax7LI-Wi6FgcSNyGRh9t1EHZTVsks5rfhLpgaJpZM4MKmlj .

SoGCuicui commented 7 years ago

Hi, Exactly the same problem here, on Ubuntu 16.04 with a Naga Hex (lsusb gives me the reference "1532:0036") and a Naga Hex V2 ("1532:0050"). I am so sick of using a "xdotool" pseudo-solution which does not meet all my requirements...

terricain commented 7 years ago

Think ive fixed this, just not released yet

JalalAlbasri commented 7 years ago

+1 Ubuntu 16.10, razer naga hex v2

commenting out "/usr/share/razercommander/macro_logic.py", line 43 seemed to do the trick for me.

Edit: might have spoke too soon. The app launches but I can't seem to save any macros for the mouse like I can for the keyboard (Blackwidow Chroma v1)

GabMus commented 7 years ago

just tested the simulator with the latest git version of the driver and the naga hex v2 seems to work fine

SoGCuicui commented 7 years ago

Great news! :) I cannot test it right now, I will this evening.

GabMus commented 7 years ago

@SoGCuicui alright, let me know

SoGCuicui commented 7 years ago

Got:

Traceback (most recent call last):
  File "/usr/bin/razer-service", line 9, in <module>
    from razer_daemon.daemon import daemonize
ImportError: No module named 'razer_daemon'

after installed the driver from sources, which obviously wont starts.

I don't have enough energy to search what's going on for tonight... ^^' I just putted back the ppa version.

GabMus commented 7 years ago

@SoGCuicui not sure what happened here... Anyway, you should not include brackets, you should write d.fx. and then press the tab button twice to show suggestions

SoGCuicui commented 7 years ago

Hi, A few days has passed since I noticed that the Razer daemon has been upgraded with apt. I tested to launch razerCommander right now and it recognizing my Naga v2! I can change the color of the macro buttons, as well as their functions!

I am just wondering if we will be able to asign "previous" and "next" function to the wheel? As you may noticed, in this model the wheel can be moved left and right, but it does nothing as default on my Ubuntu, sadly.

Thank you for this awesome work!

terricain commented 7 years ago

Soon. The left and right is a complicated issue

On 25 Apr 2017 20:40, "SoGCuicui" notifications@github.com wrote:

Hi, A few days has passed since I noticed that the Razer daemon has been upgraded with apt. I tested to launch razerCommander right now and it recognizing my Naga v2! I can change the color of the macro buttons, as well as their functions!

I am just wondering if we will be able to asign "previous" and "next" function to the wheel? As you may noticed, in this model the wheel can be moved left and right, but it does nothing as default on my Ubuntu, sadly.

Thank you for this awesome work!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GabMus/razerCommander/issues/27#issuecomment-297142104, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5PXQ2ohXtOkM7JCW9dJXzTZuoAhPhHks5rzkwOgaJpZM4MKmlj .

GabMus commented 6 years ago

any news on this?

kgara commented 5 years ago

Naga Hex v.2 BlackWidow Ultimate 2013 razercommander_1.2.1.1ubuntu1_all.deb Also missing Macro section for both mouse and the keyboard. It was present in version V1.1.0. Will appreciate help.

kgara commented 5 years ago

Guys, any suspects or chances that it might be fixed? Thanks in advance.