WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

error on listing servers #6

@Miky94

Description

@Miky94

I followed OpenOPC Library Tutorial:

import OpenOPC
opc = OpenOPC.open_client('<server-ip>')
opc.servers()

but when I try listing servers I get:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\Pyro\core.py", line 381, in __call__
    return self.__send(self.__name, args, kwargs)
  File "C:\Python27\lib\site-packages\Pyro\core.py", line 455, in _invokePYRO
    self.adapter.bindToURI(self.URI)
  File "C:\Python27\lib\site-packages\Pyro\protocol.py", line 330, in bindToURI
    raise ProtocolError('connection failed')
Pyro.errors.ProtocolError: connection failed

suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions