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

Unclean handling of "no space left on device" #167

Open
strk opened this issue Apr 9, 2023 · 1 comment
Open

Unclean handling of "no space left on device" #167

strk opened this issue Apr 9, 2023 · 1 comment

Comments

@strk
Copy link
Contributor

strk commented Apr 9, 2023

I filled up my disk but wasn't easy to tell why RaySession failed to bring up a graph. Only when I've started from commandline I could see the problem:

$ raysession
[ray-daemon]GUI connected at osc.udp://c19:10437/
[ray-daemon]URL : osc.udp://192.168.1.30:16196/
[ray-daemon]      osc.udp://c19:16196/
[ray-daemon]ROOT: /home/strk/nextCloud/sandro/Studio/RaySessions
Calling appendChild() on a null node does nothing.
OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/share/raysession/src/bin/ray-jackpatch_to_osc", line 595, in <module>
    main_process()
  File "/usr/local/share/raysession/src/bin/ray-jackpatch_to_osc", line 579, in main_process
    main_object = MainObject(daemon_port, gui_url)
  File "/usr/local/share/raysession/src/bin/ray-jackpatch_to_osc", line 137, in __init__
    self.write_existence_file()
  File "/usr/local/share/raysession/src/bin/ray-jackpatch_to_osc", line 169, in write_existence_file
    file.close()
OSError: [Errno 28] No space left on device
AttributeError: 'OscJackPatch' object has no attribute 'free'
Exception ignored in: 'liblo.Server.__dealloc__'
AttributeError: 'OscJackPatch' object has no attribute 'free'

It would be nice if some error could be printed with a popup or something :)

This was happening with raysession reporting 0.13.1 from raysession --version. I think I built it myself but dunno how to have the executable print the commit hash of it.

@Houston4444
Copy link
Owner

Ohh, quite annoying to do because it needs a new OSC message (ray-jackpatch_to_osc is another process), but doable sure. I think there is no message too if there is no space left at session creation too.

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