qcanvas 2.0.4__py3-none-any.whl → 2.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of qcanvas might be problematic. Click here for more details.
- qcanvas/__init__.py +15 -9
- qcanvas/ui/qcanvas_window/qcanvas_window.py +8 -4
- {qcanvas-2.0.4.dist-info → qcanvas-2.0.5.dist-info}/METADATA +1 -1
- {qcanvas-2.0.4.dist-info → qcanvas-2.0.5.dist-info}/RECORD +6 -6
- {qcanvas-2.0.4.dist-info → qcanvas-2.0.5.dist-info}/WHEEL +1 -1
- {qcanvas-2.0.4.dist-info → qcanvas-2.0.5.dist-info}/entry_points.txt +0 -0
qcanvas/__init__.py
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
# nuitka-project: --nofollow-import-to=yt_dlp.extractor.lazy_extractors
|
|
24
24
|
|
|
25
25
|
import logging
|
|
26
|
+
import logging.config
|
|
26
27
|
from logging import INFO, WARNING
|
|
27
28
|
|
|
28
29
|
import qcanvas.app as app
|
|
@@ -34,18 +35,23 @@ def main():
|
|
|
34
35
|
|
|
35
36
|
logging.basicConfig(
|
|
36
37
|
filemode="w",
|
|
37
|
-
filename=paths.data_storage() / "
|
|
38
|
+
filename=paths.data_storage() / "qcanvas.log",
|
|
38
39
|
level="WARN",
|
|
39
40
|
)
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
log_config = paths.data_storage() / "logging.ini"
|
|
43
|
+
|
|
44
|
+
if log_config.exists():
|
|
45
|
+
logging.config.fileConfig(log_config, disable_existing_loggers=False)
|
|
46
|
+
else:
|
|
47
|
+
logs.set_levels(
|
|
48
|
+
{
|
|
49
|
+
"qcanvas": INFO,
|
|
50
|
+
"qcanvas.ui": WARNING,
|
|
51
|
+
"libqcanvas": INFO,
|
|
52
|
+
"qcanvas.ui.main_ui.status_bar_progress_display": INFO,
|
|
53
|
+
}
|
|
54
|
+
)
|
|
49
55
|
|
|
50
56
|
app.launch()
|
|
51
57
|
|
|
@@ -234,10 +234,14 @@ class QCanvasWindow(QMainWindow):
|
|
|
234
234
|
opening_progress_dialog.setWindowTitle("Please wait")
|
|
235
235
|
opening_progress_dialog.show()
|
|
236
236
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
try:
|
|
238
|
+
open_url = QUrl(
|
|
239
|
+
await self._qcanvas.canvas_client.get_temporary_session_url()
|
|
240
|
+
)
|
|
241
|
+
_logger.info(f"Opening URL {open_url}")
|
|
242
|
+
QDesktopServices.openUrl(open_url)
|
|
243
|
+
finally:
|
|
244
|
+
opening_progress_dialog.close()
|
|
241
245
|
|
|
242
246
|
@Slot()
|
|
243
247
|
def _open_downloads_folder(self) -> None:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
qcanvas/__init__.py,sha256=
|
|
1
|
+
qcanvas/__init__.py,sha256=J4gpVRrBBlMqeqyXPZj0uLc6g-0UCYgoQc72f8LjDks,1946
|
|
2
2
|
qcanvas/app.py,sha256=NNxjdzFtRaeGk0cSOHKepwK7ONvHwmY_RcW0IVVzoIs,2747
|
|
3
3
|
qcanvas/backend_connectors/__init__.py,sha256=Wj8cmxQng3SSlmlXJyzHaPmvxbkauwsxINckPb7WuHc,108
|
|
4
4
|
qcanvas/backend_connectors/frontend_resource_manager.py,sha256=uzi8z2bNBdQoVkvtwxWo4qX5r0s13qmH5QL2t0vD0d8,1613
|
|
@@ -49,7 +49,7 @@ qcanvas/ui/qcanvas_window/options/auto_download_resources_option.py,sha256=oeVdU
|
|
|
49
49
|
qcanvas/ui/qcanvas_window/options/quick_sync_option.py,sha256=16zEFL__JRi-wE7Q99_Bqi-OHEBhRgf5QlnVUOUX3Eg,833
|
|
50
50
|
qcanvas/ui/qcanvas_window/options/sync_on_start_option.py,sha256=gL_FIulULN1uGBJJWgUszyjayQDw5WfppjoErbM3850,773
|
|
51
51
|
qcanvas/ui/qcanvas_window/options/theme_selection_menu.py,sha256=VMx79H45R7lcpMFpaN8eohbCxkQkq43MdH8W0nt2aTQ,1434
|
|
52
|
-
qcanvas/ui/qcanvas_window/qcanvas_window.py,sha256=
|
|
52
|
+
qcanvas/ui/qcanvas_window/qcanvas_window.py,sha256=VaIx3HE0HkC4NE1BNOh8k-Tu-8zQif4KJ5w9vEOlImY,9021
|
|
53
53
|
qcanvas/ui/qcanvas_window/status_bar_progress_display.py,sha256=v8cL7EzhKIO6YDo-IJGC2TvjnaHvHb9F2VyJtW0W4U8,5047
|
|
54
54
|
qcanvas/ui/qml_components/__init__.py,sha256=_qCJGhqDvxx8k4dIDgLFpKU7z-R7AS6HWPlsrUlAj2Q,203
|
|
55
55
|
qcanvas/ui/qml_components/attachments_pane.py,sha256=uzaMguTCOAdorU0t4UUkjSOjeY0rYEO3h9lMskLr4Ow,2352
|
|
@@ -86,7 +86,7 @@ qcanvas/util/qurl_util.py,sha256=6nTk8VkQjT87wMOXyZucPBYdT6TTYzfCTElqsypLZPg,200
|
|
|
86
86
|
qcanvas/util/runtime.py,sha256=EO1HFCN7dZbQtKHQOILuvjZFXGT7SzhlmPvU8ma95Z8,617
|
|
87
87
|
qcanvas/util/ui_tools.py,sha256=cdwDrtljxIpzikvUt4CAMC06kogJ4WfhSTsC3lXAcz4,3575
|
|
88
88
|
qcanvas/util/url_checker.py,sha256=HkNFixp1ARwc_YjYkpHb-IMTyuaC7CylvYCgDyo3sh4,136
|
|
89
|
-
qcanvas-2.0.
|
|
90
|
-
qcanvas-2.0.
|
|
91
|
-
qcanvas-2.0.
|
|
92
|
-
qcanvas-2.0.
|
|
89
|
+
qcanvas-2.0.5.dist-info/METADATA,sha256=amt_ONVmunuRLFMPq-VKJeHzvkpuNBwOQ0cQsaQp444,1969
|
|
90
|
+
qcanvas-2.0.5.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
91
|
+
qcanvas-2.0.5.dist-info/entry_points.txt,sha256=hqG_g3MRYh_eLyQcDN4H3EXqmBia_fnJTJ-3nqZGzvY,40
|
|
92
|
+
qcanvas-2.0.5.dist-info/RECORD,,
|
|
File without changes
|