Discussion:
[Roadster] Deprecated MemChunks, glade errors
Scott Bronson
2006-06-16 17:36:41 UTC
Permalink
In addition to the 'sed -i "s/\-lmygcc//g" configure.ac' suggested by
the Wiki, trying to compile Roadster on Ubuntu Dapper I found I also
needed to:

sed -i "s/\-DG_DISABLE_DEPRECATED//g" configure.ac

Otherwise it would complain about not being able to find GMemChunk or
g_mem_chunk_new.

Now, Roadster runs but the UI is totally unresponsive. Everything looks
OK, menus pull down, items get checked, but nothing happens. Not even
when I select Quit or About. I'm also getting a lot of glade warnings
which is probably related.

Anyone have an idea on how to fix this?

- Scott




...
creating database tables
initializing glyphs
initializing locationsets
initializing gui

(roadster:20457): Gtk-CRITICAL **: gtk_notebook_set_tab_label: assertion
`GTK_IS_WIDGET (child)' failed

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_zoomout_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_zoomscale_value_changed'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_gps_stick_to_roads_toggled'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_use_aa_rendering_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_gps_show_trail_toggled'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'test_poly_on_time_to_queue_draw'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_zoomin_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_quitmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'gotowindow_on_gobutton_clicked'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'locationeditwindow_on_attributeexpander_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_reloadglyphsmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_toolbarmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_forwardbutton_clicked'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_aboutmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_addpointmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'searchwindow_on_previousresultbutton_clicked'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'searchwindow_on_searchentry_changed'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_sidebarmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'searchwindow_on_resultslist_row_activated'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_fullscreenmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_import_maps_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'test_poly_show'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_gotomenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'searchwindow_on_findbutton_clicked'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'util_close_parent_window'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_gps_keep_position_centered_toggled'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_statusbarmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_backbutton_clicked'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'searchwindow_on_nextresultbutton_clicked'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_reloadstylesmenuitem_activate'.

(roadster:20457): libglade-WARNING **: could not find signal handler
'mainwindow_on_gps_show_position_toggled'.
- initializing mapinfowindow
- initializing mainwindow

** (roadster:20457): WARNING **: unabled to load image 'park-pattern'

** (roadster:20457): DEBUG: 0 locationsets

** (roadster:20457): CRITICAL **: mapinfowindow_load_states: assertion
`pResultSet != NULL' failed
- initializing searchwindow
- initializing gotowindow
- initializing importwindow
- initializing test_poly
- initializing locationeditwindow

** (roadster:20457): CRITICAL **: locationeditwindow_init: assertion
`g_LocationEditWindow.pLocationAddressTextView != NULL' failed
initializing search

** (roadster:20457): WARNING **: unabled to load image
'search-result-type-coordinate'

initializing locations
initialization complete
Running multi-threaded
deinitializing database
deinitialization complete
Casey Harkins
2006-06-16 20:34:43 UTC
Permalink
Post by Scott Bronson
In addition to the 'sed -i "s/\-lmygcc//g" configure.ac' suggested by
I did that as well to compile on fc5 (forgot to mention it in my post to
this list a few days ago).
Post by Scott Bronson
the Wiki, trying to compile Roadster on Ubuntu Dapper I found I also
sed -i "s/\-DG_DISABLE_DEPRECATED//g" configure.ac
Otherwise it would complain about not being able to find GMemChunk or
g_mem_chunk_new.
I sent a patch to this list a few days ago that replaces deprecated
GMemChunk stuff with g_slice stuff (as suggested in the glib docs).
Post by Scott Bronson
Now, Roadster runs but the UI is totally unresponsive. Everything looks
OK, menus pull down, items get checked, but nothing happens. Not even
when I select Quit or About. I'm also getting a lot of glade warnings
which is probably related.
Anyone have an idea on how to fix this?
There's at least two of us who are seeing the same thing (view the list
archives for this month if you're interested). I haven't had time to
look any further into it. Please share if you have time to look into it.

-casey

Loading...