PhilippThoelke / goofi-pipe

real-time neuro-/biosignal processing and streaming pipeline
MIT License
24 stars 3 forks source link

Permission error with the offline manager #1

Closed hyruuk closed 1 year ago

hyruuk commented 1 year ago

Running the scripts/manager_offline_eeg.py results in a permission error that is likely due to the fact the the PhysioNet data are saved in an inaccessible path. Here is the error, @AntoineBellemare has the same on his desktop :

Traceback (most recent call last):
  File "/home/hyruuk/GitHub/goofi-pipe/scripts/manager_offline_eeg.py", line 30, in <module>
    mngr.run()
  File "/home/hyruuk/GitHub/goofi-pipe/goofi/manager.py", line 110, in run
    self.update()
  File "/home/hyruuk/GitHub/goofi-pipe/goofi/manager.py", line 94, in update
    out.update(self.data_in, finished, intermediates)
  File "/home/hyruuk/GitHub/goofi-pipe/goofi/data_out.py", line 239, in update
    self.client.send(bundle.build())
  File "/home/hyruuk/.local/lib/python3.10/site-packages/pythonosc/udp_client.py", line 55, in send
    self._sock.sendto(content.dgram, (self._address, self._port))
PermissionError: [Errno 13] Permission denied
sys:1: ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 60962)>
PhilippThoelke commented 1 year ago

Don't think this is relevant anymore?