Code Monkey home page Code Monkey logo

Comments (18)

oroulet avatar oroulet commented on June 20, 2024 1

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.

oroulet avatar oroulet commented on June 20, 2024

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.

oroulet avatar oroulet commented on June 20, 2024

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.

Stasik0 avatar Stasik0 commented on June 20, 2024

Is there any way to pull master using pip?

from opcua-modeler.

Stasik0 avatar Stasik0 commented on June 20, 2024

or just do a quick copy-paste FAQ, would be sufficient

from opcua-modeler.

zerox1212 avatar zerox1212 commented on June 20, 2024

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.

Stasik0 avatar Stasik0 commented on June 20, 2024

@oroulet bump?

from opcua-modeler.

oroulet avatar oroulet commented on June 20, 2024

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.

Stasik0 avatar Stasik0 commented on June 20, 2024

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.

zerox1212 avatar zerox1212 commented on June 20, 2024

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:
image

Then you can run the project with app.py and have all the latest code

from opcua-modeler.

oroulet avatar oroulet commented on June 20, 2024

you can do as @zerox1212 says or look at README file, I just updated it

from opcua-modeler.

Stasik0 avatar Stasik0 commented on June 20, 2024

@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.

oroulet avatar oroulet commented on June 20, 2024

from opcua-modeler.

Stasik0 avatar Stasik0 commented on June 20, 2024

i have downloaded master, I guess it takes the wrong dependency from site-packages and ignores pythonpath

from opcua-modeler.

oroulet avatar oroulet commented on June 20, 2024

from opcua-modeler.

Stasik0 avatar Stasik0 commented on June 20, 2024

yes, typo from my side, i got master running, will test it a bit

from opcua-modeler.

Stasik0 avatar Stasik0 commented on June 20, 2024

please update readme with the line for windows
set PYTHONPATH=%PYTHONPATH%;%cd%\python-opcua;%cd%\opcua-widgets

from opcua-modeler.

oroulet avatar oroulet commented on June 20, 2024

from opcua-modeler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.