Skip to content

OpenBSD connectivity issues #2264

Description

@jon1enforce

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':

Activity

  1. jon1enforce commented on Aug 4, 2024

    @jon1enforce
    Author

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

  2. PeterSurda commented on Aug 4, 2024

    @PeterSurda
    Member

    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.

  3. changed the title [-]bug[/-] [+]OpenBSD connectivity issues[/+] on Aug 4, 2024
  4. jon1enforce commented on Jul 1, 2025

    @jon1enforce
    Author

    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.

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