osmscout-server
osmscout-server copied to clipboard
Can't open sidebar
Observed on Arch Linux, Qt 5.15.2, with osmscout-server 2.1.2 and master
Starting the qtcontrols gui logs this error:
qml: Error while creating component
qml: qrc:/qml/MainMenu.qml:27 Type MenuDrawerPL unavailable
qrc:/qml/platform/MenuDrawerPL.qml:34 Cannot override FINAL property
And attempting to open the sidebar menu does nothing visually but writes this error:
qrc:/qml/platform/ApplicationWindowPL.qml:70: TypeError: Cannot call method 'open' of null
Removing the enabled property from MenuDrawerPL appears to fix it, but it sounds like that exists to fix a similar issue? (#374 ?)
Interesting that Arch has so old Qt. Are you sure it is with 5.12?
oh sorry I misread it, it's 5.15
Which platform do you use? I would expect it to be Kirigami for regular Linux.
I used the qtcontrols flavor
Please use Kirigami. QtControls has not been tested much and hasn't been updated for a while. It was more proof-of-concept platform to see if I can make it possible to support multiple platforms natively.
confirmed that this issue is not present in the kirigami flavor
Excellent! I will have to write somewhere that Qt platform is not recommended anymore
I installed OSM Scout from the Pop! shop on POP! OS. It's my first go-around with Pop!, but I build an OSM tile server, Nominatim and OSRM box recently so I'm pretty familiar with the concepts. I think I have the profile set up, but when I click Subscribe, nothing populates. Is there a known issue or did I miss something during the set up process? Is there a way to subscribe from a config file?
Right now our maps distribution server is down and hence the issue with subscription. Keep an eye on data.modrana.org and when it is back.
Thanks so much for the info! I'll keep an eye on that url. Is there a way to load up an osm.pbf file in the meantime?
No, it is difficult to import osm.pbf as it requires importing for different libs and making it all work together. I hope modrana will be back soon ...
Maps should be out there now - distribution server is back
Thanks. I found OSM Scout when running Pop! OS, but in the time between my earlier comments here and now I decided to put Raspberry Pi OS back on my 8GB Pi, I noticed the server was back up yesterday and tried installing OSM Scout server to my Raspberry Pi OS 64 bit OS, but have had trouble getting it to work. Is OSM Scout known to work on Raspberry Pi OS or should I put Pop! OS back on for it?
I am not aware of issues with OSM Scout Server on rPi. Do you run it from Flatpak? What's a problem?
No, but I'll try that next. I tried building it from source. I don't recall the problems I hit off the top of my head, unfortunately.
I tried using Flatpak, it seemed to install without issue, but when I run it I get this result:
Nothing client or GUI shows up on the screen.
bill@Argon:~ $ flatpak run io.github.rinigus.OSMScoutServer INFO: 00:30:18 Storage folder changed to Maps WARNING: 00:30:18 No maps were requested WARNING: 00:30:18 No maps were requested WARNING: 00:30:18 Cannot check for updates due to missing list of requested countries. Select countries before checking for updates. ERROR: 00:30:18 Valhalla: (stat): /data/valhalla/tiles.tar No such file or directory WARNING: 00:30:18 Valhalla: (stat): /data/valhalla/traffic.tar No such file or directory WARNING: 00:30:18 Valhalla: Traffic tile extract could not be loaded WARNING: 00:30:18 Valhalla: /data/valhalla/elevation/ currently has no elevation tiles INFO: 00:30:18 Valhalla routing engine started INFO: 00:30:18 Number of parallel worker threads: 4 WARNING: 00:30:18 No maps were requested WARNING: 00:30:18 No maps were requested
I would expect that you would have desktop entry after installation of the server through flatpak. If not, try to run
flatpak run --command=/app/bin/osmscout-server-gui io.github.rinigus.OSMScoutServer
Thanks, that seems to be working.
On Wed, Apr 13, 2022 at 10:59 AM rinigus @.***> wrote:
I would expect that you would have desktop entry after installation of the server through flatpak. If not, try to run
flatpak run --command=/app/bin/osmscout-server-gui io.github.rinigus.OSMScoutServer
— Reply to this email directly, view it on GitHub https://github.com/rinigus/osmscout-server/issues/396#issuecomment-1098332425, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQVPT3TJV43A6PU7733W7DVE4DQZANCNFSM5NQ3BP4Q . You are receiving this because you commented.Message ID: @.***>
-- Thank you, William Kreutinger
Seems like I am experiencing exactly the same issue on Ubuntu Touch (unable to open the drawer and getting the same error in logs). It started happening with v2.0.1, installing v2.0.0 manually does make it work just fine.
I can confirm @zubozrout. This is a weird one, because this is #374 coming back, but just inverted. This change fixed it back then on UT. Now it breaks it and removing it brings back the drawer. I am pretty sure something must have changed in UT, because recently the drawer still worked for me.
I just compared UT devel and stable. stable works with that change (>=2.0.1) while devel only works without it (==2.0.0 or #402).
Interesting. Thank you very much @jonnius, 👍
As I cannot reproduce it on regular Linux Qt 5.15 with Qt Controls platform, I am closing it. Reopen if needed. If you do hit this issue, try to remove qmlcache of osmscout-server (under ~/.cache folder in regular install, similar location for flatpaks under var).
Just for the record: Meanwhile the current implementation works just fine on all UT release channels.
Thanks!