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

OSError: AF_UNIX path too long #103

Open
newpest opened this issue Sep 9, 2024 · 5 comments
Open

OSError: AF_UNIX path too long #103

newpest opened this issue Sep 9, 2024 · 5 comments

Comments

@newpest
Copy link

newpest commented Sep 9, 2024

No description provided.

@iprada
Copy link
Owner

iprada commented Sep 9, 2024

Hi,

You will have to elaborate a bit if you want help. I should not be guessing

best,

Iñigo

@newpest
Copy link
Author

newpest commented Sep 9, 2024

I get the error when I run Circle-Map ReadExtractor:

Process SyncManager-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/local/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/multiprocessing/managers.py", line 608, in _run_server
    server = cls._Server(registry, address, authkey, serializer)
  File "/usr/local/lib/python3.8/multiprocessing/managers.py", line 154, in __init__
    self.listener = Listener(address=address, backlog=16)
  File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 448, in __init__
    self._listener = SocketListener(address, family, backlog)
  File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 591, in __init__
    self._socket.bind(address)
OSError: AF_UNIX path too long
Traceback (most recent call last):
  File "/usr/local/bin/Circle-Map", line 6, in <module>
    from circlemap.circle_map import main
  File "/usr/local/lib/python3.8/site-packages/circlemap/circle_map.py", line 33, in <module>
    from circlemap.bam2bam import bam2bam
  File "/usr/local/lib/python3.8/site-packages/circlemap/bam2bam.py", line 39, in <module>
    class bam2bam:
  File "/usr/local/lib/python3.8/site-packages/circlemap/bam2bam.py", line 42, in bam2bam
    queue = mp.Manager().Queue()
  File "/usr/local/lib/python3.8/multiprocessing/context.py", line 57, in Manager
    m.start()
  File "/usr/local/lib/python3.8/multiprocessing/managers.py", line 583, in start
    self._address = reader.recv()
  File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 250, in recv
    buf = self._recv_bytes()
  File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
    buf = self._recv(4)
  File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 383, in _recv
    raise EOFError
EOFError

@iprada
Copy link
Owner

iprada commented Sep 9, 2024

Hi,

The error corresponds to bam2bam. Not ReadExtractor. I am very happy to help the community to the extend I can but you have to put an effort if you want my help. I am a human and I do not have superpowers. I need background, a description of the problem you encounter and a minimal description of what you are trying to do. The more elaborate, the merrier.

best,

Iñigo

@newpest
Copy link
Author

newpest commented Sep 9, 2024

Circle-Map:v1.1.4 -bam2bam.py uses multiprocessing.Manger().Queue() for process communication, but it results in an error: AF_UNIX path too long

@iprada
Copy link
Owner

iprada commented Sep 9, 2024

Based on the error your file paths are too long. Also, bam2bam never left the experimental phase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants