[marble] [Bug 470557] New: Plugin and data env vars ignored resulting in data and plugins not found.

Scarlett Moore bugzilla_noreply at kde.org
Fri Jun 2 13:53:09 BST 2023


https://bugs.kde.org/show_bug.cgi?id=470557

            Bug ID: 470557
           Summary: Plugin and data env vars ignored resulting in data and
                    plugins not found.
    Classification: Applications
           Product: marble
           Version: unspecified
          Platform: Snap
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: sgmoore at kde.org
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Build and install snap
2. launch snap
3. Works but without plugins or default image textiles

OBSERVED RESULT
I have tried setting 
runtime:
    MARBLE_PLUGIN_PATH: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/marble/plugins
    MARBLE_DATA_PATH: $SNAP/usr/share/marble/data
buildtime:
        -
"-DMARBLE_PLUGIN_INSTALL_PATH=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
        - "-DMARBLE_DATA_INSTALL_PATH=/usr/share/marble/data"

And every variation I could find on the interwebs to no avail. Marble can't
find its plugins.

marble --show-info
scarlett at debian:~/kde-snaps/snapcraft-kde-applications$ marble --debug-info
marble(17289)/(default) \[31munknown\[0m: Map theme file does not exist: ""
marble(17289)/() \[31m\[34munknown\[0m: Failed to load map theme
earth/srtm2/srtm2.dgml. Check your installation. No elevation will be returned.
marble(17289)/() \[31m\[34munknown\[0m: Starting to load Plugins.
marble(17289)/() \[31m\[34munknown\[0m: === MarbleDirs: ===
marble(17289)/() \[31m\[34munknown\[0m: Local Path:
"/home/scarlett/snap/marble/x1/.local/share/marble"
marble(17289)/() \[31m\[34munknown\[0m: Plugin Local Path:
"/home/scarlett/snap/marble/x1/.marble/plugins"
marble(17289)/() \[31m\[34munknown\[0m: 
marble(17289)/() \[31m\[34munknown\[0m: Marble Data Path (Run Time) : ""
marble(17289)/() \[31m\[34munknown\[0m: Marble Data Path (Compile Time):
"/usr/share/marble/data"
marble(17289)/() \[31m\[34munknown\[0m: 
marble(17289)/() \[31m\[34munknown\[0m: Marble Plugin Path (Run Time) : ""
marble(17289)/() \[31m\[34munknown\[0m: Marble Plugin Path (Compile Time):
"/usr/lib/x86_64-linux-gnu/marble/plugins"
marble(17289)/() \[31m\[34munknown\[0m: 
marble(17289)/() \[31m\[34munknown\[0m: System Path:
"/snap/marble/x1/usr/bin/data"
marble(17289)/() \[31m\[34munknown\[0m: Plugin System Path:
"/snap/marble/x1/usr/bin/plugins"
marble(17289)/() \[31m\[34munknown\[0m: ===================
marble(17289)/(default) \[31munknown\[0m: No plugins loaded. Please check if
the plugins were installed in the correct path, or if any errors occurred while
loading plugins.
marble(17289)/() \[31m\[34munknown\[0m: void
Marble::PluginManagerPrivate::loadPlugins() Time elapsed: 0 ms
marble(17289)/() \[31m\[34munknown\[0m: bool
Marble::BookmarkManager::loadFile(const QString&) Loading Bookmark File: ""
marble(17289)/(default) \[31m\[34munknown\[0m: Start:
MarblePart::readSettings()
marble(17289)/() \[31m\[34munknown\[0m: added download policy
("a.tile.openstreetmap.org", "b.tile.openstreetmap.org",
"c.tile.openstreetmap.org") 1 20
marble(17289)/() \[31m\[34munknown\[0m: added download policy
("a.tile.openstreetmap.org", "b.tile.openstreetmap.org",
"c.tile.openstreetmap.org") 0 2
marble(17289)/() \[31m\[34munknown\[0m: DgmlBlendingTagHandler::parse
"AlphaBlending"
marble(17289)/() \[31m\[34munknown\[0m: DgmlBlendingTagHandler::parse
"AlphaBlending"
marble(17289)/() \[31m\[34munknown\[0m: DgmlBlendingTagHandler::parse
"AlphaBlending"
marble(17289)/() \[31m\[34munknown\[0m: Map theme file successfully loaded:
"/home/scarlett/snap/marble/x1/.local/share/marble/maps/earth/openfiremap/openfiremap.dgml"
marble(17289)/() \[31m\[34munknown\[0m: DGML2 Name       :  "OpenFireMap"
marble(17289)/() \[31m\[34munknown\[0m: Changing Planet
marble(17289)/() \[31m\[34munknown\[0m: SunLocator::setPlanet(Planet*)
marble(17289)/() \[31m\[34munknown\[0m: adding container:
"cityplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: Starting placemark loading timer
marble(17289)/() \[31m\[34munknown\[0m: adding container:
"baseplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: Starting placemark loading timer
marble(17289)/() \[31m\[34munknown\[0m: adding container:
"elevplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: Starting placemark loading timer
marble(17289)/() \[31m\[34munknown\[0m: adding container:
"otherplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: Starting placemark loading timer
marble(17289)/() \[31m\[34munknown\[0m: starting parser for
"cityplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: starting parser for
"baseplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: adding container:
"boundaryplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: No Default Placemark Source File for 
"cityplacemarks"
marble(17289)/() \[31m\[34munknown\[0m: Starting placemark loading timer
marble(17289)/() \[31m\[34munknown\[0m: No Default Placemark Source File for 
"baseplacemarks"
marble(17289)/() \[31m\[34munknown\[0m: starting parser for
"elevplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: THEME CHANGED: ***
"earth/openfiremap/openfiremap.dgml"
marble(17289)/() \[31m\[34munknown\[0m: No Default Placemark Source File for 
"elevplacemarks"
marble(17289)/() \[31m\[34munknown\[0m: In MarbleMap the property 
"clouds_data" was set to  false
marble(17289)/() \[31m\[34munknown\[0m: GeoSceneSettings: Property 
"clouds_data" to false
marble(17289)/() \[31m\[34munknown\[0m: starting parser for
"otherplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: starting parser for
"boundaryplacemarks.cache"
marble(17289)/() \[31m\[34munknown\[0m: Base tile 
"maps/earth/openstreetmap/0/0/0.png"  is missing for source dir 
"earth/openstreetmap"
marble(17289)/() \[31m\[34munknown\[0m: Base tile 
"maps/earth/openstreetmap/0/0/0.png"  is missing for source dir 
"earth/openstreetmap"
marble(17289)/(default) \[31munknown\[0m: Base tiles for "earth/openstreetmap"
not available. Skipping all texture layers.
marble(17289)/() \[31m\[34munknown\[0m: Base tile 
"maps/earth/humanitarian/0/0/0.png"  is missing for source dir 
"earth/humanitarian"
marble(17289)/() \[31m\[34munknown\[0m: Base tile 
"maps/earth/humanitarian/0/0/0.png"  is missing for source dir 
"earth/humanitarian"
marble(17289)/() \[31m\[34munknown\[0m: No Default Placemark Source File for 
"otherplacemarks"
marble(17289)/() \[31m\[34munknown\[0m: No Default Placemark Source File for 
"boundaryplacemarks"
marble(17289)/(default) \[31munknown\[0m: Base tiles for "earth/humanitarian"
not available. Skipping all texture layers.
marble(17289)/() \[31m\[34munknown\[0m: Base tile 
"maps/earth/hillshading/0/0/0.png"  is missing for source dir 
"earth/hillshading"
marble(17289)/() \[31m\[34munknown\[0m: Base tile 
"maps/earth/hillshading/0/0/0.png"  is missing for source dir 
"earth/hillshading"
marble(17289)/(default) \[31munknown\[0m: Base tiles for "earth/hillshading"
not available. Skipping all texture layers.
marble(17289)/() \[31m\[34munknown\[0m: enabling texture "openfiremap"
marble(17289)/() \[31m\[34munknown\[0m: Style reset requested.
marble(17289)/() \[31m\[34munknown\[0m: In MarbleMap the property 
"clouds_data" was set to  true
marble(17289)/() \[31m\[34munknown\[0m: GeoSceneSettings: Property 
"clouds_data" to true
marble(17289)/() \[31m\[34munknown\[0m: About to clear VolatileTileCache
marble(17289)/() \[31m\[34munknown\[0m: Cleared Volatile Cache!
marble(17289)/() \[31m\[34munknown\[0m: In MarbleMap the property  "citylights"
was set to  false
marble(17289)/() \[31m\[34munknown\[0m: GeoSceneSettings: Property 
"citylights" to false
marble(17289)/() \[31m\[34munknown\[0m: detaching!
marble(17289)/(default) \[31m\[34munknown\[0m: Updating Settings ...
marble(17289)/() \[31m\[34munknown\[0m: Style reset requested.
marble(17289)/() \[31m\[34munknown\[0m: kiloBytes 102400
marble(17289)/() \[31m\[34munknown\[0m: "Setting tile cache to 102400
kilobytes."
marble(17289)/() \[31m\[34munknown\[0m: updateMapThemeModel
marble(17289)/() \[31m\[34munknown\[0m: added download policy
("a.tile.openstreetmap.org", "b.tile.openstreetmap.org",
"c.tile.openstreetmap.org") 1 20
marble(17289)/() \[31m\[34munknown\[0m: added download policy
("a.tile.openstreetmap.org", "b.tile.openstreetmap.org",
"c.tile.openstreetmap.org") 0 2
marble(17289)/() \[31m\[34munknown\[0m: DgmlBlendingTagHandler::parse
"AlphaBlending"
marble(17289)/() \[31m\[34munknown\[0m: DgmlBlendingTagHandler::parse
"AlphaBlending"
marble(17289)/() \[31m\[34munknown\[0m: DgmlBlendingTagHandler::parse
"AlphaBlending"
marble(17289)/() \[31m\[34munknown\[0m: Map theme file successfully loaded:
"/home/scarlett/snap/marble/x1/.local/share/marble/maps/earth/openfiremap/openfiremap.dgml"
marble(17289)/(default) \[31munknown\[0m: QFSFileEngine::open: No file name
specified
[17425:17431:0602/054319.853990:ERROR:command_buffer_proxy_impl.cc(141)]
ContextResult::kTransientFailure: Failed to send
GpuChannelMsg_CreateCommandBuffer.

reveals runtime is not being set! Does marble not honor it's own env vars?
    MARBLE_PLUGIN_PATH: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/marble/plugins
    MARBLE_DATA_PATH: $SNAP/usr/share/marble/data

EXPECTED RESULT
plugins and data to be found.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Snap
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: 106
Qt Version: 5.15.9

ADDITIONAL INFORMATION
I am trying to snap this application

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list