-
Notifications
You must be signed in to change notification settings - Fork 22
Bug: 'Class not registered' when not using 32-bit PythonΒ #39
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Please see ya-mouse/openopc#22 for a 32-bit Python vs 64-bit Python issue. For reference, I have MatrikonOPC Simulation Server installed and running.
I had hoped that openopc2 didn't require a 32-bit Python, but when trying to use the OPC Gateway Service with 64-bit Python I get the same error message:
>>> python -m openopc2 list-servers
...
OPCError: (OPCError(...), 'Dispatch: (-2147221164, \'Class not registered\', None, None)
opc_class:"Matrikon.OPC.Automation"')When running with 32-bit Python, it now works fine:
>>> python -m openopc2 list-servers
Available OPC DA servers
βββββ¬ββββββββββββββββββββββββββββ
β # β Server Name β
βββββΌββββββββββββββββββββββββββββ€
β 0 β Matrikon.OPC.Simulation.1 β
βββββ΄ββββββββββββββββββββββββββββIt would be good to document this, and consider warning users of this possibility.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation