Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class Not Registered #4

Open
julien-okonomi opened this issue Jun 5, 2023 · 0 comments
Open

Class Not Registered #4

julien-okonomi opened this issue Jun 5, 2023 · 0 comments

Comments

@julien-okonomi
Copy link

julien-okonomi commented Jun 5, 2023

I have the following error :

includes.OpenOPC.OPCError: Dispatch: Class not registered

I only tried the following :

[opc]
classname=
host=127.0.0.1
servers=Elipse.OPCSvr.1

here is the output terminal :

2023-06-08 14:22:32 - ## ---------------------------------- ##
2023-06-08 14:22:32 - ## STARTING http2opc daemon -------- ##
2023-06-08 14:22:32 - ## ---------------------------------- ##
2023-06-08 14:22:32 - Config file: main.conf
2023-06-08 14:22:32 - RestApi Server IP: 127.0.0.1
2023-06-08 14:22:32 - RestApi Server Port: 8003
2023-06-08 14:22:32 - Started REST API Server on port 8003
2023-06-08 14:22:32 - Opc Class: "Elipse Software Ltda"
2023-06-08 14:22:32 - Opc Servers: Elipse.OPCSvr.1
2023-06-08 14:22:32 - Opc Host: 127.0.0.1
Traceback (most recent call last):
File "d:/Python/opc-rest-api/http2opc/main.py", line 41, in
rest = ApiServers.RestApiServer(logger,server_ip, server_port)
File "d:\Python\opc-rest-api\http2opc\includes\ApiServers.py", line 31, in init
result = funcs.init()
File "d:\Python\opc-rest-api\http2opc\includes\ApiFunctions.py", line 41, in init
self.opc = OpenOPC.client()
File "d:\Python\opc-rest-api\http2opc\includes\OpenOPC.py", line 177, in init
raise OPCError, error_msg
includes.OpenOPC.OPCError: Dispatch: Class not registered
PS D:\Python\opc-rest-api\http2opc>

I only have the host ip (127.0.0.1) and opc name Elipse.OPCSvr.1

How to get the opc classname ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant