Mon 28 Feb 2011 03:45:33 PM UTC, comment #18:
Thanks for following up. Your help is much appreciated in fixing this bug and others!
|
Mon 28 Feb 2011 02:41:42 PM UTC, comment #17:
Ok, so I did the following with Ubuntu 10.10:
$ svn co svn://svn.savannah.nongnu.org/lordsawar
[...]
Ausgecheckt, Revision 2489.
$ cd lordsawar/lordsawar/trunk/
$ autoreconf -fis
$ ./configure --prefix=/usr
[...]
config.status: creating po/Makefile
config.status: executing po/stamp-it commands
config.status: error: po/Makefile.in.in was not created by intltoolize.
$ make
[...]
LC_ALL=C /usr/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po ruinnames.xml.in ruinnames.xml
Found cached translation database
Merging translations into ruinnames.xml.
CREATED ruinnames.xml
LC_ALL=C /usr/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po signposts.xml.in signposts.xml
Found cached translation database
Merging translations into signposts.xml.
CREATED signposts.xml
make[3]: Verlasse Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/dat'
make[2]: Verlasse Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/dat'
Making all in po
make[2]: Betrete Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/po'
Makefile:526: *** Target-Muster enthält kein »%«. Schluss.
make[2]: Verlasse Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/po'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/moose/lordsawar/lordsawar/trunk'
make: *** [all] Fehler 2
$ sudo make install
[...]
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
test -z "/usr/share/lordsawar" || /bin/mkdir -p "/usr/share/lordsawar"
/usr/bin/install -c -m 644 citynames.xml heronames.xml templenames.xml ruinnames.xml signposts.xml gtkrc '/usr/share/lordsawar'
test -z "/usr/share/applications" || /bin/mkdir -p "/usr/share/applications"
/usr/bin/install -c -m 644 lordsawar.desktop '/usr/share/applications'
make[3]: Verlasse Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/dat'
make[2]: Verlasse Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/dat'
make[1]: Verlasse Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/dat'
Making install in po
make[1]: Betrete Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/po'
Makefile:526: *** Target-Muster enthält kein »%«. Schluss.
make[1]: Verlasse Verzeichnis '/home/moose/lordsawar/lordsawar/trunk/po'
make: *** [install-recursive] Fehler 1
$ /usr/bin/lordsawar
Now it seems to work. Thanks for fixing this bug!
|
Wed 23 Feb 2011 12:13:04 PM UTC, comment #16:
As far as I can tell, this bug has been fixed in the sources. I am waiting for Martin to confirm this.
|
Wed 23 Feb 2011 10:30:21 AM UTC, comment #15:
Correction
I did it a second time and this time it quit on me.
The difference is I did it a bit quicker this time and I sent the unit to go a long way.
Dave
|
Wed 23 Feb 2011 10:24:59 AM UTC, comment #14:
I just ended my turn before the unit had finished moving and it didn't throw up any problems.
The unit finished moving when it was my turn again.
The unit also had full moves left after it finished it unfinished previous turns move.
|
Mon 21 Feb 2011 01:08:48 PM UTC, comment #13:
Can you please open a new bugs for stuff unrelated to this bug?
I guess fedora and ubuntu have different versions of gtkmm. I can't seem to set the resizable columns in glade either. I have removed the offending calls for now. committed revision 2452.
To have error messages in english, you'd have to change your locale. Here's a thread on ubuntu forums that explains how to do it: http://ubuntuforums.org/showthread.php?t=1535865
|
Mon 21 Feb 2011 11:21:31 AM UTC, comment #12:
Sorry, my output is in German. Can I switch to English?
"Fehler" means "error"
game-lobby-dialog.cpp: In constructor ‘GameLobbyDialog::GameLobbyDialog(GameScenario, NextTurnNetworked, GameStation*, bool)’:
game-lobby-dialog.cpp:342: error: ‘class Gtk::TreeViewColumn’ has no member named ‘property_resizable’
game-lobby-dialog.cpp:343: error: ‘class Gtk::TreeViewColumn’ has no member named ‘property_resizable’
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../src -Wall -g -O2 -MT new-network-game-dialog.lo -MD -MP -MF .deps/new-network-game-dialog.Tpo -c new-network-game-dialog.cpp -fPIC -DPIC -o .libs/new-network-game-dialog.o
make[3]: *** [game-lobby-dialog.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../src -Wall -g -O2 -MT network-game-selector-dialog.lo -MD -MP -MF .deps/network-game-selector-dialog.Tpo -c network-game-selector-dialog.cpp -o network-game-selector-dialog.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../src -Wall -g -O2 -MT new-network-game-dialog.lo -MD -MP -MF .deps/new-network-game-dialog.Tpo -c new-network-game-dialog.cpp -o new-network-game-dialog.o >/dev/null 2>&1
mv -f .deps/new-network-game-dialog.Tpo .deps/new-network-game-dialog.Plo
mv -f .deps/network-game-selector-dialog.Tpo .deps/network-game-selector-dialog.Plo
make[3]: Verlasse Verzeichnis '/home/moose/Downloads/lordsawar-0.2.0-pre1/lordsawar/lordsawar/trunk/src/gui'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/moose/Downloads/lordsawar-0.2.0-pre1/lordsawar/lordsawar/trunk/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/moose/Downloads/lordsawar-0.2.0-pre1/lordsawar/lordsawar/trunk'
make: *** [all] Fehler 2
|
Mon 21 Feb 2011 10:33:57 AM UTC, comment #11:
I just re-checked out revision 2451 in a new directory and compiled it without errors.
|
Mon 21 Feb 2011 10:11:49 AM UTC, comment #10:
I don't see an error. Cut and paste a little more.
|
Mon 21 Feb 2011 07:22:39 AM UTC, comment #9:
I got an error after $ make -j3:
[...]cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../src -Wall -g -O2 -MT new-network-game-dialog.lo -MD -MP -MF .deps/new-network-game-dialog.Tpo -c new-network-game-dialog.cpp -o new-network-game-dialog.o >/dev/null 2>&1
mv -f .deps/new-network-game-dialog.Tpo .deps/new-network-game-dialog.Plo
mv -f .deps/network-game-selector-dialog.Tpo .deps/network-game-selector-dialog.Plo
make[3]: Verlasse Verzeichnis '/home/moose/Downloads/lordsawar-0.2.0-pre1/lordsawar/lordsawar/trunk/src/gui'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/moose/Downloads/lordsawar-0.2.0-pre1/lordsawar/lordsawar/trunk/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/moose/Downloads/lordsawar-0.2.0-pre1/lordsawar/lordsawar/trunk'
make: *** [all] Fehler 2
$
|
Sun 20 Feb 2011 02:32:07 PM UTC, comment #8:
I can't reproduce the error with revision 2451 and your save file. Please make sure you've recompiled, and done a make install.
|
Sun 20 Feb 2011 02:19:18 PM UTC, comment #7:
My LordsAWar Version:
$ svn update
Revision 2451.
$ make clean
$ make -j3
$ sudo make install
$ /usr/bin/lordsawar
Here are some steps to reproduce the error:
- Load "2011-02-20.sav"
- Go to the white city at the center
- select the stack at the top-right corner of the city
- Click "Ungroup" and before it finishes anywhere else
=>
(lordsawar:6565): Gtk-CRITICAL **: IA__gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(lordsawar:6565): Gdk-CRITICAL **: _gdk_pixmap_new: assertion `(drawable != NULL) || (depth != -1)' failed
(lordsawar:6565): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(lordsawar:6565): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(lordsawar:6565): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
action.cpp: 437: Action_Split::fillData()
(lordsawar:6565): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion `width > 0' failed
Speicherzugriffsfehler
|
Sun 20 Feb 2011 12:41:57 PM UTC, comment #6:
Revision 2451 handles temporarily locking the big map when grouping.
|
Sun 20 Feb 2011 12:38:55 PM UTC, comment #5:
Can you please provide a set of steps to reproduce the bug?
|
Sun 20 Feb 2011 12:17:03 PM UTC, comment #4:
No, I can still produce this error with Revision 2450:
...
(lordsawar:5053): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
action.cpp: 621: Action_Join::fillData
action.cpp: 621: Action_Join::fillData
action.cpp: 621: Action_Join::fillData
action.cpp: 621: Action_Join::fillData
action.cpp: 621: Action_Join::fillData
action.cpp: 437: Action_Split::fillData()
(lordsawar:5053): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion `width > 0' failed
Speicherzugriffsfehler
$
The bigmap should also get locked when you "group", not only when you are "ungrouping".
|
Sun 20 Feb 2011 11:49:53 AM UTC, comment #3:
is this okay to close?
|
Thu 17 Feb 2011 05:51:06 PM UTC, comment #2:
fixed in svn.
The buttons are now locked while stacks are moving.
Can you test this please? I want to make sure that it gets unlocked after a stack loses a fight against another stack, or against a city, or loses at a ruin.
I'll leave the bug open just in case.
|
Thu 17 Feb 2011 04:55:41 PM UTC, comment #1:
The end turn button (and others) should probably be disabled while stack movement is going on.
|
Thu 17 Feb 2011 04:40:13 PM UTC, original submission:
Version
LordsAWar! version 0.2.0-pre1
How to reproduce this error
- Select a unit
- Send this unit somewhere. It doesn't matter where the unit goes to, it should only move
- End your turn before the unit arrives.
Last lines of output
ai_fast.cpp: 152: trying to complete quests
ai_fast.cpp: 502: >>>> What to do with stack 1058 at (91,62) containing 5 armies ?
ai_fast.cpp: 533: Restocking in Yearway
(lordsawar:2993): Gdk-CRITICAL **: _gdk_pixmap_new: assertion `(drawable != NULL) || (depth != -1)' failed
(lordsawar:2993): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(lordsawar:2993): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(lordsawar:2993): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
action.cpp: 621: Action_Join::fillData
(lordsawar:2993): Gdk-CRITICAL **: _gdk_pixmap_new: assertion `(drawable != NULL) || (depth != -1)' failed
(lordsawar:2993): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(lordsawar:2993): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(lordsawar:2993): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(lordsawar:2993): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion `width > 0' failed
Speicherzugriffsfehler
moose@pc07:~$
For more lines, just look at the file
Why do I want to do this?
Well, it takes quite a while until the fast moving units arrive at their destination. This is the reason why I don't want to watch them move.
|