Error with blender 3.0

44 views
Skip to first unread message

yuhin cheng

unread,
Jan 24, 2022, 11:52:59 AM1/24/22
to autoPACK
Just installed and got this msg when starting autopack

Python: Traceback (most recent call last):
  File "C:\Users\james\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\upy_autoPack_plugin_blender.py", line 147, in execute
    afgui.setup(rep="af",host=upy.host)
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3576, in setup
    self.initWidget()
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3717, in initWidget
    self.initWidgetFiller()
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3801, in initWidgetFiller
    value=list(self.recipe_available["HIV"].keys()),
KeyError: 'HIV'

location: <unknown location>:-1

ludovic autin

unread,
Jan 24, 2022, 12:04:55 PM1/24/22
to autoPACK
Hi James,

could you copy here the full content of the windows console (Window->Toggle System console ). Is the ePMV add-on enable as well ?

Ludo

yuhin cheng

unread,
Jan 25, 2022, 3:30:17 AM1/25/22
to autoPACK
Hi Ludo,

here is the system console. I have enable the ePMV too.

C:\Users\james\.mgltools\1.5.7\Pmv\recent.pkl
skipping the isocontour-dependent commands
epmv started
epmv settitle
epmv set materials
epmv check extension
noModeller
noAutoFill
noARViewer
no pymol
no prody
idname  upy.UPY_MT_menu-ePMVui-File
register_class(...):
Warning: 'upy.UPY_MT_menu-ePMVui-File' doesn't have upper case alpha-numeric prefix
idname  upy.UPY_MT_menu-ePMVui-Edit
register_class(...):
Warning: 'upy.UPY_MT_menu-ePMVui-Edit' doesn't have upper case alpha-numeric prefix
idname  upy.UPY_MT_sub-ePMVui-3
register_class(...):
Warning: 'upy.UPY_MT_sub-ePMVui-3' doesn't have upper case alpha-numeric prefix
idname  upy.UPY_MT_menu-ePMVui-Extensions
register_class(...):
Warning: 'upy.UPY_MT_menu-ePMVui-Extensions' doesn't have upper case alpha-numeric prefix
idname  upy.UPY_MT_menu-ePMVui-Help
register_class(...):
Warning: 'upy.UPY_MT_menu-ePMVui-Help' doesn't have upper case alpha-numeric prefix
title modeller
title upy_blenderUI
bicyl {'id': 1, 'name': 'Split bonds (slower)', 'action': None, 'width': 180, 'height': 10, 'value': True, 'variable': ['int', True], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} True
<bpy_struct, Context at 0x000001ECED18B388>
center_mol {'id': 2, 'name': 'Center molecule to origin', 'action': None, 'width': 180, 'height': 10, 'value': True, 'variable': ['int', True], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} True
<bpy_struct, Context at 0x000001ECED18B388>
center_grid {'id': 3, 'name': 'Center Grid', 'action': None, 'width': 180, 'height': 10, 'value': True, 'variable': ['int', True], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} True
<bpy_struct, Context at 0x000001ECED18B388>
build_bonds {'id': 4, 'name': 'Build bonds by distance, with', 'action': None, 'width': 180, 'height': 10, 'value': True, 'variable': ['int', True], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} True
<bpy_struct, Context at 0x000001ECED18B388>
bonds_threshold {'id': 6, 'name': 'bonds distance cutoff', 'action': None, 'width': 180, 'height': 10, 'value': 1.1, 'variable': ['float', 1.1], 'type': 'inputFloat', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10.0, 'mini': 0.0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} 1.1
uniq_ss {'id': 7, 'name': 'Single colorizable mesh for Ribbon and Beaded Ribbon', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
updateColor {'id': 8, 'name': 'Update color automatically for multi-state models', 'action': None, 'width': 180, 'height': 10, 'value': True, 'variable': ['int', True], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} True
<bpy_struct, Context at 0x000001ECED18B388>
use_instances {'id': 9, 'name': 'Build instances for atoms and bonds', 'action': None, 'width': 180, 'height': 10, 'value': True, 'variable': ['int', True], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} True
<bpy_struct, Context at 0x000001ECED18B388>
use_progressBar {'id': 10, 'name': 'Progress bar', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
doCamera {'id': 11, 'name': 'PMV camera', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
removeWater {'id': 12, 'name': 'Remove water', 'action': None, 'width': 180, 'height': 10, 'value': True, 'variable': ['int', True], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} True
<bpy_struct, Context at 0x000001ECED18B388>
<bpy_struct, Context at 0x000001ECED18B388>
join_ss {'id': 15, 'name': 'Connect Ribbon geometry', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
force_pross {'id': 16, 'name': 'Force PROSS (override pdb file SS)', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
doLight {'id': 17, 'name': 'PMV light', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
useModeller {'id': 18, 'name': 'Use Modeller', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
usePymol {'id': 19, 'name': 'Use PyMOL', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
synchro_realtime {'id': 20, 'name': 'Viewport changes modify PDB data (Synchro realtime)', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
forceFetch {'id': 21, 'name': 'Override cache version when [Fetch]ing new molecule', 'action': None, 'width': 180, 'height': 10, 'value': False, 'variable': ['int', False], 'type': 'checkbox', 'tooltip': '', 'label': None, 'icon': None, 'maxi': 10, 'mini': 0, 'step': 1, 'show': True, 'trigger': False, 'sub': None, 'precision': 4.0, 'alignement': 'hfit_scale'} False
<bpy_struct, Context at 0x000001ECED18B388>
<bpy_struct, Context at 0x000001ECED18B388>
<bpy_struct, Context at 0x000001ECED18B388>
<bpy_struct, Context at 0x000001ECED18B388>
title upy_blenderUI
title upy_blenderUI
title APBS
title upy_blenderUI
title upy_blenderUI
title upy_blenderUI
title upy_blenderUI
title upy_blenderUI
title upy_blenderUI
register_class(...):
Warning: 'Register_ePMVui' does not contain '_PT_' with prefix and suffix
register_class(...):
Warning: 'ePMVui' does not contain '_PT_' with prefix and suffix
C:\Users\james\AppData\Roaming\autoPACK\preferences\path_preferences.json file is not found
problem accessing path https://cdn.rawgit.com/mesoscope/cellPACK_data/master/autoPACK_filePaths.json
problem accessing path https://cdn.rawgit.com/mesoscope/cellPACK_data/master/autoPACK_filePaths.json
C:\Users\james\AppData\Roaming\autoPACK\preferences\path_preferences.json file is not found
path are updated
problem accessing recipe https://cdn.rawgit.com/mesoscope/cellPACK_data/master/cellPACK_database_1.1.0/autopack_recipe.json
currently nb recipes is 0
getUIClass  blender25
getUIClass  blender25
helper in Ingredient is None
title upy_blenderUI
blender unit setup
blender unit setup
idname  upy.UPY_MT_menu-autoPACKui-File
register_class(...):
Warning: 'upy.UPY_MT_menu-autoPACKui-File' doesn't have upper case alpha-numeric prefix
idname  upy.UPY_MT_menu-autoPACKui-Edit
register_class(...):
Warning: 'upy.UPY_MT_menu-autoPACKui-Edit' doesn't have upper case alpha-numeric prefix
idname  upy.UPY_MT_menu-autoPACKui-Help
register_class(...):
Warning: 'upy.UPY_MT_menu-autoPACKui-Help' doesn't have upper case alpha-numeric prefix

Python: Traceback (most recent call last):
  File "C:\Users\james\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\upy_autoPack_plugin_blender.py", line 147, in execute
    afgui.setup(rep="af",host=upy.host)
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3576, in setup
    self.initWidget()
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3717, in initWidget
    self.initWidgetFiller()
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3801, in initWidgetFiller
    value=list(self.recipe_available["HIV"].keys()),
KeyError: 'HIV'

location: <unknown location>:-1
Error: Python: Traceback (most recent call last):

  File "C:\Users\james\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\upy_autoPack_plugin_blender.py", line 147, in execute
    afgui.setup(rep="af",host=upy.host)
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3576, in setup
    self.initWidget()
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3717, in initWidget
    self.initWidgetFiller()
  File "C:\Users\james\Desktop\blender-3.0.0-windows-x64/MGLToolsPckgs\autopack\Gui.py", line 3801, in initWidgetFiller
    value=list(self.recipe_available["HIV"].keys()),
KeyError: 'HIV'

location: <unknown location>:-1

ludovic autin

unread,
Jan 25, 2022, 12:10:21 PM1/25/22
to autoPACK
Thanks, do you use a firewall or do you block blender to access the internet. It seems the problem is that python is not able to access the following file from github which list the currently available recipes :
what about this one :
and this one :
Can you access that link in a browser ?

A work arround would be to manually create the preferences folder. You can download the following archive autopack_preferences_cache. Unzip the file and move the directory autoPACK in C:\Users\james\AppData\Roaming\ . Restart blender and try again.

Ludo
Reply all
Reply to author
Forward
0 new messages