Amaranth toolset bug in Blender2.80 beta #63909

Closed
opened 2019-04-26 14:41:43 +02:00 by Victor Makushin · 6 comments

System Information
Computer:

    Computer Type                                     ACPI x64-based PC  (Mobile)
    Operating System                                  Microsoft Windows 8.1 Enterprise
    DirectX                                           DirectX 11.2
    Date / Time                                       2019-04-26 / 15:16
  Motherboard:
    CPU Type                                          Mobile QuadCore Intel Core i7-2630QM, 2600 MHz (26 x 100)
    Motherboard Name                                  Asus G74Sx Series Notebook
    Motherboard Chipset                               Intel Cougar Point HM65, Intel Sandy Bridge
    System Memory                                     8169 MB  (DDR3 SDRAM)
    BIOS Type                                         AMI (04/27/2011)
  Display:
    Video Adapter                                     NVIDIA GeForce GTX 560M  (3 GB)
    Monitor                                           Chi Mei N173HGE-L21  [17.3" LCD]
  Multimedia:
    Audio Adapter                                     nVIDIA HDMI/DP @ nVIDIA GF116 - High Definition Audio Controller
   Storage:
    IDE Controller                                    Standard SATA AHCI Controller
    Storage Controller                                Microsoft Storage Spaces Controller
    Disk Drive                                        ST9500423AS  (500 GB, 7200 RPM, SATA-II)
    Disk Drive                                        ST95005620AS  (500 GB, 7200 RPM, SATA-II)
    Optical Drive                                     DTSOFT Virtual CdRom Device
    Optical Drive                                     Slimtype BD  E  DS4E1S
    SMART Hard Disks Status                           OK
 
    Network Adapter                                   Bluetooth Device (Personal Area Network)
    Network Adapter                                   Microsoft Wi-Fi Direct Virtual Adapter
    Network Adapter                                   Qualcomm Atheros AR9002WB-1NG Wireless Network Adapter  (192.168.1.3)
    Network Adapter                                   Realtek PCIe GBE Family Controller
  Peripherals:
    USB2 Controller                                   Intel Cougar Point PCH - USB EHCI #1 Controller [B-3]
    USB2 Controller                                   Intel Cougar Point PCH - USB EHCI #2 Controller [B-3]
    USB3 Controller                                   Fresco Logic FL1000 USB 3.0 xHCI Controller
    Battery                                           Microsoft AC Adapter
    Battery                                           Microsoft ACPI-Compliant Control Method Battery
  

Blender Version
blender2.80 beta, 1b839e85e142, 2019-04-24, (as found on the splash screen)

Short description of error
When I try to include Amaranth toolset in the addon list, I get next error:

Traceback (most recent call last):

File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\modules\addon_utils.py", line 384, in enable
  mod.register()
File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\__init__.py", line 117, in register
  _call_globals("register")
File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\__init__.py", line 106, in _call_globals
  getattr(m, attr_name)()
File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\node_editor\display_image.py", line 97, in register
  "ACTIONMOUSE", "DOUBLE_CLICK")

TypeError: KeyMapItems.new(): error with argument 2, "type" - enum "ACTIONMOUSE" not found in ('NONE', 'LEFTMOUSE', 'MIDDLEMOUSE', 'RIGHTMOUSE', 'BUTTON4MOUSE', 'BUTTON5MOUSE', 'BUTTON6MOUSE', 'BUTTON7MOUSE', 'PEN', 'ERASER', 'MOUSEMOVE', 'INBETWEEN_MOUSEMOVE', 'TRACKPADPAN', 'TRACKPADZOOM', 'MOUSEROTATE', 'WHEELUPMOUSE', 'WHEELDOWNMOUSE', 'WHEELINMOUSE', 'WHEELOUTMOUSE', 'EVT_TWEAK_L', 'EVT_TWEAK_M', 'EVT_TWEAK_R', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'ZERO', 'ONE', 'TWO', 'THREE', 'FOUR', 'FIVE', 'SIX', 'SEVEN', 'EIGHT', 'NINE', 'LEFT_CTRL', 'LEFT_ALT', 'LEFT_SHIFT', 'RIGHT_ALT', 'RIGHT_CTRL', 'RIGHT_SHIFT', 'OSKEY', 'GRLESS', 'ESC', 'TAB', 'RET', 'SPACE', 'LINE_FEED', 'BACK_SPACE', 'DEL', 'SEMI_COLON', 'PERIOD', 'COMMA', 'QUOTE', 'ACCENT_GRAVE', 'MINUS', 'PLUS', 'SLASH', 'BACK_SLASH', 'EQUAL', 'LEFT_BRACKET', 'RIGHT_BRACKET', 'LEFT_ARROW', 'DOWN_ARROW', 'RIGHT_ARROW', 'UP_ARROW', 'NUMPAD_2', 'NUMPAD_4', 'NUMPAD_6', 'NUMPAD_8', 'NUMPAD_1', 'NUMPAD_3', 'NUMPAD_5', 'NUMPAD_7', 'NUMPAD_9', 'NUMPAD_PERIOD', 'NUMPAD_SLASH', 'NUMPAD_ASTERIX', 'NUMPAD_0', 'NUMPAD_MINUS', 'NUMPAD_ENTER', 'NUMPAD_PLUS', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'F13', 'F14', 'F15', 'F16', 'F17', 'F18', 'F19', 'PAUSE', 'INSERT', 'HOME', 'PAGE_UP', 'PAGE_DOWN', 'END', 'MEDIA_PLAY', 'MEDIA_STOP', 'MEDIA_FIRST', 'MEDIA_LAST', 'TEXTINPUT', 'WINDOW_DEACTIVATE', 'TIMER', 'TIMER0', 'TIMER1', 'TIMER2', 'TIMER_JOBS', 'TIMER_AUTOSAVE', 'TIMER_REPORT', 'TIMERREGION', 'NDOF_MOTION', 'NDOF_BUTTON_MENU', 'NDOF_BUTTON_FIT', 'NDOF_BUTTON_TOP', 'NDOF_BUTTON_BOTTOM', 'NDOF_BUTTON_LEFT', 'NDOF_BUTTON_RIGHT', 'NDOF_BUTTON_FRONT', 'NDOF_BUTTON_BACK', 'NDOF_BUTTON_ISO1', 'NDOF_BUTTON_ISO2', 'NDOF_BUTTON_ROLL_CW', 'NDOF_BUTTON_ROLL_CCW', 'NDOF_BUTTON_SPIN_CW', 'NDOF_BUTTON_SPIN_CCW', 'NDOF_BUTTON_TILT_CW', 'NDOF_BUTTON_TILT_CCW', 'NDOF_BUTTON_ROTATE', 'NDOF_BUTTON_PANZOOM', 'NDOF_BUTTON_DOMINANT', 'NDOF_BUTTON_PLUS', 'NDOF_BUTTON_MINUS', 'NDOF_BUTTON_ESC', 'NDOF_BUTTON_ALT', 'NDOF_BUTTON_SHIFT', 'NDOF_BUTTON_CTRL', 'NDOF_BUTTON_1', 'NDOF_BUTTON_2', 'NDOF_BUTTON_3', 'NDOF_BUTTON_4', 'NDOF_BUTTON_5', 'NDOF_BUTTON_6', 'NDOF_BUTTON_7', 'NDOF_BUTTON_8', 'NDOF_BUTTON_9', 'NDOF_BUTTON_10', 'NDOF_BUTTON_A', 'NDOF_BUTTON_B', 'NDOF_BUTTON_C', 'ACTIONZONE_AREA', 'ACTIONZONE_REGION', 'ACTIONZONE_FULLSCREEN')

Traceback (most recent call last):

File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\modules\addon_utils.py", line 384, in enable
  mod.register()
File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\__init__.py", line 117, in register
  _call_globals("register")
File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\__init__.py", line 106, in _call_globals
  getattr(m, attr_name)()
File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\prefs.py", line 130, in register
  bpy.utils.register_class(AmaranthToolsetPreferences)

ValueError: register_class(...): already registered as a subclass

Exact steps for others to reproduce the error
Simply try to enable this addon...

**System Information** Computer: ``` Computer Type ACPI x64-based PC (Mobile) Operating System Microsoft Windows 8.1 Enterprise DirectX DirectX 11.2 Date / Time 2019-04-26 / 15:16 ``` ``` Motherboard: CPU Type Mobile QuadCore Intel Core i7-2630QM, 2600 MHz (26 x 100) Motherboard Name Asus G74Sx Series Notebook Motherboard Chipset Intel Cougar Point HM65, Intel Sandy Bridge System Memory 8169 MB (DDR3 SDRAM) BIOS Type AMI (04/27/2011) ``` ``` Display: Video Adapter NVIDIA GeForce GTX 560M (3 GB) Monitor Chi Mei N173HGE-L21 [17.3" LCD] ``` ``` Multimedia: Audio Adapter nVIDIA HDMI/DP @ nVIDIA GF116 - High Definition Audio Controller Storage: IDE Controller Standard SATA AHCI Controller Storage Controller Microsoft Storage Spaces Controller Disk Drive ST9500423AS (500 GB, 7200 RPM, SATA-II) Disk Drive ST95005620AS (500 GB, 7200 RPM, SATA-II) Optical Drive DTSOFT Virtual CdRom Device Optical Drive Slimtype BD E DS4E1S SMART Hard Disks Status OK Network Adapter Bluetooth Device (Personal Area Network) Network Adapter Microsoft Wi-Fi Direct Virtual Adapter Network Adapter Qualcomm Atheros AR9002WB-1NG Wireless Network Adapter (192.168.1.3) Network Adapter Realtek PCIe GBE Family Controller ``` ``` Peripherals: USB2 Controller Intel Cougar Point PCH - USB EHCI #1 Controller [B-3] USB2 Controller Intel Cougar Point PCH - USB EHCI #2 Controller [B-3] USB3 Controller Fresco Logic FL1000 USB 3.0 xHCI Controller Battery Microsoft AC Adapter Battery Microsoft ACPI-Compliant Control Method Battery ``` ``` ``` **Blender Version** blender2.80 beta, 1b839e85e142, 2019-04-24, (as found on the splash screen) **Short description of error** When I try to include Amaranth toolset in the addon list, I get next error: Traceback (most recent call last): ``` File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\modules\addon_utils.py", line 384, in enable mod.register() File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\__init__.py", line 117, in register _call_globals("register") File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\__init__.py", line 106, in _call_globals getattr(m, attr_name)() File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\node_editor\display_image.py", line 97, in register "ACTIONMOUSE", "DOUBLE_CLICK") ``` TypeError: KeyMapItems.new(): error with argument 2, "type" - enum "ACTIONMOUSE" not found in ('NONE', 'LEFTMOUSE', 'MIDDLEMOUSE', 'RIGHTMOUSE', 'BUTTON4MOUSE', 'BUTTON5MOUSE', 'BUTTON6MOUSE', 'BUTTON7MOUSE', 'PEN', 'ERASER', 'MOUSEMOVE', 'INBETWEEN_MOUSEMOVE', 'TRACKPADPAN', 'TRACKPADZOOM', 'MOUSEROTATE', 'WHEELUPMOUSE', 'WHEELDOWNMOUSE', 'WHEELINMOUSE', 'WHEELOUTMOUSE', 'EVT_TWEAK_L', 'EVT_TWEAK_M', 'EVT_TWEAK_R', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'ZERO', 'ONE', 'TWO', 'THREE', 'FOUR', 'FIVE', 'SIX', 'SEVEN', 'EIGHT', 'NINE', 'LEFT_CTRL', 'LEFT_ALT', 'LEFT_SHIFT', 'RIGHT_ALT', 'RIGHT_CTRL', 'RIGHT_SHIFT', 'OSKEY', 'GRLESS', 'ESC', 'TAB', 'RET', 'SPACE', 'LINE_FEED', 'BACK_SPACE', 'DEL', 'SEMI_COLON', 'PERIOD', 'COMMA', 'QUOTE', 'ACCENT_GRAVE', 'MINUS', 'PLUS', 'SLASH', 'BACK_SLASH', 'EQUAL', 'LEFT_BRACKET', 'RIGHT_BRACKET', 'LEFT_ARROW', 'DOWN_ARROW', 'RIGHT_ARROW', 'UP_ARROW', 'NUMPAD_2', 'NUMPAD_4', 'NUMPAD_6', 'NUMPAD_8', 'NUMPAD_1', 'NUMPAD_3', 'NUMPAD_5', 'NUMPAD_7', 'NUMPAD_9', 'NUMPAD_PERIOD', 'NUMPAD_SLASH', 'NUMPAD_ASTERIX', 'NUMPAD_0', 'NUMPAD_MINUS', 'NUMPAD_ENTER', 'NUMPAD_PLUS', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12', 'F13', 'F14', 'F15', 'F16', 'F17', 'F18', 'F19', 'PAUSE', 'INSERT', 'HOME', 'PAGE_UP', 'PAGE_DOWN', 'END', 'MEDIA_PLAY', 'MEDIA_STOP', 'MEDIA_FIRST', 'MEDIA_LAST', 'TEXTINPUT', 'WINDOW_DEACTIVATE', 'TIMER', 'TIMER0', 'TIMER1', 'TIMER2', 'TIMER_JOBS', 'TIMER_AUTOSAVE', 'TIMER_REPORT', 'TIMERREGION', 'NDOF_MOTION', 'NDOF_BUTTON_MENU', 'NDOF_BUTTON_FIT', 'NDOF_BUTTON_TOP', 'NDOF_BUTTON_BOTTOM', 'NDOF_BUTTON_LEFT', 'NDOF_BUTTON_RIGHT', 'NDOF_BUTTON_FRONT', 'NDOF_BUTTON_BACK', 'NDOF_BUTTON_ISO1', 'NDOF_BUTTON_ISO2', 'NDOF_BUTTON_ROLL_CW', 'NDOF_BUTTON_ROLL_CCW', 'NDOF_BUTTON_SPIN_CW', 'NDOF_BUTTON_SPIN_CCW', 'NDOF_BUTTON_TILT_CW', 'NDOF_BUTTON_TILT_CCW', 'NDOF_BUTTON_ROTATE', 'NDOF_BUTTON_PANZOOM', 'NDOF_BUTTON_DOMINANT', 'NDOF_BUTTON_PLUS', 'NDOF_BUTTON_MINUS', 'NDOF_BUTTON_ESC', 'NDOF_BUTTON_ALT', 'NDOF_BUTTON_SHIFT', 'NDOF_BUTTON_CTRL', 'NDOF_BUTTON_1', 'NDOF_BUTTON_2', 'NDOF_BUTTON_3', 'NDOF_BUTTON_4', 'NDOF_BUTTON_5', 'NDOF_BUTTON_6', 'NDOF_BUTTON_7', 'NDOF_BUTTON_8', 'NDOF_BUTTON_9', 'NDOF_BUTTON_10', 'NDOF_BUTTON_A', 'NDOF_BUTTON_B', 'NDOF_BUTTON_C', 'ACTIONZONE_AREA', 'ACTIONZONE_REGION', 'ACTIONZONE_FULLSCREEN') Traceback (most recent call last): ``` File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\modules\addon_utils.py", line 384, in enable mod.register() File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\__init__.py", line 117, in register _call_globals("register") File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\__init__.py", line 106, in _call_globals getattr(m, attr_name)() File "D:\Main_Progs\3D\blender-2.80.0-git.1b839e85e142-windows64\2.80\scripts\addons_contrib\amaranth\prefs.py", line 130, in register bpy.utils.register_class(AmaranthToolsetPreferences) ``` ValueError: register_class(...): already registered as a subclass *Exact steps for others to reproduce the error* Simply try to enable this addon...

Added subscriber: @mvj1

Added subscriber: @mvj1
Member

Added subscriber: @CansecoGPC

Added subscriber: @CansecoGPC
Member

I can confirm, but i did update the addon with the latest API changes, D4487, just missing one feature that doesn't work, so waiting for the addon maintainers to fix it.

I can confirm, but i did update the addon with the latest API changes, [D4487](https://archive.blender.org/developer/D4487), just missing one feature that doesn't work, so waiting for the addon maintainers to fix it.

Added subscriber: @Harvester

Added subscriber: @Harvester
Pablo Vazquez self-assigned this 2019-05-22 16:25:42 +02:00

This issue was referenced by blender/blender-addons-contrib@2a0f581273

This issue was referenced by blender/blender-addons-contrib@2a0f581273e0f3e97b328cd628162a4856d3c1eb
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#63909
No description provided.