[Beremiz-devel] Beremiz

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] Beremiz

Андрей Яникеев

Hello everyone!

I caught an error when I tried choose URI_location. Exception text:

 

  File "/home/user/_projects/Beremiz_clear/editors/ConfTreeNodeEditor.py", line 348, in UriOptions

    dialog = UriLocationEditor.UriLocationEditor(CTR_AppFrame, uri)

  File "/home/user/_projects/Beremiz_clear/controls/UriLocationEditor.py", line 62, in __init__

    self.SetURI(uri)

  File "/home/user/_projects/Beremiz_clear/controls/UriLocationEditor.py", line 82, in SetURI

    type = GetConnectorFromURI(uri_type)

  File "/home/user/_projects/Beremiz_clear/connectors/__init__.py", line 98, in GetConnectorFromURI

    connectorTypes = connectors_dialog[conn_type]["URITypes"]()

  File "/home/user/_projects/Beremiz_clear/connectors/__init__.py", line 45, in <lambda>

    return lambda: getattr(__import__(name + '.dialog', globals(), locals(), fromlist=['dialog']), "URITypes", None)

  File "/home/user/_projects/Beremiz_clear/connectors/WAMP/__init__.py", line 38, in <module>

    from autobahn.wamp.serializer import MsgPackSerializer

ImportError: cannot import name MsgPackSerializer

 

I installed the newest version of autobahn, also msgpack-python libmsgpack3 libmsgpackc2, and it didn’t help me. Did somebody meet this error?

 

I use Ubuntu x64.

 

 



_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Beremiz

skv
Administrator
On 19-01-16 15:23, Андрей Яникеев wrote:

> Hello everyone!
>
> I caught an error when I tried choose URI_location. Exception text:
>
>
>
>   File "/home/user/_projects/Beremiz_clear/editors/ConfTreeNodeEditor.py",
> line 348, in UriOptions
>
>     dialog = UriLocationEditor.UriLocationEditor(CTR_AppFrame, uri)
>
>   File "/home/user/_projects/Beremiz_clear/controls/UriLocationEditor.py",
> line 62, in __init__
>
>     self.SetURI(uri)
>
>   File "/home/user/_projects/Beremiz_clear/controls/UriLocationEditor.py",
> line 82, in SetURI
>
>     type = GetConnectorFromURI(uri_type)
>
>   File "/home/user/_projects/Beremiz_clear/connectors/__init__.py", line
> 98, in GetConnectorFromURI
>
>     connectorTypes = connectors_dialog[conn_type]["URITypes"]()
>
>   File "/home/user/_projects/Beremiz_clear/connectors/__init__.py", line
> 45, in <lambda>
>
>     return lambda: getattr(__import__(name + '.dialog', globals(),
> locals(), fromlist=['dialog']), "URITypes", None)
>
>   File "/home/user/_projects/Beremiz_clear/connectors/WAMP/__init__.py",
> line 38, in <module>
>
>     from autobahn.wamp.serializer import MsgPackSerializer
>
> ImportError: cannot import name MsgPackSerializer
>
>
>
> I installed the newest version of autobahn, also msgpack-python libmsgpack3
> libmsgpackc2, and it didn’t help me. Did somebody meet this error?
>
most likely you've installed wrong dependencies. See
https://bitbucket.org/automforge/beremiz/annotate/8dbdf20f795b2038ba729cfb1189ac2652a319d4/README.md?at=default&fileviewer=file-view-default#README.md-26
Do you have python-u-msgpack installed?



--
Best regards,
Andrey Skvortsov


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Beremiz

Андрей Яникеев
No I have't install python-u-msgpack, my mistake. But also I didnt' manage to install  python-u-msgpack by apt. I installed it from pip and it worked. Thank you!

ср, 16 янв. 2019 г. в 15:33, Andrey Skvortsov <[hidden email]>:
On 19-01-16 15:23, Андрей Яникеев wrote:
> Hello everyone!
>
> I caught an error when I tried choose URI_location. Exception text:
>
>
>
>   File "/home/user/_projects/Beremiz_clear/editors/ConfTreeNodeEditor.py",
> line 348, in UriOptions
>
>     dialog = UriLocationEditor.UriLocationEditor(CTR_AppFrame, uri)
>
>   File "/home/user/_projects/Beremiz_clear/controls/UriLocationEditor.py",
> line 62, in __init__
>
>     self.SetURI(uri)
>
>   File "/home/user/_projects/Beremiz_clear/controls/UriLocationEditor.py",
> line 82, in SetURI
>
>     type = GetConnectorFromURI(uri_type)
>
>   File "/home/user/_projects/Beremiz_clear/connectors/__init__.py", line
> 98, in GetConnectorFromURI
>
>     connectorTypes = connectors_dialog[conn_type]["URITypes"]()
>
>   File "/home/user/_projects/Beremiz_clear/connectors/__init__.py", line
> 45, in <lambda>
>
>     return lambda: getattr(__import__(name + '.dialog', globals(),
> locals(), fromlist=['dialog']), "URITypes", None)
>
>   File "/home/user/_projects/Beremiz_clear/connectors/WAMP/__init__.py",
> line 38, in <module>
>
>     from autobahn.wamp.serializer import MsgPackSerializer
>
> ImportError: cannot import name MsgPackSerializer
>
>
>
> I installed the newest version of autobahn, also msgpack-python libmsgpack3
> libmsgpackc2, and it didn’t help me. Did somebody meet this error?
>

most likely you've installed wrong dependencies. See
https://bitbucket.org/automforge/beremiz/annotate/8dbdf20f795b2038ba729cfb1189ac2652a319d4/README.md?at=default&fileviewer=file-view-default#README.md-26
Do you have python-u-msgpack installed?



--
Best regards,
Andrey Skvortsov
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Beremiz

skv
Administrator
Hi Andrey,

On 19-01-16 15:55, Andrey Yanikeev wrote:
> No I have't install python-u-msgpack, my mistake. But also I didnt' manage
> to install  python-u-msgpack by apt.

What's problem with apt?
$ apt-cache search python-u-msgpack
python-u-msgpack - Python MessagePack serializer and deserializer

> I installed it from pip and it worked.
> Thank you!


> ср, 16 янв. 2019 г. в 15:33, Andrey Skvortsov <[hidden email]>:
>
> > On 19-01-16 15:23, Андрей Яникеев wrote:
> > > Hello everyone!
> > >
> > > I caught an error when I tried choose URI_location. Exception text:
> > >
> > >
> > >
> > >   File
> > "/home/user/_projects/Beremiz_clear/editors/ConfTreeNodeEditor.py",
> > > line 348, in UriOptions
> > >
> > >     dialog = UriLocationEditor.UriLocationEditor(CTR_AppFrame, uri)
> > >
> > >   File
> > "/home/user/_projects/Beremiz_clear/controls/UriLocationEditor.py",
> > > line 62, in __init__
> > >
> > >     self.SetURI(uri)
> > >
> > >   File
> > "/home/user/_projects/Beremiz_clear/controls/UriLocationEditor.py",
> > > line 82, in SetURI
> > >
> > >     type = GetConnectorFromURI(uri_type)
> > >
> > >   File "/home/user/_projects/Beremiz_clear/connectors/__init__.py", line
> > > 98, in GetConnectorFromURI
> > >
> > >     connectorTypes = connectors_dialog[conn_type]["URITypes"]()
> > >
> > >   File "/home/user/_projects/Beremiz_clear/connectors/__init__.py", line
> > > 45, in <lambda>
> > >
> > >     return lambda: getattr(__import__(name + '.dialog', globals(),
> > > locals(), fromlist=['dialog']), "URITypes", None)
> > >
> > >   File "/home/user/_projects/Beremiz_clear/connectors/WAMP/__init__.py",
> > > line 38, in <module>
> > >
> > >     from autobahn.wamp.serializer import MsgPackSerializer
> > >
> > > ImportError: cannot import name MsgPackSerializer
> > >
> > >
> > >
> > > I installed the newest version of autobahn, also msgpack-python
> > libmsgpack3
> > > libmsgpackc2, and it didn’t help me. Did somebody meet this error?
> > >
> >
> > most likely you've installed wrong dependencies. See
> >
> > https://bitbucket.org/automforge/beremiz/annotate/8dbdf20f795b2038ba729cfb1189ac2652a319d4/README.md?at=default&fileviewer=file-view-default#README.md-26
> > Do you have python-u-msgpack installed?
> >
> >
> >
> > --
> > Best regards,
> > Andrey Skvortsov
> > _______________________________________________
> > Beremiz-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/beremiz-devel
> >
--
Best regards,
Andrey Skvortsov


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment