razerCommander icon indicating copy to clipboard operation
razerCommander copied to clipboard

RazerMouse object has no attribute 'macro'

Open A-Metaphysical-Drama opened this issue 8 years ago • 15 comments

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

A-Metaphysical-Drama avatar Feb 23 '17 22:02 A-Metaphysical-Drama

@terrycain should see this

On Thu, Feb 23, 2017, 11:49 PM Themris [email protected] 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 .

GabMus avatar Feb 23 '17 23:02 GabMus

Am aware of this

On 23 Feb 2017 23:14, "Gabriele Musco" [email protected] wrote:

@terrycain should see this

On Thu, Feb 23, 2017, 11:49 PM Themris [email protected] 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 .

terricain avatar Feb 24 '17 06:02 terricain

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...

SoGCuicui avatar Mar 17 '17 21:03 SoGCuicui

Think ive fixed this, just not released yet

terricain avatar Mar 17 '17 21:03 terricain

+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)

JalalAlbasri avatar Apr 10 '17 17:04 JalalAlbasri

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

GabMus avatar Apr 13 '17 10:04 GabMus

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

SoGCuicui avatar Apr 13 '17 10:04 SoGCuicui

@SoGCuicui alright, let me know

GabMus avatar Apr 13 '17 10:04 GabMus

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.

SoGCuicui avatar Apr 13 '17 20:04 SoGCuicui

@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

GabMus avatar Apr 14 '17 12:04 GabMus

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!

SoGCuicui avatar Apr 25 '17 19:04 SoGCuicui

Soon. The left and right is a complicated issue

On 25 Apr 2017 20:40, "SoGCuicui" [email protected] 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 .

terricain avatar Apr 26 '17 17:04 terricain

any news on this?

GabMus avatar Oct 26 '17 09:10 GabMus

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 avatar Dec 16 '18 17:12 kgara

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

kgara avatar Dec 25 '18 14:12 kgara