-
-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've broken something ... #500
Comments
The simplest way to debug this: run osm2pgsql inside gdb
press Ctrl-C when it hangs and then enter You can also open osm2pgsql sources as a project in QtCreator (it supports cmake) and do interactive debugging (may need to copy style file, change the command line, setup PSUSER & PGPASSWORD variables etc). |
Need to install all the debug libraries but ... Reading in file: 896702.changes.osc.gz |
No need for debug postgresql libraries, it is hanging on executing prepared SQL statement pgsql_execPrepared (something with database itself, most likely). You can take one of the ways:
|
OK ... getting too complicated for time available ... |
https://github.com/openstreetmap/osm2pgsql#usage for osm2pgsql specific parts, see your OS documentation for how to install PostgreSQL. |
My original crib sheets were getting a bit out of date and had scripts for setting some things up prior to osm2pgsql. Just reworking the bits I'd missed for SUSE installs, however still fighting a problem between 13.1 and 13.2 builds. |
I've had a system running for a couple of years now which I thought was keeping up to date, but have realised that it is perhaps still a little behind on the current version of data. Probably cleaner to start again and do a complete new upload, but just trying to understand what I broke.
SUSE13.1 with osm2pgsql 0.89.0-dev loaded which was not the version that was running, so problems with 'pending' fields which I've deleted from the database, but now it goes as far as 'Using XML parser.' and seems to stall.
What is the easiest approach to debug this as I'm sure it should be able to pick up and input the changes files?
The text was updated successfully, but these errors were encountered: