-
Notifications
You must be signed in to change notification settings - Fork 5
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
Make the message marshaller compatible with the latest version of Construct #4
Comments
You are using a wrong version of Breaking change: MostAwesomeDude/construct@5a4a671 I am going to keep this issue open under a different name to make the code compatible with the new construct API later. |
After using
Correct version of construct is used. Not tested with ESC though as I don't have it available at the moment. |
You're not supposed to update Construct, go back to the default version.
Python 3.7 is not supported because of Quamash; if you really need to use
it, you're on your own.
…On Wed, Aug 1, 2018, 09:08 Serious-Dave ***@***.***> wrote:
I'm trying to run from source on Windows also using Python 3.7. I've
'updated' to version 2.9.40 of construct, but still getting an error.
Anyone able to shed some light?
PS D:...\BAMF\kucher-master> python zubax-kucher
2018-07-31 11:15:41,403 pid=3232 INFO: quamash: Using Qt Implementation:
PyQt5
Traceback (most recent call last):
File "zubax-kucher", line 22, in
File "D:...\BAMF\kucher-master\kucher\main.py", line 47, in main
from .fuhrer import Fuhrer
File "D:...\BAMF\kucher-master\kucher\fuhrer_*init*_.py", line 19, in
from kucher.model import device_model
File "D:...\BAMF\kucher-master\kucher\model\device_model_*init*_.py",
line 19, in
from .communicator import MessageType, Message
File "D:...\BAMF\kucher-master\kucher\model\device_model\communicator_
*init*_.py", line 17, in
from .communicator import Communicator,
CommunicationChannelClosedException, LOOPBACK_PORT_NAME, AnyMessage
File
"D:...\BAMF\kucher-master\kucher\model\device_model\communicator\communicator.py",
line 21, in
from .messages import MessageType, Message, Codec
File
"D:...\BAMF\kucher-master\kucher\model\device_model\communicator\messages.py",
line 339, in
'entries' / TaskStatisticsEntryFormatV1[7:8],
File
"C:\Users\david\AppData\Local\Continuum\anaconda3\lib\site-packages\construct\core.py",
line 645, in *getitem*
raise ValueError("slice can only be like X[:]")
ValueError: slice can only be like X[:]
PS D:...\BAMF\kucher-master> pip show construct
Name: construct
Version: 2.9.40
Summary: A powerful declarative symmetric parser/builder for binary data
Home-page: http://construct.readthedocs.org
Author: Arkadiusz Bulski, Tomer Filiba, Corbin Simpson
Author-email: ***@***.***, ***@***.***,
***@***.***
License: MIT
Location:
c:\users\david\appdata\local\continuum\anaconda3\lib\site-packages
Requires:
Required-by:
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADJUZBoxgrrTq-hlGmchUmKcHjvEM9M-ks5uMUXBgaJpZM4VhnaD>
.
|
The new construct APIcreates creates errors that doesn’t seem fixable. I’m closing the issue, we will keep the old version of construct for now. |
Running stuff under clean
conda
python 3.6 environment gives the following. The setup process is described in other issue.What I did just to move further on to next issues is replaced line in
messages.py:339
by this
Chances this is not correct but this allowed to move on not thinking too much on the program's logic.
The text was updated successfully, but these errors were encountered: