|
11 | 11 | from queue import Queue |
12 | 12 | from pynput.keyboard import Key, Listener |
13 | 13 | from dataclasses import dataclass |
14 | | -from funscript_editor.data.funscript import Funscript |
15 | | -from funscript_editor.algorithms.videotracker import StaticVideoTracker |
16 | 14 | from PyQt5 import QtGui, QtCore, QtWidgets |
17 | 15 | from matplotlib.figure import Figure |
18 | | -from funscript_editor.utils.config import HYPERPARAMETER, SETTINGS, PROJECTION |
19 | 16 | from datetime import datetime |
20 | | -from funscript_editor.data.ffmpegstream import FFmpegStream, VideoInfo |
21 | | -from funscript_editor.algorithms.kalmanfilter import KalmanFilter2D |
22 | 17 | from scipy.interpolate import interp1d |
23 | 18 |
|
| 19 | +from funscript_editor.algorithms.kalmanfilter import KalmanFilter2D |
| 20 | +from funscript_editor.algorithms.videotracker import StaticVideoTracker |
| 21 | +from funscript_editor.data.ffmpegstream import FFmpegStream, VideoInfo |
| 22 | +from funscript_editor.data.funscript import Funscript |
| 23 | +from funscript_editor.utils.config import HYPERPARAMETER, SETTINGS, PROJECTION |
| 24 | +from funscript_editor.utils.logging import get_logfiles_paths |
| 25 | +from funscript_editor.definitions import SETTINGS_CONFIG_FILE, HYPERPARAMETER_CONFIG_FILE |
| 26 | + |
24 | 27 | import funscript_editor.algorithms.signalprocessing as sp |
25 | 28 | import numpy as np |
26 | 29 | import matplotlib.pyplot as plt |
@@ -997,5 +1000,7 @@ def run(self) -> None: |
997 | 1000 | self.finished(status, True) |
998 | 1001 | except Exception as ex: |
999 | 1002 | self.logger.critical("The program crashed due to a fatal error. " \ |
1000 | | - + "Please open an issue on github with the corresponding log file and application configuration", exc_info=ex) |
| 1003 | + + "Please open an issue on github with the corresponding log file (" \ |
| 1004 | + + ','.join(get_logfiles_paths()) + ") and application configuration (" \ |
| 1005 | + + SETTINGS_CONFIG_FILE + ", " + HYPERPARAMETER_CONFIG_FILE + ")", exc_info=ex) |
1001 | 1006 | self.finished("The program crashed due to a fatal error", False) |
0 commit comments