Skip to content

Commit

Permalink
[BUG] freeze_support missing; Compiled version did not run multiproce…
Browse files Browse the repository at this point in the history
…ssing funtions
  • Loading branch information
MartinW-S2M committed Nov 15, 2024
1 parent fef5c95 commit c41e9e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/WISDAM/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
from collections import OrderedDict
import pyproj
from pyproj import CRS, datadir as pyproj_datadir
from multiprocessing import freeze_support

# PYSIDE imports
from PySide6.QtWidgets import (QMainWindow, QAbstractItemView, QApplication, QFileDialog, QMenu,
Expand Down Expand Up @@ -3542,7 +3543,8 @@ def main():
pyproj_datadir.append_data_dir(path_to_proj_dir.as_posix())
# Nuitka and PyInstaller already bundling now the libraries in the correct place
# pyproj.datadir.set_data_dir((path_to_datadir / "proj").as_posix())


freeze_support()
app = QApplication()
QFontDatabase.addApplicationFont('app/gui_design/fonts/segoeui.ttf')
QFontDatabase.addApplicationFont('app/gui_design/fonts/segoeuib.ttf')
Expand Down

0 comments on commit c41e9e0

Please sign in to comment.