Version: (using 4.00.74 (KDE 4.0.73 >= 20080515 "release 1.4", compiled sources) Compiler: gcc OS: Linux (x86_64) release 2.6.25.3-2-default I can't start marble, here is the output: marble loadLegend Starting to load Plugins. QObject::connect: Cannot connect QItemSelectionModel::selectionChanged ( QItemSelection, QItemSelection) to (null)::requestStyleReset() QObject::connect: Cannot connect MarblePlacemarkModel::modelReset() to (null)::requestStyleReset() "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache" loadMapTheme "earth/citylights/citylights.dgml" Succesfully parsed file! loadMapTheme "earth/bluemarble/bluemarble.dgml" Succesfully parsed file! QAbstractItemView::setSelectionModel() failed: Trying to set a selection model, which works on a different model than the view. initTheme loadLegend path to watch: "/home/sts/.marble/data/maps" path to watch: "/usr/share/kde4/apps/marble/data/maps" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/bluemarble" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/bluemarble/bluemarble.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/citylights" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/citylights/citylights.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/plain" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/plain/plain.dgml" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/srtm" path to watch: "/usr/share/kde4/apps/marble/data/maps/earth/srtm/srtm.dgml" QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Datei oder Verzeichnis nicht gefunden QFileSystemWatcher: failed to add paths: /home/sts/.marble/data/maps MapThemeId "" Falling back to default theme loadMapTheme "earth/srtm/srtm.dgml" Succesfully parsed file! DGML2 Name : "Atlas" Base tiles not available. Creating Tiles ... SourceDir: "earth/srtm" InstallMap: "srtm.jpg" === MarbleDirs: === Local Path: "/home/sts/.marble/data" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" System Path: "/usr/share/kde4/apps/marble/data" =================== Prefix: "earth/srtm" installmap: "srtm.jpg" Trying relative path: "maps/earth/srtm/srtm.jpg" Creating tiles from: "" Installing tiles to: "/home/sts/.marble/data/maps//" QFSFileEngine::open: No file name specified "TileCreator::createTiles() image dimensions -1 x -1" Invalid imagemap! Files: "earth/bluemarble/bluemarble.dgml" Files: "earth/citylights/citylights.dgml" Files: "earth/plain/plain.dgml" Files: "earth/srtm/srtm.dgml" MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/bluemarble/bluemarble.dgml" Succesfully parsed file! Found 261374 GeoNode object LEAKS! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/citylights/citylights.dgml" Succesfully parsed file! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/plain/plain.dgml" Succesfully parsed file! MapThemeManager: Building Model, MapThemeID: loadMapTheme "earth/srtm/srtm.dgml" Succesfully parsed file! Tile creation completed TileLoader::setTextureLayer: delete tile Color m_depth( 0 ) of a tile could not be retrieved. Exiting. MaxTileLevel: 0 Use workaround: 0 Style reset requested. initTheme loadLegend MaxTileLevel: 0 Updating Settings ... kiloBytes 30000 "Setting tile cache to 30000 kilobytes." MapThemeId "" Selected theme doesn't work, so we stick to the previous one DGML2 Name : "Atlas" Base tiles not available. Creating Tiles ... SourceDir: "earth/srtm" InstallMap: "srtm.jpg" === MarbleDirs: === Local Path: "/home/sts/.marble/data" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" System Path: "/usr/share/kde4/apps/marble/data" =================== Prefix: "earth/srtm" installmap: "srtm.jpg" Trying relative path: "maps/earth/srtm/srtm.jpg" Creating tiles from: "" Installing tiles to: "/home/sts/.marble/data/maps//" QFSFileEngine::open: No file name specified "TileCreator::createTiles() image dimensions -1 x -1" Invalid imagemap! MaxTileLevel: 0 Tile creation completed TileLoader::setTextureLayer: delete tile Color m_depth( 0 ) of a tile could not be retrieved. Exiting. MaxTileLevel: 0 Style reset requested. initTheme loadLegend MaxTileLevel: 0 Updating Settings ... kiloBytes 30000 "Setting tile cache to 30000 kilobytes." MaxTileLevel: 0 "TileLoaderHelper::levelToColumn(): Invalid level: -2147483648" "TileLoaderHelper::levelToRow(): Invalid level: -2147483648" "TileLoaderHelper::levelToColumn(): Invalid level: -2147483648" "TileLoaderHelper::levelToRow(): Invalid level: -2147483648" "TileLoaderHelper::levelToColumn(): Invalid level: -2147483648" "TileLoaderHelper::levelToRow(): Invalid level: -2147483648" KCrash: Application 'marble' crashing... sock_file=/home/sts/.kde/socket-linux/kdeinit4__0 Warning: connect() failed: : Datei oder Verzeichnis nicht gefunden KCrash cannot reach kdeinit, launching directly. QSocketNotifier: Invalid socket 31 and type 'Read', disabling...
Fixed. We completely revamped the way we installed the maps. Now they get installed and formatted during installation instead of the first time that you run the program. There may still be bugs, of course, but at least not this one.
Hmm, one more comment. I see that this bug is more recent than I originally figured. We did have some problems starting marble when we rearranged things, among them the plugins. If you still have problems with the current version, you can try to remove everything that is marble from your kde4 directory and then reinstall it. That way you will never have conflicts with older versions of the plugins.
sorry, but I have still this problem with a fresh kde4 dir and kde4.1 beta1 marble --version Qt: 4.4.0 KDE: 4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1) "release 3.2" Marble Desktop Globe: 0.5 -- KDE 4.0 Release
Hi, Looking at the output, these are the important lines: Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" System Path: "/usr/share/kde4/apps/marble/data" Trying relative path: "maps/earth/srtm/srtm.jpg" Creating tiles from: "" Installing tiles to: "/home/sts/.marble/data/maps//" These lines tell me that the MARBLE_DATA_PATH (which lets Marble find its data) is set correctly (to /usr/share/kde4/apps/marble/data ). And in there Marble tries to find "maps/earth/srtm/srtm.jpg". Obviously it didn't get installed. By default the process of creating tiles from the maps should have happened during compilation already! Do you compile with TILES_AT_COMPILETIME=ON or TILES_AT_COMPILETIME=OFF ? If you compile with TILES_AT_COMPILETIME=ON then for whatever reason the tile creator didn't manage to create it's tiles. We need your input about the output of the Marble compilation to be able to tell you more. If you compiled with TILES_AT_COMPILETIME=OFF then for whatever reason the installmap srtm.jpg didn't get copied into the correct place.
I have not compiled from source, was using suse 10.3 rpm for data files, read the previous message and found /usr/share/apps/marble/data/maps/earth/srtm/srtm.jpg I believe this was from an older version of marble (march 3 2008). This file (srtm.jpg) did not exist in /usr/share/kde4/apps/marble/data/maps/earth/srtm/ so I copied it there. Now marble will start and run properly. It seems like a bug that Marble would crash if it can't find a data file, but I assume the problem came to light through a packaging problem. Should I file a new bug based on the "Can't find data file so it crashes" idea? can anyone confirm this is the problem?
david: I don't fully get your situation: Are you just using packages, a Marble compiled from scratch or a weird mix of compiled vs. packaged data ( in the latter I'd say sorry but I won't provide help on that one). If you are using packages and they don't work then you should blame your packager. If you are compiling then I'd like to find out what's wrong there. Concerning the case of absense of an srtm.jpg yes, I think that we'll provide a dialog informing the user about the lack of data and exit decently.
Forgive any faux pas I may make here, I've just started trying to be involved in bug tracking. For Marble I am just using the SuSE packages so srtm.jpg not being found in the right location is (probably) a packaging issue as you suggest. For some reason (left over from older package probably) I did have the needed file in another location. Copying it to the expected location /usr/share/kde4/apps/marble/data/maps/earth/srtm/ allowed marble to find the file and work properly, rather than crash. The
david: No problem, I just need details. So what version of SUSE are you using. Where did you get the Marble packages from (preinstalled and update)? And what are the exact names / versions of the old and new rpms you had?
Hi David, Ok, I've contacted the openSUSE packagers. The problem in your special case was this: The installation of Marble on SUSE requires the two packages - kde4-marble - kde4-marble-data Recently the content of kde4-marble-data got changed (it now installs all the tiles instead of srtm.jpg). However kde4-marble for KDE 4.1 Beta1 just depends on kde4-marble-data without specifying a certain version. So during your update the kde4-marble-data just didn't get updated (so if our assumption is correct you should still have kde4-marble-data 4.0.4 installed). Given that the update mechanism considered the dependency on kde4-marble-data to be fullfilled and Marble assumed the tiles to be installed (which is not the case with the old package) the resulting clash probably results in the problem you have. The SUSE packager asked me to let you know that you should please update your kde4-marble package (which should then also update kde4-marble-data) to fix the problem. They have fixed this issue recently.
Thanks for your help, yes I'm using kde4.1 beta (opensuse10.3 64bit) and all seems to work fine now. see ya
hmh.. what can I do? Any workaorund available?
sts@gmx.de: If you don't answer my questions under #4 there is nothing I can do for you. I'm not qualified as a soothsayer after all ...
sorry.. I use precompiled rpms from opensuse buildservice http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.0/
those binaries include the fix, but you have to remove ~/.kde4/share/config/marblerc if you ran older marble versions before - the app crashes if you have old settings in there
it doesn't work for me. I don't have this config file. I will test it later with a fresh opensuse11.0 again.
with a fresh i386 installation it works fine with kde4.0.4, but not with a 64bit and kde 4.0.82 packages
QUESTION 1: Do you still get exactly these lines in the konsole output -- snip -- Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" System Path: "/usr/share/kde4/apps/marble/data" Trying relative path: "maps/earth/srtm/srtm.jpg" Creating tiles from: "" Installing tiles to: "/home/sts/.marble/data/maps//" -- snip -- QUESTION 2: Is there any file on your hard disk located in this place: /usr/share/kde4/apps/marble/data/maps/earth/srtm/srtm.jpg QUESTION 3: Could you please send me your marblerc? QUESTION 4: Please execute a find /usr/local/share/apps/marble/data/ > marble-usr.txt find ~/.marble > marble-home.txt and send those files marble-usr.txt and marble-home.txt to me or if they are reasonable small attach them to your bugreport.
Question 1: === MarbleDirs: === Local Path: "/home/sts/.marble/data" Plugin Local Path: "/home/sts/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib64/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib64/kde4/plugins/marble" Question 2: no, only: srtm.dgml srtm-preview.png Question 3: I don't have a marblerc. Or where I can find this? Question 4: find ~/.marble /home/sts/.marble /home/sts/.marble/data
Nevermind I think we have just fixed it: http://lists.kde.org/?l=kde-commits&m=121441913720080&w=2
Apparently fixed. Please reopen it if the issue still occurs in current SVN.
the same with 4.0.85 :( it hangs after: Succesfully parsed file! Found 3 GeoNode object LEAKS! Entered selectTheme Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/bluemarble/bluemarble.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/citylights/citylights.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/openstreetmap/openstreetmap.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/plain/plain.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/srtm/srtm.dgml" and if I click cancel: Tile creation completed File does not exist: "" emit downloadTile( QUrl( "http://download.kde.org/apps/marble/maps/earth/srtm/0/000000/000000_000000.jpg" ) "maps/earth/srtm/0/000000/000000_000000.jpg" ); TextureTile::loadRawTile end m_depth = 0 TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 Use workaround: 0 Style reset requested. THEME CHANGED: *** "earth/srtm/srtm.dgml" initTheme loadLegend Entered selectTheme Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/bluemarble/bluemarble.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/citylights/citylights.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/openstreetmap/openstreetmap.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/plain/plain.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/srtm/srtm.dgml" TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 MarbleWidget::setProxy 2 "http://" 8080 Updating Settings ... kiloBytes 30000 "Setting tile cache to 30000 kilobytes." MarbleWidget::setProxy 2 "http://" 8080 MapThemeId "" Selected theme doesn't work, so we stick to the previous one DGML2 Name : "Atlas" Base tiles not available. Creating Tiles ... SourceDir: "earth/srtm" InstallMap: "srtm.jpg" === MarbleDirs: === Local Path: "/home/sts/.marble/data" Plugin Local Path: "/home/sts/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib64/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib64/kde4/plugins/marble" =================== Prefix: "earth/srtm" installmap: "srtm.jpg" Trying relative path: "maps/earth/srtm/srtm.jpg" Creating tiles from: "" Installing tiles to: "/home/sts/.marble/data/maps//" QFSFileEngine::open: No file name specified "TileCreator::createTiles() image dimensions -1 x -1" Invalid imagemap! TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 Tile creation completed File does not exist: "" emit downloadTile( QUrl( "http://download.kde.org/apps/marble/maps/earth/srtm/0/000000/000000_000000.jpg" ) "maps/earth/srtm/0/000000/000000_000000.jpg" ); TextureTile::loadRawTile end m_depth = 0 TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 Style reset requested. THEME CHANGED: *** "earth/srtm/srtm.dgml" initTheme loadLegend Entered selectTheme Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/bluemarble/bluemarble.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/citylights/citylights.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/openstreetmap/openstreetmap.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/plain/plain.dgml" Select Theme: "earth/srtm/srtm.dgml" Stored: "earth/srtm/srtm.dgml" TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 MarbleWidget::setProxy 2 "http://" 8080 Updating Settings ... kiloBytes 30000 "Setting tile cache to 30000 kilobytes." MarbleWidget::setProxy 2 "http://" 8080 TileLoader::maxPartialTileLevel tilepath "/usr/share/kde4/apps/marble/data/maps/earth/srtm" Detected maximum tile level that contains data: -1 MaxTileLevel: 0 "TileLoaderHelper::levelToColumn(): Invalid level: -2147483648" "TileLoaderHelper::levelToRow(): Invalid level: -2147483648" KCrash: Application 'marble' crashing... sock_file=/home/sts/.kde4/socket-linux-wqgx/kdeinit4__0
Is this compiled from sources or did you install packages?
packages from: http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0/x86_64/
Looking at the packages I spot: [ ] kde4-marble-4.0.85-2.1.x86_64.rpm 06-Jul-2008 18:28 1.7M Mirrors Metalink [ ] kde4-marble-devel-4.0.85-2.1.x86_64.rpm 06-Jul-2008 18:28 53K Mirrors Metalink Sheesh, 1.7MB, and there is no extra package for marble data? If the Marble package doesn't have at least 10MB then there is obviously essential data missing.
Looking at: http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0/noarch/ I see a file called http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0/noarch/kde4-marble-data-4.0.85-2.1.noarch.rpm The package size is a bit small (3.6MB) --- I'd expect it to measure around 10 MB. Do you have that one installed? Look at the Build log: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=kdeedu4&project=KDE%3AKDE4%3AFactory%3ADesktop&repository=openSUSE_10.3 In there all tiles get created which you can see by searching for the lines: "TileCreator::createTiles() image dimensions 21600 x 10800" Maximum Tile Level: 4 682 tiles to be created in total. tileLevel: 4 successfully created. tileLevel: 3 successfully created. tileLevel: 2 successfully created. tileLevel: 1 successfully created. tileLevel: 0 successfully created. Tile creation completed. percentCompleted: 100 After that all tiles get installed, most important being those of Level 0: /var/tmp/kdeedu4-4.0.85-build/usr/share/kde4/apps/marble/data/maps/earth/srtm/0/000000 -- Installing /var/tmp/kdeedu4-4.0.85-build/usr/share/kde4/apps/marble/data/maps/earth/srtm/0/000000/000000_000000.jpg -- Installing /var/tmp/kdeedu4-4.0.85-build/usr/share/kde4/apps/marble/data/maps/earth/srtm/0/000000/000000_000001.jpg So you should have a file called /usr/share/kde4/apps/marble/data/maps/earth/srtm/0/000000/000000_000000.jpg On your system if the kde4-marble-data package is installed. And if that is the case you shouldn't get the error. So to me it looks like openSUSE is doing everything alright
Yes I have installed the marble-data package in this version. I don't have a file: /usr/share/kde4/apps/marble/data/maps/earth/srtm/0/000000/000000_000000.jpg only: ls /usr/share/kde4/apps/marble/data/maps/earth/srtm/ srtm.dgml srtm-preview.png
Ok, so the SUSE buildsystem creates the tiles fine, installs them in the proper places but doesn't package them. This is an openSUSE packaging bug.
has been fixed in the openSUSE packages, please update
thx for your great job, it works fine now