PythonParts don't run after hotfixes


after hotfixes instalation (all hotfixes for 2020 version: from 2020-0-1 to 2020-0-6 and from 2020-1 to 2020-1-10) any PythonParts doesn;t run. I receive some errors:
"" File "C:\ProgramData\Nemetschek\Allplan\2020\Etc\PythonPartsScripts\GeneralScripts\", line 50, in create_library_preview
BuildingElementService().read_data_from_pyp(file_name, None, True, material_str_table)
File "C:\ProgramData\Nemetschek\Allplan\2020\Etc\PythonPartsScripts\GeneralScripts\", line 144, in read_data_from_pyp
sub_file_name, str_table, material_str_table, iteration == 0):
File "C:\ProgramData\Nemetschek\Allplan\2020\Etc\PythonPartsScripts\GeneralScripts\", line 351, in create_building_element_list
name_counter = Counter()
File "C:\Program Files\Allplan\AllplanPrecast 2020_1\Prg\Python\Lib\collections\", line 534, in __init__
super(Counter, self).__init__()
TypeError: super(type, obj): obj must be an instance or subtype of type"

How to fix it?

best regards,

1 - 3 (3)
  • 1

Hello Krzysztof,

please try a full installation of the last version. Maybe something goes wrong during the hotfix installation.

Best regards

Hello Horst,
I found the problem- in pure Allplan 2020 it works fine. Problem is with Planbar2020.
When I've run Allplan 2020 it works. After that when I've run Planbar 2020 again and I received many other errors like:
'AttributeError: module 'collections' has no attribute 'MutableMapping'

best regards,

1 - 3 (3)
  • 1 uses cookies  -  More information