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

trex crashes/closes immediately #65

Closed
biologyinspired opened this issue Jul 7, 2021 · 1 comment
Closed

trex crashes/closes immediately #65

biologyinspired opened this issue Jul 7, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@biologyinspired
Copy link

Describe the bug
Forgive my inexperienced report as I only have a primary understanding of programming. Currently working with the provided sample video of four mice. Tgrabs successfully creates a png and pv file. However, when I run trex -i video.pv, a new window opens and then immediately closes/crashes. This is also true when I run trex. The file explorer menu opens, but when I select either a raw or converted video file, the program closes immediately.

To Reproduce
Steps to reproduce the behavior:

  1. From Anaconda Prompt on Windows 10, run conda activate tracking
  2. Run trex -i trex_video.pv
  3. Window titled 'TRex v1.1.3 (trex_video)' opens and closes

Computer (please complete the following information):

  • Operating system: Windows 10
  • Terminal used: Anaconda Prompt

Additional context
In Anaconda Prompt, when running trex, I get the following error displayed after the 'LOADING COMMANDLINE' text:

Property('wd') = ""
"[ERROR ... CommandLine.cpp:146] Cannot change directory to ' '."

Initially, I had tried using WSL1/2, but unfortunately, it can't initialize OpenGL. However, when I run trex in WSL, I actually don't get the CommandLine.cpp error. Instead, it reads without error:

Property('wd') = "/home/zwiebellab/anaconda3/envs/tracking/bin"

I noticed that this Ubuntu-based folder contains 160 files, including thing like .scikit-learn-post-link.sh, ffmpeg, python3, and xzmore, to name a few. However, the folder in 'C:/Users/stf/Anaconda3/envs/tracking/bin' only contains 9 items, including omptarget.dll and the tgrabs.exe and trex.exe. I also tried simply moving the files form the Ubuntu folder to the C drive folder, but that didn't work, and a fresh re-installation and update of Trex also failed to solve the problem. My next step will be to get a proper Linux distribution up and running in lab, but for now, I can't seem to get past this hiccup on Windows.

Looking forward to getting this up and running. Thanks for publishing this great resource and thanks for the help!

@biologyinspired biologyinspired added the bug Something isn't working label Jul 7, 2021
@mooch443
Copy link
Owner

Hey, I am sorry to have not answered this yet. I am currently writing my thesis and have little time for other things.
Also, I forgot about this I'm afraid.

Is this still relevant?
-Tristan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants