Hi all, pupil player is crashing a lot when I inspect the recordings using the left and right arrow to move forward and backward in time. It happens when I press the arrows for too long, but it doesn't happen all the time... it is usually after 30 minutes or so of repeatedly doing this. Is this a known issue? Any ideas on how to avoid it (other than tapping the keys each time for each frame, rather than keeping them pressed)?
So I've built pupil from sources bundles using the pre-built wheel for the windows OS. But I get this error when opening capture:
from uvc import get_time_monotonic ImportError: DLL load failed: The specified module could not be found
I get the following errors when opening player:
File "D:\Sensory_Immersion\pupil\pupil_src\launchables\player.py", line 730, in player_drop
from pupil_recording.update import update_recording File "D:\Sensory_Immersion\pupil\pupil_src\shared_modules\pupil_recording\update__init__.py", line 15, in <module> from video_capture.file_backend import File_Source File "D:\Sensory_Immersion\pupil\pupil_src\shared_modules\video_capture__init__.py", line 42, in <module> from .uvc_backend import UVC_Manager, UVC_Source File "D:\Sensory_Immersion\pupil\pupil_src\shared_modules\video_capture\uvc_backend.py", line 25, in <module> import uvc ImportError: DLL load failed: The specified module could not be found.
@user-c5fb8b when you're online could you please respond to @user-908b50 ☝️
@papr please see @user-5ef6c0's description of behavior that leads to a crash in Player ☝️
@wrp @user-908b50's issues were setup related and were attended to on Github. https://github.com/pupil-labs/pupil/issues/1872
@user-5ef6c0 please share the player.log file in the pupil_player_settings folder after reproducing the issue again. I have a suspicion what could cause this issue but I would like to see it confirmed via the log file.
@papr sure thing, thank you. I'll try to reproduce the error later today and send the log your way.
Hey Pupil team, thanks for all the support so far!
My adventure with PYUVC continues and a got another question...
I recently upgraded the firmware on our Camera and now I'm getting a floating point exception when I try to capture frames cap.get_frame_robust()
trl->dwClockFrequency = 48000000
ctrl->dwClockFrequency = 48000000
Estimated / selected altsetting bandwith : 309 / 3072.
!!!!Packets per transfer = 32 frameInterval = 333333
Floating point exception: 8
capture works well in other software and also via openCV.
I actually get similar exception from time to time but with floating point exception: 0
when using the camera with older firmware.
which makes my code crash every 10 minutes or so randomly
thanks!
I am trying to build the Pupil Invisible Monitor source code, but I am getting a GLEW error when running: 'python -m pip install -r requirements.txt' on Windows. The error that I am getting whilst building
@user-e28285 ~~did you follow these instructions? Additionally is there a need to build from source instead of running application bundles available via https://github.com/pupil-labs/pupil/releases/latest ? ~~ Edit - I learned in 🕶 invisible channel that you want to run Pupil Invisible Monitor from source. Is there something specific that you need to do in Pupil Invisible Monitor source code that you can not do via application bundles? https://github.com/pupil-labs/pupil-invisible-monitor/releases/latest
I want to use the source code of the Pupil Invisbile Monitor and modify it a bit, but I constantly get the GLEW error.
Thanks for the update
It looks like https://github.com/pupil-labs/pupil-invisible-monitor#windows-dlls section in the README is out of date with a broken link to docs -- @papr can you make an issue for this in Pupil Invisible Monitor repo please?
@user-e28285 please could you see instructions for GLFW setup here: https://github.com/pupil-labs/pupil/blob/master/docs/dependencies-windows.md#glfw
@wrp Great! Thank you, it is indeed what I was missing.
Anybody has an idea what might cause PYUVC raise the Floating Point Exceptions? thank you!
All right so right now I am getting an error about 'ndsi/frame.cpp(663): fatal error C1083: Cannot open include file: 'turbojpeg.h': No such file or directory'
It seems like a lot of libraries are linked in a way that is not specified in the installation instructions, or am I doing something wrong?
@user-e28285 I assume you are installing pyndsi on Windows from source as well? This is not straightforward, and we don't have any documentation on that, since normally customers do not need to do that. We offer prebuilt wheels for pyndsi Windows, which you can find in the release section of pyndsi: https://github.com/pupil-labs/pyndsi/releases
Simply download the wheel (.whl file) and run pip install path\to\file.whl
All right. Thank you I got a bit confused but if that's all that would be great. Thank you!
Sorry for the confusing workflow on Windows! We'll definitely improve the docs for Pupil Invisible Monitor on that!
@user-f8c051 We have implemented a clock correction a while back. It is possible that this issue is related to that feature but I cannot tell you for sure.
yes I think it is, as i get some clock correction messages in the log every few minutes
is there a recommneded fix?
the floating point exception: 0
usually being thrown after a clock correction
i can try and re-create
I think the only long term solution is to try to locate the piece of code that triggers the exception. Unfortunately, I do not know the pyuvc source code well enough to be of any help here.
Ah, and the clock correction happens in libuvc, not pyuvc https://github.com/pupil-labs/libuvc/pull/30
yeh I was guessing that
😦
ok I'll stick to the old firmware for now, works most of the times
Hi, is it possible to send triggers to pupil core data with either E-Prime or Python?
See this python example https://github.com/pupil-labs/pupil-helpers/blob/master/python/remote_annotations.py
Hello! I am trying to see whether gaze falls within the surface, so I want to know the gaze coordinates. I have the gaze dictionary from load_pl_data(), but I was wondering which key is associated with the gaze's coordinates? Thanks!
Hello, I was wondering what are the requirements for custom plugin to be included in the official Pupil Software release? Source code has to be reviewed by several members of Pupil Labs team or something?
@user-a6cc45 We are trying to reduce the amounts of features/options that the Pupil software has in order to improve the user experience and make the software overall more maintainable. Adding new features is therefore not a priority right now. Nonetheless, feel free to link your custom plugin in https://github.com/pupil-labs/pupil-community
Let us know what type of plugin it is. If it is something that everyone can benefit from then we might consider adding and maintaining it. But given the current priorities, I cannot promise you anything in this regard.
@user-ddc8dd You should load the surface.pldata
file instead if you are interested in surface gaze data.