Skip to content
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

Another error when running IPV8 #2

Closed
devos50 opened this issue Oct 4, 2017 · 1 comment
Closed

Another error when running IPV8 #2

devos50 opened this issue Oct 4, 2017 · 1 comment
Labels
priority: high Bugs, broken functionality or critical features

Comments

@devos50
Copy link
Contributor

devos50 commented Oct 4, 2017

CRITICAL:root:Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/twisted/_threads/_threadworker.py", line 46, in work
    task()
  File "/usr/local/lib/python2.7/dist-packages/twisted/_threads/_team.py", line 190, in doWork
    task()
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 250, in inContext
    result = inContext.theWork()
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
    inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/home/crawler/py-ipv8/ipv8/messaging/interfaces/endpoint.py", line 44, in _deliver_later
    listener.on_packet(packet)
  File "/home/crawler/py-ipv8/ipv8/deprecated/community.py", line 237, in on_packet
    self.decode_map[data[22]](source_address, data)
  File "/home/crawler/py-ipv8/ipv8/peerdiscovery/deprecated/discovery.py", line 48, in on_introduction_response
    packet = self.create_similarity_request()
  File "/home/crawler/py-ipv8/ipv8/peerdiscovery/deprecated/discovery.py", line 81, in create_similarity_request
    return self._ez_pack(self._prefix, 1, [auth, dist, payload])
  File "/home/crawler/py-ipv8/ipv8/deprecated/community.py", line 25, in _ez_pack
    packet += self.serializer.pack_multiple(format_list)
  File "/home/crawler/py-ipv8/ipv8/messaging/serialization.py", line 182, in pack_multiple
    out += self.pack(*packable)
  File "/home/crawler/py-ipv8/ipv8/messaging/serialization.py", line 170, in pack
    return self._packers[format].pack(*data)
struct.error: 'H' format requires 0 <= number <= 65535
@qstokkink qstokkink added the priority: high Bugs, broken functionality or critical features label Oct 4, 2017
@qstokkink
Copy link
Collaborator

Fixed in cdb7438.

egbertbouman pushed a commit to egbertbouman/py-ipv8 that referenced this issue Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high Bugs, broken functionality or critical features
Projects
None yet
Development

No branches or pull requests

2 participants