PyBitmessage icon indicating copy to clipboard operation
PyBitmessage copied to clipboard

OpenBSD connectivity issues

Open jon1enforce opened this issue 1 year ago • 3 comments

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 avatar Aug 04 '24 10:08 jon1enforce

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..

jon1enforce avatar Aug 04 '24 10:08 jon1enforce

~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.

PeterSurda avatar Aug 04 '24 10:08 PeterSurda

i try out this approach now: https://github.com/jon1enforce/DEBUG_pybitmessage

99% of the code is enhanced with DEBUG: and ERROR: now.

it may flood the command line, but gives very detailed informations of how the code works. It is in harmony with artificial intelligence, like process the debug log automatical, with copy and paste.

jon1enforce avatar Jul 01 '25 05:07 jon1enforce