Skip to content

struct.error: unpack requires a buffer of 22 bytes #130

Open
@mikecorey

Description

@mikecorey

When trying to run pyre on Python 3.6.6 within conda i receive the following exception:

MikeBook-Pro:~ coreym$ 
MikeBook-Pro:~ coreym$ 
MikeBook-Pro:~ coreym$ source activate Dekker
(Dekker) MikeBook-Pro:~ coreym$ pip uninstall pyre
Skipping pyre as it is not installed.
(Dekker) MikeBook-Pro:~ coreym$ pip install https://github.com/zeromq/pyre/archive/master.zip
Collecting https://github.com/zeromq/pyre/archive/master.zip
  Downloading https://github.com/zeromq/pyre/archive/master.zip (47kB)
    100% |████████████████████████████████| 51kB 417kB/s 
Requirement already satisfied: pyzmq in ./.conda/envs/Dekker/lib/python3.6/site-packages (from pyre==0.3.2) (17.1.2)
Requirement already satisfied: ipaddress in ./.conda/envs/Dekker/lib/python3.6/site-packages (from pyre==0.3.2) (1.0.22)
Building wheels for collected packages: pyre
  Running setup.py bdist_wheel for pyre ... done
  Stored in directory: /private/var/folders/x5/909t85n17w162px23sgkcgf80000gn/T/pip-ephem-wheel-cache-1fdn08zh/wheels/ae/d8/a3/f11eb41a07473804c12272a25bbf97dccd63f01c5e444aa77b
Successfully built pyre
Installing collected packages: pyre
Successfully installed pyre-0.3.2
(Dekker) MikeBook-Pro:~ coreym$ python
Python 3.6.6 | packaged by conda-forge | (default, Jul 26 2018, 09:55:02) 
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyre
>>> a = pyre.Pyre()
>>> a.start()
>>> Exception in thread Thread-1:
Traceback (most recent call last):
  File "/Users/coreym/.conda/envs/Dekker/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/Users/coreym/.conda/envs/Dekker/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/coreym/.conda/envs/Dekker/lib/python3.6/site-packages/pyre/zactor.py", line 57, in run
    self.shim_handler(*self.shim_args, **self.shim_kwargs)
  File "/Users/coreym/.conda/envs/Dekker/lib/python3.6/site-packages/pyre/pyre_node.py", line 53, in __init__
    self.run()
  File "/Users/coreym/.conda/envs/Dekker/lib/python3.6/site-packages/pyre/pyre_node.py", line 519, in run
    self.recv_beacon()
  File "/Users/coreym/.conda/envs/Dekker/lib/python3.6/site-packages/pyre/pyre_node.py", line 454, in recv_beacon
    beacon = struct.unpack('cccb16sH', frame)
struct.error: unpack requires a buffer of 22 bytes

>>> 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions