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

World Window Crashing on Stop Recording #12

Closed
cpicanco opened this issue Jun 12, 2014 · 4 comments
Closed

World Window Crashing on Stop Recording #12

cpicanco opened this issue Jun 12, 2014 · 4 comments

Comments

@cpicanco
Copy link
Contributor

Hey Guys,

Running from the source (.zip downloaded from the release 0.3.9.1 and pupil-master) with sublime text 2. Data files were not lost.

cal_pt_cloud.npy
gaze_positions.npy
timestamps.npy
info.csv (Capture Software Version "unknow").
world.avi

Traceback (most recent call last):
  File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/main.py", line 144, in <module>
    main()
  File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/main.py", line 137, in main
    world(g_pool,world_src,world_size)
  File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/world.py", line 340, in world
    g_pool.plugins = [p for p in g_pool.plugins if p.alive]
  File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/shared_modules/plugin.py", line 42, in alive
    self.cleanup()
  File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/recorder.py", line 173, in cleanup
    self.stop_and_destruct()
  File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/recorder.py", line 154, in stop_and_destruct
    logger.Exception("Could not save metadata. Please report this bug!")
AttributeError: 'Logger' object has no attribute 'Exception'
[Finished in 557.2s]
@mkassner
Copy link
Member

Thanks for spotting the bug. I will fix it today.

best,

Moritz

On Thu, Jun 12, 2014 at 2:28 PM, Rafael Picanço notifications@github.com
wrote:

Hey Guys,

Running from the source (.zip downloaded from the release 0.3.9.1 and
pupil-master) with sublime text 2. Data files were not lost.

cal_pt_cloud.npy
gaze_positions.npy
timestamps.npy
info.csv (Capture Software Version "unknow").
world.avi

Traceback (most recent call last):
File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/main.py", line 144, in
main()
File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/main.py", line 137, in main
world(g_pool,world_src,world_size)
File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/world.py", line 340, in world
g_pool.plugins = [p for p in g_pool.plugins if p.alive]
File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/shared_modules/plugin.py", line 42, in alive
self.cleanup()
File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/recorder.py", line 173, in cleanup
self.stop_and_destruct()
File "/home/rafael/Documents/pupil-0.3.9.1/pupil_src/capture/recorder.py", line 154, in stop_and_destruct
logger.Exception("Could not save metadata. Please report this bug!")
AttributeError: 'Logger' object has no attribute 'Exception'
[Finished in 557.2s]


Reply to this email directly or view it on GitHub
#12.

@cpicanco
Copy link
Contributor Author

Running as root solved the "bug".

sudo su -

:-)

@mkassner
Copy link
Member

Yes,

the error is a bug. but the reason for it to show is that the software
somehow does not have permission to write the info.csv file. Running Pupil
as root appears to solve the problem in your case.

On Thu, Jun 12, 2014 at 2:34 PM, Rafael Picanço notifications@github.com
wrote:

Solved when runned as root

sudo su -

:-)


Reply to this email directly or view it on GitHub
#12 (comment).

@mkassner
Copy link
Member

fixed in [6e589c4]

papr pushed a commit that referenced this issue Apr 26, 2019
papr pushed a commit that referenced this issue Sep 10, 2019
RecordingInfo interface to abstract info.csv and info.json files
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