mirror of
https://github.com/ciromattia/kcc
synced 2026-07-01 10:35:29 +00:00
@@ -2,7 +2,6 @@
|
|||||||
Pipfile
|
Pipfile
|
||||||
Pipfile.lock
|
Pipfile.lock
|
||||||
setup.bat
|
setup.bat
|
||||||
kindlecomicconverter/sentry.py
|
|
||||||
other/windows/kindlegen.exe
|
other/windows/kindlegen.exe
|
||||||
dist/
|
dist/
|
||||||
build/
|
build/
|
||||||
|
|||||||
@@ -442,7 +442,6 @@ Older links (dead):
|
|||||||
## PRIVACY
|
## PRIVACY
|
||||||
**KCC** is initiating internet connections in two cases:
|
**KCC** is initiating internet connections in two cases:
|
||||||
* During startup - Version check and announcement check.
|
* During startup - Version check and announcement check.
|
||||||
* When error occurs - Automatic reporting on Windows and macOS.
|
|
||||||
|
|
||||||
## KNOWN ISSUES
|
## KNOWN ISSUES
|
||||||
Please check [wiki page](https://github.com/ciromattia/kcc/wiki/Known-issues).
|
Please check [wiki page](https://github.com/ciromattia/kcc/wiki/Known-issues).
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ from xml.sax.saxutils import escape
|
|||||||
from psutil import Process
|
from psutil import Process
|
||||||
from copy import copy
|
from copy import copy
|
||||||
from packaging.version import Version
|
from packaging.version import Version
|
||||||
from raven import Client
|
|
||||||
from tempfile import gettempdir
|
from tempfile import gettempdir
|
||||||
|
|
||||||
from .shared import HTMLStripper, sanitizeTrace, walkLevel, subprocess_run
|
from .shared import HTMLStripper, sanitizeTrace, walkLevel, subprocess_run
|
||||||
@@ -445,8 +444,6 @@ class WorkerThread(QThread):
|
|||||||
_, _, traceback = sys.exc_info()
|
_, _, traceback = sys.exc_info()
|
||||||
MW.showDialog.emit("Error during conversion %s:\n\n%s\n\nTraceback:\n%s"
|
MW.showDialog.emit("Error during conversion %s:\n\n%s\n\nTraceback:\n%s"
|
||||||
% (jobargv[-1], str(err), sanitizeTrace(traceback)), 'error')
|
% (jobargv[-1], str(err), sanitizeTrace(traceback)), 'error')
|
||||||
if ' is corrupted.' not in str(err):
|
|
||||||
GUI.sentry.captureException()
|
|
||||||
MW.addMessage.emit('Error during conversion! Please consult '
|
MW.addMessage.emit('Error during conversion! Please consult '
|
||||||
'<a href="https://github.com/ciromattia/kcc/wiki/Error-messages">wiki</a> '
|
'<a href="https://github.com/ciromattia/kcc/wiki/Error-messages">wiki</a> '
|
||||||
'for more details.', 'error', False)
|
'for more details.', 'error', False)
|
||||||
@@ -682,7 +679,6 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
|
|||||||
self.editor.loadData(sname)
|
self.editor.loadData(sname)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
_, _, traceback = sys.exc_info()
|
_, _, traceback = sys.exc_info()
|
||||||
GUI.sentry.captureException()
|
|
||||||
self.showDialog("Failed to parse metadata!\n\n%s\n\nTraceback:\n%s"
|
self.showDialog("Failed to parse metadata!\n\n%s\n\nTraceback:\n%s"
|
||||||
% (str(err), sanitizeTrace(traceback)), 'error')
|
% (str(err), sanitizeTrace(traceback)), 'error')
|
||||||
else:
|
else:
|
||||||
@@ -1211,7 +1207,6 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
|
|||||||
self.croppingPowerValue = 1.0
|
self.croppingPowerValue = 1.0
|
||||||
self.currentMode = 1
|
self.currentMode = 1
|
||||||
self.targetDirectory = ''
|
self.targetDirectory = ''
|
||||||
self.sentry = Client(release=__version__)
|
|
||||||
if sys.platform.startswith('win'):
|
if sys.platform.startswith('win'):
|
||||||
# noinspection PyUnresolvedReferences
|
# noinspection PyUnresolvedReferences
|
||||||
from psutil import BELOW_NORMAL_PRIORITY_CLASS
|
from psutil import BELOW_NORMAL_PRIORITY_CLASS
|
||||||
@@ -1581,7 +1576,6 @@ class KCCGUI_MetaEditor(KCC_ui_editor.Ui_editorDialog):
|
|||||||
self.parser.saveXML()
|
self.parser.saveXML()
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
_, _, traceback = sys.exc_info()
|
_, _, traceback = sys.exc_info()
|
||||||
GUI.sentry.captureException()
|
|
||||||
GUI.showDialog("Failed to save metadata!\n\n%s\n\nTraceback:\n%s"
|
GUI.showDialog("Failed to save metadata!\n\n%s\n\nTraceback:\n%s"
|
||||||
% (str(err), sanitizeTrace(traceback)), 'error')
|
% (str(err), sanitizeTrace(traceback)), 'error')
|
||||||
self.ui.close()
|
self.ui.close()
|
||||||
|
|||||||
@@ -122,10 +122,6 @@ def dependencyCheck(level):
|
|||||||
missing.append('PySide 6.0.0')
|
missing.append('PySide 6.0.0')
|
||||||
except ImportError:
|
except ImportError:
|
||||||
missing.append('PySide 6.0.0+')
|
missing.append('PySide 6.0.0+')
|
||||||
try:
|
|
||||||
import raven
|
|
||||||
except ImportError:
|
|
||||||
missing.append('raven 6.0.0+')
|
|
||||||
if level > 1:
|
if level > 1:
|
||||||
try:
|
try:
|
||||||
from psutil import __version__ as psutilVersion
|
from psutil import __version__ as psutilVersion
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ Pillow>=11.3.0
|
|||||||
psutil>=5.9.5
|
psutil>=5.9.5
|
||||||
requests>=2.31.0
|
requests>=2.31.0
|
||||||
python-slugify>=1.2.1
|
python-slugify>=1.2.1
|
||||||
raven>=6.0.0
|
|
||||||
packaging>=23.2
|
packaging>=23.2
|
||||||
mozjpeg-lossless-optimization>=1.2.0
|
mozjpeg-lossless-optimization>=1.2.0
|
||||||
natsort>=8.4.0
|
natsort>=8.4.0
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ Pillow>=9
|
|||||||
psutil>=5.9.5
|
psutil>=5.9.5
|
||||||
requests>=2.31.0
|
requests>=2.31.0
|
||||||
python-slugify>=1.2.1
|
python-slugify>=1.2.1
|
||||||
raven>=6.0.0
|
|
||||||
packaging>=23.2
|
packaging>=23.2
|
||||||
mozjpeg-lossless-optimization>=1.2.0
|
mozjpeg-lossless-optimization>=1.2.0
|
||||||
natsort>=8.4.0
|
natsort>=8.4.0
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ Pillow>=11.3.0
|
|||||||
psutil>=5.9.5
|
psutil>=5.9.5
|
||||||
requests>=2.31.0
|
requests>=2.31.0
|
||||||
python-slugify>=1.2.1,<9.0.0
|
python-slugify>=1.2.1,<9.0.0
|
||||||
raven>=6.0.0
|
|
||||||
packaging>=23.2
|
packaging>=23.2
|
||||||
mozjpeg-lossless-optimization>=1.2.0
|
mozjpeg-lossless-optimization>=1.2.0
|
||||||
natsort>=8.4.0
|
natsort>=8.4.0
|
||||||
|
|||||||
@@ -153,7 +153,6 @@ setuptools.setup(
|
|||||||
'psutil>=5.9.5',
|
'psutil>=5.9.5',
|
||||||
'requests>=2.31.0',
|
'requests>=2.31.0',
|
||||||
'python-slugify>=1.2.1,<9.0.0',
|
'python-slugify>=1.2.1,<9.0.0',
|
||||||
'raven>=6.0.0',
|
|
||||||
'mozjpeg-lossless-optimization>=1.2.0',
|
'mozjpeg-lossless-optimization>=1.2.0',
|
||||||
'natsort>=8.4.0',
|
'natsort>=8.4.0',
|
||||||
'distro>=1.8.0',
|
'distro>=1.8.0',
|
||||||
|
|||||||
Reference in New Issue
Block a user