dicengine / dicegui

The corresponding desktop application GUI for the DICe code
Other
12 stars 16 forks source link

Image folder in calibration does nothing #19

Closed sleach3 closed 4 years ago

sleach3 commented 4 years ago

I built DICe on a Jetson Xavier board running linux. I am trying to run some tests with the GUI to make sure the system is going to work with the Jetson board. The issue I am having right now is when I try to select the image folder for calibration images nothing happens. I don't get any errors, I just don't get a pop up window or any feedback.

dicengine commented 4 years ago

Can you open the developer tools from the GUI and see if there is any console output?

sleach3 commented 4 years ago

How would I open the developer tools?

dicengine commented 4 years ago

It's in the electron menu at the top of the GUI under View->Toggle Developer Tools. That should open a panel on the right side of the GUI that has several tabs in the upper right corner. One of those tabs is the console tab.

sleach3 commented 4 years ago

console

sleach3 commented 4 years ago

console_3 This is the output from the console of the calibration window

dicengine commented 4 years ago

Have you installed Node.js on this device?

sleach3 commented 4 years ago

I just double checked and I have. It seems to be failing on several lines that involve the OS.

dicengine commented 4 years ago

It's not the operating system it's on calls to the os methods in Node.js. These involve things like creating directories, etc. You may need to do some googling on the error you're getting as it seems more related to the Node.js utilities not being available or accessible.

sleach3 commented 4 years ago

After some digging, I was able to determine that the hot fix applied in commit 88ad320 needed to be put into all files that create a new window.

dicengine commented 4 years ago

I've added the fix to all calls to BrowserWinodw let me know if this didn't fix the issue and I can re-open the issue