💻 software-dev


user-5ef6c0 12 May, 2020, 21:24:56

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)?

user-908b50 13 May, 2020, 03:16:23

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

user-908b50 13 May, 2020, 03:20:12

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.

wrp 19 May, 2020, 02:18:57

@user-c5fb8b when you're online could you please respond to @user-908b50 ☝️

wrp 19 May, 2020, 02:19:44

@papr please see @user-5ef6c0's description of behavior that leads to a crash in Player ☝️

papr 19 May, 2020, 06:02:10

@wrp @user-908b50's issues were setup related and were attended to on Github. https://github.com/pupil-labs/pupil/issues/1872

papr 19 May, 2020, 06:05:31

@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.

user-5ef6c0 19 May, 2020, 11:52:08

@papr sure thing, thank you. I'll try to reproduce the error later today and send the log your way.

user-f8c051 20 May, 2020, 10:09:12

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
user-f8c051 20 May, 2020, 10:11:13

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.

user-f8c051 20 May, 2020, 10:11:29

which makes my code crash every 10 minutes or so randomly

user-f8c051 20 May, 2020, 10:20:48

thanks!

user-e28285 20 May, 2020, 10:45:32

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 20 May, 2020, 10:45:46

Chat image

wrp 20 May, 2020, 10:46:42

@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

user-e28285 20 May, 2020, 10:49:05

I want to use the source code of the Pupil Invisbile Monitor and modify it a bit, but I constantly get the GLEW error.

wrp 20 May, 2020, 10:49:15

Thanks for the update

wrp 20 May, 2020, 10:50:04

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

user-e28285 20 May, 2020, 10:51:14

@wrp Great! Thank you, it is indeed what I was missing.

user-f8c051 20 May, 2020, 11:10:58

Anybody has an idea what might cause PYUVC raise the Floating Point Exceptions? thank you!

user-e28285 20 May, 2020, 11:27:48

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'

user-e28285 20 May, 2020, 11:33:16

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-c5fb8b 20 May, 2020, 11:37:21

@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

user-c5fb8b 20 May, 2020, 11:38:09

Simply download the wheel (.whl file) and run pip install path\to\file.whl

user-e28285 20 May, 2020, 11:38:24

All right. Thank you I got a bit confused but if that's all that would be great. Thank you!

user-c5fb8b 20 May, 2020, 11:39:27

Sorry for the confusing workflow on Windows! We'll definitely improve the docs for Pupil Invisible Monitor on that!

papr 20 May, 2020, 12:30:41

@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.

user-f8c051 20 May, 2020, 12:36:08

yes I think it is, as i get some clock correction messages in the log every few minutes

user-f8c051 20 May, 2020, 12:36:26

is there a recommneded fix?

user-f8c051 20 May, 2020, 12:39:29

the floating point exception: 0 usually being thrown after a clock correction

user-f8c051 20 May, 2020, 12:39:36

i can try and re-create

papr 20 May, 2020, 12:40:37

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.

papr 20 May, 2020, 12:41:34

Ah, and the clock correction happens in libuvc, not pyuvc https://github.com/pupil-labs/libuvc/pull/30

user-f8c051 20 May, 2020, 12:43:41

yeh I was guessing that

user-f8c051 20 May, 2020, 12:43:43

😦

user-f8c051 20 May, 2020, 12:44:57

ok I'll stick to the old firmware for now, works most of the times

user-6e9a97 25 May, 2020, 13:25:09

Hi, is it possible to send triggers to pupil core data with either E-Prime or Python?

user-ddc8dd 28 May, 2020, 16:53:22

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!

user-a6cc45 28 May, 2020, 18:21:03

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?

papr 28 May, 2020, 21:33:14

@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.

papr 28 May, 2020, 21:33:48

@user-ddc8dd You should load the surface.pldata file instead if you are interested in surface gaze data.

End of May archive