Tierpsy / tierpsy-tracker

Multi-Worm Behaviour Tracker. README here:
https://github.com/Tierpsy/tierpsy-tracker/blob/development/README.md
MIT License
20 stars 18 forks source link

metaclass conflict #93

Closed deligkarisk closed 5 months ago

deligkarisk commented 6 months ago

Hi,

I have managed to successfully install tierpsy-tracker in Ubuntu 22.04. I am trying to figure out how to use it with some sample videos we have.

However, when I click "Start" to run the batch processing I see the following output. I was wondering if this is a bug or perhaps something I set-up incorrectly.

Any feedback would be appreciated.

Checking file 1 of 1. Total time: 0:00:00
*********************************************
Finished to check files.
Total time elapsed 0:00:00
*********************************************

*********************************************
Commands to be executed.
*********************************************
'/home/kosmas/miniconda3/envs/tierpsy/bin/python3.6' '/home/kosmas/repositories/tierpsy-tracker/tierpsy/processing/ProcessLocal.py' '/storage/other_trackings/celegans/test_approach/data/900 uL 24 well-777-996.avi' --masks_dir '/storage/other_trackings/celegans/test_approach/data/MaskedVideos' --results_dir '/storage/other_trackings/celeganss/test_approach/data/Results' --tmp_mask_dir '/home/kosmas/Tmp/MaskedVideos/' --tmp_results_dir '/home/kosmas/Tmp/Results/' --json_file '' --analysis_checkpoints 'COMPRESS' 'TRAJ_CREATE' 'TRAJ_JOIN' 'SKE_INIT' 'BLOB_FEATS' 'SKE_CREATE' 'SKE_FILT' 'SKE_ORIENT' 'INT_PROFILE' 'INT_SKE_ORIENT' 'FEAT_INIT' 'FEAT_TIERPSY'
*********************************************

*********************************************
Analysis Summary
*********************************************
1   Unprocessed files.
0   Files whose analysis is incompleted.
0   Invalid source files.
0   Files that were succesfully finished.
*********************************************
1   Total files to be processed.
*********************************************
Traceback (most recent call last):
  File "/home/kosmas/repositories/tierpsy-tracker/tierpsy/gui/AnalysisProgress.py", line 62, in run
    self.worker_fun(**self.worker_args)
  File "/home/kosmas/repositories/tierpsy-tracker/tierpsy/processing/processMultipleFilesFun.py", line 129, in processMultipleFilesFun
    is_debug = is_debug)
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
WeheliyeHashi commented 6 months ago

Could you send me your parameters file and video please. (weheliye@ic.ac.uk)

deligkarisk commented 5 months ago

Thank you @WeheliyeHashi for the feedback.

The issue was caused by some libraries incompatibility.

I re-did the installation with python 3.6 and the associated requirements file, and it now works just fine.