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

Problem with connection #64

Open
Ilia-urb opened this issue Jun 2, 2021 · 7 comments
Open

Problem with connection #64

Ilia-urb opened this issue Jun 2, 2021 · 7 comments

Comments

@Ilia-urb
Copy link

Ilia-urb commented Jun 2, 2021

AttributeError: 'SyncNode' object has no attribute 'get_attributes'

How can I fix this?

@bluet
Copy link

bluet commented Jun 22, 2021

Same problem here

@oroulet
Copy link
Member

oroulet commented Jun 22, 2021

how did you install modeller? I see the name is wrong.. it should be read_attributes

@oroulet
Copy link
Member

oroulet commented Jun 22, 2021

I pushed a fix to opcua-modeller master jus tnow

@oroulet
Copy link
Member

oroulet commented Jun 23, 2021

ops sorry. this was an issue with ua client gui. how did you instrall? The ua client gui should work if you use master for asyncua (clone from github) I need to do a realease very soon

@CuriousCrook
Copy link
Contributor

CuriousCrook commented Sep 24, 2021

Hello @oroulet,

same problem here.
This is the way I installed it:

  • I cloned opcua-asyncio and opcua-client-gui. (both master)
  • I installed both using pip.
  • I have fixed the error described in issue Run with: opcua-client Problem #62 .
  • I tried to start the application using a small main programm:
from uaclient import mainwindow

if __name__ == '__main__':
    mainwindow.main()

With kind regards
CC

@kharmabum
Copy link

I was able to resolve this issue with the following steps:

Replace the contents of setup.py with the following :

from setuptools import setup, find_packages

setup(name="opcua-client",
      version="0.8.0",
      description="OPC-UA Client GUI",
      author="Olivier R-D",
      url='https://github.com/FreeOpcUa/opcua-client-gui',
      packages=find_packages(),
      license="GNU General Public License",
      install_requires=[
        "asyncua @ git+https://github.com/FreeOpcUa/opcua-asyncio@02525a632e2e14d700ab2d5ec4a18596406640c4", 
        "opcua-widgets @ git+https://github.com/FreeOpcUa/opcua-widgets@efdbb7ef3e9502b1fc3738ab19f1689b2b7d2fa1", 
        "PyQt5"],
      entry_points={'console_scripts':
                    ['opcua-client = uaclient.mainwindow:main']
                    }
      )

Then run the following from the project root:

pip uninstall opcua-widgets
pip uninstall asyncua
pip install .

@oroulet
Copy link
Member

oroulet commented Dec 6, 2021

thank you for the report. There has been an issue in releae script. Everything should work now. Version should be 0,.8.2 on pip now

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

5 participants