Bitmessage / PyBitmessage

Reference client for Bitmessage: a P2P encrypted decentralised communication protocol:
https://bitmessage.org/wiki/Main_Page
Other
2.82k stars 575 forks source link

OpenBSD connectivity issues #2264

Open jon1enforce opened 1 month ago

jon1enforce commented 1 month ago

The Error "could not determine file type" -- is raised by shared.py at BSD and linux:

"freebsd raise the same as major linux systems(and openbsd..(i think so..))" ..if falling back..

please try out: +++sys.platform[:7] == 'freebsd' or sysplatform[:7] == 'openbsd' or sysplatform[:5] == "linux": ...

istead of --- sys.platform[:7] == 'freebsd': ; still remove the error message..for me.

/src/shared.py: (there is also a todo..but on windows..)

if sys.platform == 'win32':
    # .. todo:: This might deserve extra checks by someone familiar with
    # Windows systems.
    return True
elif sys.platform[:7] == 'freebsd':
jon1enforce commented 1 month ago

And where is the openbsd socket fix? The connection is disabled on openbsd, and this is not an issue of my own failures. Looks like sabotage on bm-openbsd-port; i have to review the changes..

PeterSurda commented 1 month ago

~I can't find the code you're referring to.~

Ok I can see the problem. We don't have automated test infrastructure for BSD, so I don't want to change it without that. I created a new task for it. Then we can see better what the problems are.