ArchiCAD Python Palette - AssertionError
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2025-06-04 04:36 AM
2025-06-04
04:36 AM
Configuration setting: ArchiCAD 27, Windows 10, Python 3.13.0
I used the sample python script "Excel File Exporter" which download from Graphisoft website (https://www.graphisoft.com/downloads/python/) and run in ArchiCAD Python Palette. However, the error "line 10, in <module> assert conn ^^^^ AssertionError" encountered.
Labels:
- Labels:
-
Possible Bug
-
Question
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2025-06-10 11:16 AM
2025-06-10
11:16 AM
Hello,
The error means the script has not found an Archicad instance listening in the standard port range on localhost. If that is the case, you should get the same error from all other scripts.
Which is strange. One unlikely possibilities come to mind:
- some windows/firewall/network settings overwrite the standard adress. I am no network expert, but you might try to troubleshooting with an AI. It usually works, but expect a lot of dead-ends. I posted your case https://chatgpt.com/share/6847f56d-2110-8013-8694-d2431f612c49