Comments (18)
no. you need to clone python-opcua, then opcua-modeller then opcua-widgets
as uawidget in opcua-modeller directory. Maybe I should write a script
On Thu, 17 Nov 2016 at 11:23 Sten Grüner [email protected] wrote:
Is there any way to pull master using pip?
—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
#27 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACcfzg2_NY1Jd0-XaUHFI0sJuc1ECWfGks5q_Cs0gaJpZM4K1FMJ
.
from opcua-modeler.
Thanks for the bug reports. This function has been moved...
On Thu, Nov 17, 2016, 10:49 Sten Grüner [email protected] wrote:
Traceback (most recent call last):
File "\WinPython-64bit-3.5.2.3Qt5\python-3.5.2.amd64
\lib\site-packages\uawidgets\attrs_widget.py", line 204, in createEditor
return BitEditor(parent, attr, dv.Value.Value)
File "\WinPython-64bit-3.5.2.3Qt5\python-3.5.2.amd64
\lib\site-packages\uawidgets\attrs_widget.py", line 30, in init
if ua.test_bit(val, el.value):
AttributeError: module 'opcua.ua' has no attribute 'test_bit'—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#27, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACcfzn5_CBF2cky6r9RkGb62vdqoG-sbks5q_CMmgaJpZM4K1FMJ
.
from opcua-modeler.
this is fixed in master already
On Thu, 17 Nov 2016 at 10:54 Olivier Roulet-Dubonnet <
[email protected]> wrote:
Thanks for the bug reports. This function has been moved...
On Thu, Nov 17, 2016, 10:49 Sten Grüner [email protected] wrote:
Traceback (most recent call last):
File "\WinPython-64bit-3.5.2.3Qt5\python-3.5.2.amd64
\lib\site-packages\uawidgets\attrs_widget.py", line 204, in createEditor
return BitEditor(parent, attr, dv.Value.Value)
File "\WinPython-64bit-3.5.2.3Qt5\python-3.5.2.amd64
\lib\site-packages\uawidgets\attrs_widget.py", line 30, in init
if ua.test_bit(val, el.value):
AttributeError: module 'opcua.ua' has no attribute 'test_bit'—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#27, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACcfzn5_CBF2cky6r9RkGb62vdqoG-sbks5q_CMmgaJpZM4K1FMJ
.
from opcua-modeler.
Is there any way to pull master using pip?
from opcua-modeler.
or just do a quick copy-paste FAQ, would be sufficient
from opcua-modeler.
What I normally do is pull opcua-modeler, python-opcua, opcua-widgets to my local machine. Then I copy the opcua and widgets folder into the modeler folder. After that I run it from my IDE (run app.py).
Running it in debug will let you fix lots of these little bugs from this being an early release.
If you are actually doing work with modeler, definitely save a lot lol.
from opcua-modeler.
@oroulet bump?
from opcua-modeler.
What is the status here? Have you managed to run master? This is supposed to be fixed there.
If you can test master and give feedback we can make a new release. We fixed many things
from opcua-modeler.
Sorry, but is there some quick reference how to run master (i am familiar with git, but not with python infrastructure)? It will probably be useful for other "bleeding edge"-tester as well.
from opcua-modeler.
Python always searches for dependencies locally first, so if you just copy the opcua
and uawidgets
folder to the opcua-modeler
folder python will use that, even if you have other libraries installed with pip.
After you pull opcua-modeler
master, copy the other latest masters so your modeler folder looks like this:
Then you can run the project with app.py
and have all the latest code
from opcua-modeler.
you can do as @zerox1212 says or look at README file, I just updated it
from opcua-modeler.
@oroulet I got the following error when running app.py
File "\freeopcua-modeler\WinPython-64bit-3.5.2.3Qt5
python-3.5.2.amd64\lib\site-packages\uawidgets\new_node_dialogs.py", line 6, in
from opcua.common.ua_utils import dtype_to_vtype
ImportError: cannot import name 'dtype_to_vtype'
P.S. set the path in windows using set PYTHONPATH=%PYTHONPATH%;%cd%\python-opcua;%cd%\opcua-widgets
from opcua-modeler.
from opcua-modeler.
i have downloaded master, I guess it takes the wrong dependency from site-packages and ignores pythonpath
from opcua-modeler.
from opcua-modeler.
yes, typo from my side, i got master running, will test it a bit
from opcua-modeler.
please update readme with the line for windows
set PYTHONPATH=%PYTHONPATH%;%cd%\python-opcua;%cd%\opcua-widgets
from opcua-modeler.
from opcua-modeler.
Related Issues (20)
- Possible to add object array to a Object Type? HOT 1
- Pull Properties from TypeDefinition HOT 3
- List Index out of Range HOT 1
- Cannot load MachineVision Specification nodeset
- TypeError: hasattr(): attribute name must be string HOT 3
- enumeration HOT 4
- Installation on Windows 10
- SyncNode' object has no attribute 'get_attributes' HOT 5
- --
- ImportError: cannot import name 'type_string_from_type' from 'asyncua.ua.uatypes
- XML Parsing Error HOT 1
- AttributeError: 'Node' object has no attribute 'read_attributes' HOT 6
- TypeError: __init__() got an unexpected keyword argument 'namespaceidx' HOT 4
- opcua-modeler==0.5.12 incompatible with python-opcua==0.98.13 HOT 7
- Impossible to load default schema `Opc.Ua.Di.NodeSet2.xml` HOT 1
- Unable to save model HOT 2
- unable to install
- Crash upon entering reference HOT 1
- Scrambled Namespaces
- Annoying focus policy in dialogs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opcua-modeler.