Qmapshack workspace on imac

Garmin fenix 7X und epix Gen 2 im Test

Der Schwerpunkt dieses Tests und Vergleichs der Garmin Fenix 7X Solar und Garmin Epix Gen 2 liegt auf den Sensoren wie Höhenmesser, Positionsbestimmung und Herzfrequenz. Was unterscheidet die beiden GPS-Outdoor-Smartwatches? Und wie gut ist die Taschenlampe der Fenix 7X für den Outdoorbereich? Hier geht es zum Test der Outdoor-Smartwatches ...
  • Hi,


    I have installed QMS 1.20.3 on an iMac with macOS Tahoe 26.5.2.

    QMS has been given full disk access via setup/privacy.


    The QMS workspace.db is located here: /Users/e-jvanderlinden/Library/Application Support/QLandkarte/QMapShack

    I see it is updated each 5 minutes.


    I have maps configured and opened, I have DEM data configured and opened.
    I expect the view with map data and DEM data will be saved in the workspace.db file.


    However, when I close and open QMS again, the workspace seems not to be read as my Views are completely empty.


    Any thoughts on what can be wrong?


    Regards,
    Ernst-Jan

  • ConiKost

    Hat das Thema freigeschaltet.
  • The information you are looking for isn't saved in the file `workspace.db`. It is saved in a configuration file. For details compare the QMS Wiki page https://github.com/Maproom/qmapshack/wiki/DocCmdOptions. My recommendation is: use the "-c" option on the command line. I'm on Windows. Thus, I can't tell you the exact location of the default config file for your system. The Wiki page says: "If you start the application without the -c option, the configuration will be stored wherever your system stores application configurations. Otherwise it is stored in <filename> during the QMapShack run."

  • I started the program from the commandline with the -d option.
    Then I see the Configuration path is default:

    /Users/e-jvanderlinden/Library/Preferences/org.qlandkarte.QMapShack.plist


    If I change this with the -c commandline option it still does not work and I see no files are stored in this folder.

    /Applications/QMapShack.app/Contents/MacOS/QMapShack -c /Users/e-jvanderlinden/Documents/QMapShack/Config/


    I also do not see any log files in:

    "LOG" path "/Users/e-jvanderlinden/Library/Logs"


    During startup I see some suspicious debug output:


    2026-07-06 8:07:19.638 [debug] label: "Macintosh HD" root path: "/" device: "disk3s7s1"

    2026-07-06 8:07:19.638 [debug] Probe device at "/" "disk3s7s1" "Macintosh HD"

    2026-07-06 8:07:19.639 [debug] Don't know it :(

    2026-07-06 8:07:19.639 [debug] label: "Data" root path: "/Volumes/Data" device: "disk3s5"

    2026-07-06 8:07:19.639 [debug] Probe device at "/Volumes/Data" "disk3s5" "Data"

    2026-07-06 8:07:19.639 [debug] Don't know it :(

  • Datenschutz ist uns & Euch wichtig, daher verzichten wir auf Bannerwerbung & Web-Analysetools! Um das Forum zu unterstützen bitten wir Euch über diesen Link: bei Amazon zu bestellen....
    Für Euch ist das nur ein Klick, uns hilft es das Forum langfristig und werbefrei für Euch zu betreiben! Vielen vielen Dank...
  • If I change this with the -c commandline option it still does not work and I see no files are stored in this folder.

    /Applications/QMapShack.app/Contents/MacOS/QMapShack -c /Users/e-jvanderlinden/Documents/QMapShack/Config/

    /Applications/QMapShack.app/Contents/MacOS/QMapShack -c /Users/e-jvanderlinden/Documents/QMapShack/Config/QMapSahack.conf


    And make sure the path /Users/e-jvanderlinden/Documents/QMapShack/Config/ is existing and is writable.


  • QMS release 1.17.1 does work well...

    1.20.2 does not work

    Intermediate releases I can not check as there is no Mac OS binary available.


    I think something has been broken since then.


    How can I help to debug the issue?


    Ernst-Jan

  • If I understand you correctly:


    * Maps, DEM, and other setup is stored correctly into the config file. And everything is restored on a restart.

    * Your workspace (projects, waypoints, tracks, etc) is not restored on a restart. However you see that the workspace.db is written.


    If workspace.de is not restored I would expect at least some sql warnings in the debug output. Start qmapshack with "-d" option and post the output.

  • Datenschutz ist uns & Euch wichtig, daher verzichten wir auf Bannerwerbung & Web-Analysetools! Um das Forum zu unterstützen bitten wir Euch über diesen Link: bei Amazon zu bestellen....
    Für Euch ist das nur ein Klick, uns hilft es das Forum langfristig und werbefrei für Euch zu betreiben! Vielen vielen Dank...
  • No, the problem is exactly the opposite. Projects are stored correctly (GPS and waypoints).

    • iMac with macOS Tahoe 26.5.2
    • QMS 1.20.2 or 1.20.3


    • I load and activate maps and DEM data and make some changes e.g. detail level for the map and hill shading for DEM
    • then upon closing (via menu/quit QMapshack) and opening QMS again
    • maps and DEM data are not present in the map or DEM window
    • I have to do reload maps or reload DEM data to get them back.
    • detail level is back to 0 and hill shading is not selected.

    In QMS 1.17.1 it does work correctly.


    Ernst-Jan

  • If I remember well there has been some discussions about "silent crashes" of the macOS version at the end of a QMS run in the past. This can explain the described issue. The same happens on Windows if QMS crashes at the end of a run. Example in my case: trying to activate completely wrong map file with VRT wrapper and failing GDAL.

  • Datenschutz ist uns & Euch wichtig, daher verzichten wir auf Bannerwerbung & Web-Analysetools! Um das Forum zu unterstützen bitten wir Euch über diesen Link: bei Amazon zu bestellen....
    Für Euch ist das nur ein Klick, uns hilft es das Forum langfristig und werbefrei für Euch zu betreiben! Vielen vielen Dank...
  • Which kind of processor is your iMac, Intel or ARM?


    I am asking because I recently tried to verify your problem with QMS 1.20.3.1 release on Intel based macOS Tahoe 26.5.1. I can confirm, in my environment everything works as expected: activated maps and DEMs are still activated after QMS restart.


    There might be a problem when switching between QMS versions. The handling of maps and DEMs is not backward-compatible. As each QMS version by default saves configuration to and restores from file ~/Library/Preferences/org.qlandkarte.QMapShack.plist, each QMS version stores data on a version-specific basis. Reading stored data and trying to restore previous settings from a different QMS version may fail.


    Therefore when using different QMS versions in turn, it is best practise not to use default configuration but to use different configuration files for different QMS versions. This can be achieved by command line parameter -c. Example for QMS version 1.17.1:

    /Applications/QMapShack.app/Contents/MacOS/QMapShack -c ~/QMapShack.1.17.1.conf


    About LOG file (see online or F1 offline help, keyword commandline) :

    • If command line parameter -d is set, log output goes to terminal.
    • If command line parameter -f is set, log output goes to file ~/Library/Logs/org.qlandkarte.QMapShack.log
    • If neither command line parameter -d nor -f is set, no log output is written at all.

    About suspicious debug output mentioned above:

    These debug output lines are due to the fact, that you have enabled device support, intentionally or not. You find corresponding checkbutton at Workspace -> Setup Workspace -> General.


    About silent crashes at the end of a QMS run mentioned above:

    Reason for crash has been found and (hopefully) fixed since QMS 1.20.0.


    Finally, 2 complete log files would be helpful to circle down problem.

    Run QMS 1.20.3 from commandline twice in turn.

    1. First run:
      /Applications/QMapShack.app/Contents/MacOS/QMapShack -d | tee qms.1.log
      Within first run, activate maps and DEMs as desired. Then quit QMS normally, either by QMS window's red Close button or by QMapShack -> Quit QMapShack.
    2. Second run:
      /Applications/QMapShack.app/Contents/MacOS/QMapShack -d | tee qms.2.log
      Maps and DEMs activated in first run should be still activated. Quit QMS normally.

    Attach both log files qms.1.log and qms.2.log to your reply.

    Einmal editiert, zuletzt von JFritzle ()

  • Starting 1.20.3

    (base) imac-1:Applications e-jvanderlinden$ QMapShack_1_20_3.app/Contents/MacOS/QMapShack -d

    2026-07-07 15:25:25.175 [debug] Log configuration: logfile= "/Users/e-jvanderlinden/Library/Logs/org.qlandkarte.QMapShack.log" write to file= false debug output= true

    2026-07-07 15:25:25.175 [debug] Qt versions: build=6.11.1, runtime=6.11.1

    2026-07-07 15:25:25.175 [debug] Executable path: "/Applications/QMapShack_1_20_3.app/Contents/MacOS/QMapShack"

    2026-07-07 15:25:25.175 [debug] Argument list: "-d"

    2026-07-07 15:25:25.175 [debug] Configuration path: "/Users/e-jvanderlinden/Library/Preferences/org.qlandkarte.QMapShack.plist"

    2026-07-07 15:25:25.175 [debug] Tools path: "/Applications/QMapShack_1_20_3.app/Contents/Tools"

    2026-07-07 15:25:25.175 [debug] QMapTool path: "/Applications/QMapShack_1_20_3.app/Contents/MacOS"

    2026-07-07 15:25:25.176 [debug] "GDAL_DATA directory set to /Applications/QMapShack_1_20_3.app/Contents/Resources/gdal"

    2026-07-07 15:25:25.176 [debug] "GDAL_DRIVER_PATH directory set to /Applications/QMapShack_1_20_3.app/Contents/Resources/gdalplugins"

    2026-07-07 15:25:25.176 [debug] "PROJ_DATA directory set to /Applications/QMapShack_1_20_3.app/Contents/Resources/proj"

    2026-07-07 15:25:25.177 [debug] locale "en"

    2026-07-07 15:25:25.177 [debug] "using file '/Applications/QMapShack_1_20_3.app/Contents/Resources/translations/qtbase_en.qm' for translations."

    2026-07-07 15:25:25.177 [debug] locale "en" not found (using default).

    2026-07-07 15:25:25.177 [debug] "using file '/Applications/QMapShack_1_20_3.app/Contents/Resources/translations/qmapshack.qm' for translations."

    2026-07-07 15:25:25.177 [debug] Stylesheet "/Applications/QMapShack_1_20_3.app/Contents/Resources/qms-style.qss"

    2026-07-07 15:25:25.177 [debug] "CACHE" path "/Users/e-jvanderlinden/Library/Caches/QLandkarte/QMapShack"

    2026-07-07 15:25:25.177 [debug] "USER DATA" path "/Users/e-jvanderlinden/Library/Application Support/QLandkarte/QMapShack"

    2026-07-07 15:25:25.177 [debug] "ICON" path "/Users/e-jvanderlinden/Library/Application Support/QLandkarte/QMapShack/WaypointIcons"

    2026-07-07 15:25:25.177 [debug] "LOG" path "/Users/e-jvanderlinden/Library/Logs"

    2026-07-07 15:25:25.177 [debug] Try to lock file "/Users/e-jvanderlinden/Library/Application Support/QLandkarte/QMapShack/.lock" ...

    2026-07-07 15:25:25.177 [debug] ... Success

    2026-07-07 15:25:25.177 [debug] CSingleInstanceProxy: Single instance server socket listening to "/var/folders/kx/rqf3s_9j4l74g_z1h0y1x8br0000gn/T/QMapShack-e-jvanderlinden"

    2026-07-07 15:25:26.272 [debug] Application ID: -1196769099

    2026-07-07 15:25:26.328 [debug] "ROUTINO" path "/Applications/QMapShack_1_20_3.app/Contents/Resources/routino/translations.xml"

    2026-07-07 15:25:26.581 [debug] Device support enabled

    2026-07-07 15:25:26.582 [debug] CDeviceWorker Thread.run

    2026-07-07 15:25:26.593 [debug] CMapDraw::loadMapPath(cfg)

    2026-07-07 15:25:26.593 [debug] CDemDraw::loadDemPath(cfg)

    2026-07-07 15:25:26.612 [debug] CMapDraw::loadConfig(cfg)

    2026-07-07 15:25:26.612 [debug] CMapDraw::loadMapList(cfg)

    2026-07-07 15:25:26.613 [debug] ignoring "BRouterDownload" (reason: no QMS cache)

    2026-07-07 15:25:26.613 [debug] CDemDraw::loadConfig(cfg)

    2026-07-07 15:25:26.613 [debug] CDemDraw::loadDemList(cfg)

    2026-07-07 15:25:26.804 [debug] Sanity test passed.

    2026-07-07 15:25:27.583 [debug] slotUpdate

    2026-07-07 15:25:27.584 [debug] label: "Macintosh HD" root path: "/" device: "disk3s7s1"

    2026-07-07 15:25:27.584 [debug] Probe device at "/" "disk3s7s1" "Macintosh HD"

    2026-07-07 15:25:27.587 [debug] Don't know it :(

    2026-07-07 15:25:27.587 [debug] label: "Data" root path: "/Volumes/Data" device: "disk3s5"

    2026-07-07 15:25:27.587 [debug] Probe device at "/Volumes/Data" "disk3s5" "Data"

    2026-07-07 15:25:27.587 [debug] Don't know it :(


    Reload maps

    2026-07-07 15:27:23.285 [debug] CMapDraw::setupMapPath(paths)

    2026-07-07 15:27:23.286 [debug] CMapDraw::saveMapList()

    2026-07-07 15:27:23.286 [debug] CMapDraw::saveMapList(cfg)

    2026-07-07 15:27:23.286 [debug] CMapDraw::loadMapList()

    2026-07-07 15:27:23.286 [debug] CMapDraw::loadMapList(cfg)

    2026-07-07 15:27:23.289 [debug] ignoring "BRouterDownload" (reason: no QMS cache)


    Quit the application

    2026-07-07 15:28:10.349 [debug] slotSaveWorkspace()

    2026-07-07 15:28:10.717 [debug] CDeviceWorker Thread.stop

    2026-07-07 15:28:10.769 [debug] CMapDraw::saveConfig(cfg)

    2026-07-07 15:28:10.769 [debug] CMapDraw::saveMapList(cfg)

    2026-07-07 15:28:10.770 [debug] CDemDraw::saveConfig(cfg)

    2026-07-07 15:28:10.770 [debug] CDemDraw::saveDemList(cfg)

    2026-07-07 15:28:10.771 [debug] CMapDraw::saveMapPath(cfg)

    2026-07-07 15:28:10.771 [debug] CDemDraw::saveDemPath(cfg)

    2026-07-07 15:28:10.785 [debug] CSingleInstanceProxy::~CSingleInstanceProxy()


    The maps are not visible when QMS is restarted



    Now start QMS 1.17.1

    2026-07-07 15:30:49.451 [debug] Log configuration: logfile= "/Users/e-jvanderlinden/Library/Logs/org.qlandkarte.QMapShack.log" write to file= false debug output= true

    2026-07-07 15:30:49.451 [debug] BIN "/Applications/QMapShack.app/Contents/Tools"

    2026-07-07 15:30:49.451 [debug] "GDAL_DATA directory set to /Applications/QMapShack.app/Contents/Resources/gdal"

    2026-07-07 15:30:49.451 [debug] "PROJ_LIB directory set to /Applications/QMapShack.app/Contents/Resources/proj"

    2026-07-07 15:30:49.453 [debug] locale "en"

    2026-07-07 15:30:49.453 [debug] "using file '/Applications/QMapShack.app/Contents/Resources/translations/qt_en.qm' for translations."

    2026-07-07 15:30:49.453 [debug] locale "en"

    2026-07-07 15:30:49.453 [warning] "no file found for translations '/Applications/QMapShack.app/Contents/Resources/translations/qmapshack_en' (using default)."

    2026-07-07 15:30:49.453 [debug] Stylesheet "/Applications/QMapShack.app/Contents/Resources/qms-style.qss"

    2026-07-07 15:30:49.454 [debug] "CACHE" path "/Users/e-jvanderlinden/Library/Caches/QLandkarte/QMapShack"

    2026-07-07 15:30:49.454 [debug] "USER DATA" path "/Users/e-jvanderlinden/Library/Application Support/QLandkarte/QMapShack/WaypointIcons"

    2026-07-07 15:30:49.454 [debug] "LOG" path "/Users/e-jvanderlinden/Library/Logs"

    2026-07-07 15:30:49.454 [debug] CSingleInstanceProxy: Single instance server socket listening to "/private/var/folders/kx/rqf3s_9j4l74g_z1h0y1x8br0000gn/T/QMapShack-e-jvanderlinden"

    2026-07-07 15:30:49.518 [debug] Application ID: -261467010

    2026-07-07 15:30:49.533 [debug] "ROUTINO" path "/Applications/QMapShack.app/Contents/Resources/routino/translations.xml"

    2026-07-07 15:30:49.781 [debug] workspace.db has version 5 , migration to version 4 required

    2026-07-07 15:30:49.783 [debug] Device support enabled

    2026-07-07 15:30:49.783 [debug] CDeviceWorker Thread.run

    2026-07-07 15:30:49.798 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.801 [debug] ignoring "BRouterDownload" (reason: no QMS cache)

    2026-07-07 15:30:49.802 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.805 [debug] Create projection: "EPSG:4326" -> "EPSG:4326"

    2026-07-07 15:30:49.806 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.809 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.810 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.811 [warning] Empty filename passed to function

    2026-07-07 15:30:49.812 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.813 [debug] ignoring "BRouterDownload" (reason: no QMS cache)

    2026-07-07 15:30:49.814 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.815 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.816 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.817 [debug] Create projection: "EPSG:3857" -> "EPSG:4326"

    2026-07-07 15:30:49.817 [debug] Create projection: "EPSG:4326" -> "EPSG:4326"

    2026-07-07 15:30:49.822 [warning] Empty filename passed to function

    2026-07-07 15:30:49.841 [warning] Empty filename passed to function

    2026-07-07 15:30:49.876 [warning] Empty filename passed to function

    2026-07-07 15:30:50.082 [debug] Create projection: "EPSG:4326" -> "EPSG:32661"

    2026-07-07 15:30:50.082 [debug] Sanity test passed.

    2026-07-07 15:30:50.784 [debug] slotUpdate

    2026-07-07 15:30:50.786 [debug] label: "Macintosh HD" root path: "/" device: "disk3s7s1"

    2026-07-07 15:30:50.786 [debug] Probe device at "/" "disk3s7s1" "Macintosh HD"

    2026-07-07 15:30:50.788 [debug] Don't know it :(

    2026-07-07 15:30:50.788 [debug] label: "Data" root path: "/Volumes/Data" device: "disk3s5"

    2026-07-07 15:30:50.788 [debug] Probe device at "/Volumes/Data" "disk3s5" "Data"

    2026-07-07 15:30:50.788 [debug] Don't know it :(


    Maps and DEM data is presented, no reload maps is required


    Close QMS 1.17.1

    2026-07-07 15:32:28.489 [debug] slotSaveWorkspace()

    2026-07-07 15:32:28.869 [debug] CDeviceWorker Thread.stop

    2026-07-07 15:32:28.880 [debug] CWptIconManager::~CWptIconManager()

    2026-07-07 15:32:28.903 [debug] CSingleInstanceProxy::~CSingleInstanceProxy()


  • If it is really the complete debug output from QMS 1.20.3, then you did never active a map after reloading maps. "Reloading maps" only means updating list of available maps and not showing any map. I can't believe that you have set any map active within QMS 1.20.3. If any map would have been set active, then debug output would have shown lines of kind


    [QMS] 2026-07-07 19:51:01.997 [debug] ------------------------------

    [QMS] 2026-07-07 19:51:01.997 [debug] TMS: try to open "D:/Landkarten/QMapShack/Onlinemaps/OpenStreetMap.tms"

    [QMS] 2026-07-07 19:51:02.001 [debug] tms: "EPSG:3857"


    What I see is only one QMS 1.20.3 debug log where no maps seem to be activated (eye symbol button!).


    What I had expected is two debug logs of subsequent QMS 1.20.3 runs as mentioned. Without running any different QMS version in between. Perhaps a new attempt? Now with log files as attachments?






  • Datenschutz ist uns & Euch wichtig, daher verzichten wir auf Bannerwerbung & Web-Analysetools! Um das Forum zu unterstützen bitten wir Euch über diesen Link: bei Amazon zu bestellen....
    Für Euch ist das nur ein Klick, uns hilft es das Forum langfristig und werbefrei für Euch zu betreiben! Vielen vielen Dank...
  • "/Users/e-jvanderlinden/Library/Preferences/org.qlandkarte.QMapShack.plist"


    This is the file with the configuration. It should list your maps and their state of activation. Can you post it after you setup your maps and closed QMapShack

  • Sorry, you are right. I did not activate the map, I did not click the eye symbol.



    I upload two debug output files


    Run1

    run1.txt

    • Start QMS 1.20.3
    • After QMS started no maps are visible in the small maps window on the left.
    • Reload maps
    • Maps are visible in the maps window but the eye symbol is striked through
    • Click the eye symbol
    • Quit the application


    Run 2

    run2.txt

    • Start QMS 1.20.3
    • Quit the application

    The file org.qlandkarte.QMapShack.plist is created after I setup the maps and quit QMS.

    org.qlandkarte.QMapShack.plist.zip


    Thanks for your help!

    Ernst-Jan






  • Strange. In the plist I see multiple IMG maps activated. However in the debug log 1 there is only one IMG map activated.


    Session is closed properly, so the plist file should be written.


    I do not know Macs, but can you make sure access rights are ok?

    Maybe deleting the plist file gives another clue.

  • Datenschutz ist uns & Euch wichtig, daher verzichten wir auf Bannerwerbung & Web-Analysetools! Um das Forum zu unterstützen bitten wir Euch über diesen Link: bei Amazon zu bestellen....
    Für Euch ist das nur ein Klick, uns hilft es das Forum langfristig und werbefrei für Euch zu betreiben! Vielen vielen Dank...
  • For testing purpose, I suggest to run QMS 1.20.3 by command

    /Applications/QMapShack_1_20_3.app/Contents/MacOS/QMapShack -d -c ~/QMapShack.1.20.3.conf
    -> QMS no starts with a fresh and empty configuration file QMapShack.1.20.3.conf in your home folder.


    Yes, except from your projects everything is default, undefined or missing.
    This is intended for testing, has no impact on your default configuration file org.qlandkarte.QMapShack.plist nor alters your default configuration.


    Then

    • setup your map path to your map folder /Users/e-jvanderlinden/Documents/QMapShack/Maps
      -> list of available maps should get populated
    • set 1 or more maps from list active ("eye" symbol button)
    • verify that activated maps are visible
    • quit QMS
    • restart QMS by same above command
    • verify that previously activated maps become visible again:
      If true, then something in your default configuration file org.qlandkarte.QMapShack.plist prevents from QMS 1.20.3 working as expected. Regarding your attached default configuration file, it still contains orphaned entries which may or may not impact.
      If false? Hope that doesn't happen.