Skip to content

Raspbian - "invalid version number" #763

@radiohacktive

Description

@radiohacktive

Running Raspbian on a model A; starts up fine and connects to well over 50-60 peers, but cannot seem to accept incoming messages. Port is forwarded in network router and iptables, the only clue I get is a non-fatal traceback during startup:

An Exception occured within isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections: invalid version number '#730 PREEMPT Fri Dec 19 18:31:24 GMT 2014'
Exception in thread Thread-7:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
File "/home/$USER/Git/PyBitmessage/src/class_outgoingSynSender.py", line 49, in run
    peer = self._getPeer()
File "/home/$USER/Git/PyBitmessage/src/class_outgoingSynSender.py", line 34, in _getPeer
    peer, = random.sample(shared.knownNodes[self.streamNumber], 1)
KeyError: 1  

The version number is that of a stable Raspbian from Raspberry Pi's download page. Doing some digging, it looks as if a threading.py routine is unable to comprehend the version number syntax, which may mean this is a bigger issue with Python. Can PyBitmessage sidestep this with a "Raspbian clause" in OS checking or some other workaround until threading.py and Raspberry Pi distro naming play nice?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as it's supposed to

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions