umati / sample-server-asyncio Goto Github PK
View Code? Open in Web Editor NEWOPC UA Sample Server based on FreeOpcUa/opcua-asyncio. Showcasing how to implement companion specifications.
License: Apache License 2.0
OPC UA Sample Server based on FreeOpcUa/opcua-asyncio. Showcasing how to implement companion specifications.
License: Apache License 2.0
If there arent present on purpose we should at least document where they can find them!
Start setup...
Setup done! 2.037533760070801s
Importing companion spec. XML...
[Errno 2] No such file or directory: 'c:\\Users\\HeineAn\\Downloads\\Sample-Server-asyncio-develop\\Sample-Server-asyncio-develop\\deps\\UA-Nodeset\\DI\\Opc.Ua.Di.NodeSet2.xml'
Traceback (most recent call last):
File "c:/Users/HeineAn/Downloads/Sample-Server-asyncio-develop/Sample-Server-asyncio-develop/src/server.py", line 233, in <module>
asyncio.run(main())
File "C:\Users\HeineAn\AppData\Local\Programs\Python\Python37-32\lib\asyncio\runners.py", line 43, in run
return loop.run_until_complete(main)
File "C:\Users\HeineAn\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 584, in run_until_complete
return future.result()
File "c:/Users/HeineAn/Downloads/Sample-Server-asyncio-develop/Sample-Server-asyncio-develop/src/server.py", line 65, in main
di_idx = await server.get_namespace_index("http://opcfoundation.org/UA/DI/")
File "C:\Users\HeineAn\AppData\Local\Programs\Python\Python37-32\lib\site-packages\asyncua\server\server.py", line 471, in get_namespace_index
return uries.index(uri)
ValueError: 'http://opcfoundation.org/UA/DI/' is not in list
There seems to be a regression: When Browse
ing sometimes the TypeDefintion in BrowseResults is missing (i.e set to ns="";i=0). I remembered this issue to be fixed.
https://reference.opcfoundation.org/v104/Core/docs/Part4/7.3/#Table114
https://reference.opcfoundation.org/v104/Core/docs/Part4/7.25/
Hi there
I am quite new to this so I am not sure, but it seems to me that the nodeset collection under Sample-Server-asyncio/deps/ seems to be 2 years old. Is there a reason for it?
When I tried to replace the collection with the latest (https://github.com/OPCFoundation/UA-Nodeset/tree/latest) I got the error that "Opc.Ua.Machinery.NodeSet2.xml" is missing the http://opcfoundation.org/UA/ - Version: 1.05.02. The DI Nodeset file which requires UA Version="1.05.01" could be imported successfully. Is there any possibility to get a asyncio Server that supports the UA namespace version 1.05.02?
Many thanks for some help or a hint in advance.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
docker-compose.yml
Dockerfile
python 3.11-bookworm
.github/workflows/Dockerbuild.yml
actions/checkout v4.1.6
docker/setup-qemu-action v3.0.0
docker/setup-buildx-action v3.3.0
docker/login-action v3.1.0
docker/metadata-action v5.5.1
docker/build-push-action v5.3.0
ubuntu 22.04
.github/workflows/cleanup_containers.yml
actions/github-script v7.0.1
requirements.txt
aiofiles ==23.2.1
aiofile ==3.8.8
aiosqlite ==0.20.0
altgraph ==0.17.4
asyncua ==1.1.0
cffi ==1.16.0
cryptography ==42.0.7
future ==1.0.0
importlib-metadata ==7.1.0
pefile ==2023.2.7
pycparser ==2.22
pyinstaller ==6.7.0
pyinstaller-hooks-contrib ==2024.6
python-dateutil ==2.9.0.post0
pytz ==2024.1
pywin32-ctypes ==0.2.2
six ==1.16.0
typing-extensions ==4.11.0
zipp ==3.18.2
pandas ==2.2.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.