-
Notifications
You must be signed in to change notification settings - Fork 89
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
[0.3.1] Random crashes with module 'opcua.ua' has no attribute 'test_bit' #27
Comments
Thanks for the bug reports. This function has been moved... On Thu, Nov 17, 2016, 10:49 Sten Grüner notifications@github.com wrote:
|
this is fixed in master already On Thu, 17 Nov 2016 at 10:54 Olivier Roulet-Dubonnet <
|
Is there any way to pull master using pip? |
no. you need to clone python-opcua, then opcua-modeller then opcua-widgets On Thu, 17 Nov 2016 at 11:23 Sten Grüner notifications@github.com wrote:
|
or just do a quick copy-paste FAQ, would be sufficient |
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. |
@oroulet bump? |
What is the status here? Have you managed to run master? This is supposed to be fixed there. |
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. |
you can do as @zerox1212 says or look at README file, I just updated it |
@oroulet I got the following error when running app.py File "\freeopcua-modeler\WinPython-64bit-3.5.2.3Qt5 P.S. set the path in windows using set PYTHONPATH=%PYTHONPATH%;%cd%\python-opcua;%cd%\opcua-widgets |
what code are you running, that method was remove a few weeks ago...
Try to run master by downloading with git as written in README
…On Thu, 8 Dec 2016 at 09:59 Sten Grüner ***@***.***> wrote:
@oroulet <https://github.com/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'
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACcfzig7v8fxAU0TH23yWr5zl3XpSbZzks5rF8b3gaJpZM4K1FMJ>
.
|
i have downloaded master, I guess it takes the wrong dependency from site-packages and ignores pythonpath |
probably a typo somewhere
try to write
import uawidgets
print(uawidhets.__file__) then you will see what module is imported
…On Thu, 8 Dec 2016 at 10:06 Sten Grüner ***@***.***> wrote:
i have downloaded master, I guess it takes the wrong dependency from
site-packages and ignores pythonpath
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACcfztybpgQWqMHYQTvhlnu9FEHty53nks5rF8iagaJpZM4K1FMJ>
.
|
yes, typo from my side, i got master running, will test it a bit |
please update readme with the line for windows |
Great! It should have improved quite a lot since 0.3. I am waiting for
your feedback then we can release a new version
…On Thu, 8 Dec 2016 at 10:12 Sten Grüner ***@***.***> wrote:
please update readme with the line for windows
set PYTHONPATH=%PYTHONPATH%;%cd%\python-opcua;%cd%\opcua-widgets
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACcfzmcfiZ8lIh1SAkpIQmV-X1Arj_JGks5rF8oLgaJpZM4K1FMJ>
.
|
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'
The text was updated successfully, but these errors were encountered: