[Freeciv-Dev] [bug #17267] civmanual does not give error messages

2010-12-09 Thread Matthias Pfafferodt

Update of bug #17267 (project freeciv):

 Release: => 2.3.0  

___

Follow-up Comment #3:

But there are still the errors for 2.3.0 ...

___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #17267] civmanual does not give error messages

2010-12-09 Thread David Lowe

Follow-up Comment #2, bug #17267 (project freeciv):

My apologies, you are indeed correct.  I must have still had an old version. 
I rebuilt 2.2.4 and saw the same as you see for 2.2.3.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #17267] civmanual does not give error messages

2010-12-08 Thread Matthias Pfafferodt

Update of bug #17267 (project freeciv):

 Planned Release: => 2.3.0,2.3.1

___

Follow-up Comment #1:

I can't reproduce this for 2.2.3 (non-debug build).


desktop:/var> civmanual 
0: Detected fatal error in civmanual.c line 143:
0: Could not write manual file manual1.html.
civmanual: shared.c:761: real_die: Assertion `0' failed.
Aborted
desktop:/var> civmanual -v
Freeciv version 2.2.3 


2.3.99 reports the following errors (I did not test 2.3.0 but expect similar
results):


0: in genlist_append() [genlist.c::563]: assertion '((void *)0) != pgenlist'
failed.
0: in nation_city_new() [nation.c::331]: assertion 'is_server()' failed.
0: in nation_city_set_river_preference() [nation.c::388]: assertion '((void
*)0) != pncity' failed.
0: in nation_city_set_terrain_preference() [nation.c::377]: assertion '((void
*)0) != pncity' failed.
0: in nation_group_set_match() [nation.c::725]: assertion 'is_server()'
failed.


This is a debug build. There is no error message although it should be (see
civmanual.c:144).

The attached patch does only adds a positive return message (file successful
created). Due to string changes nothing for 2.3.0.

(file #11508)
___

Additional Item Attachment:

File name:
20101208-trunk-tell-the-user-about-the-succesful-creation-of-the-ma.patch
Size:0 KB


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #17267] civmanual does not give error messages

2010-12-07 Thread David Lowe

URL:
  

 Summary: civmanual does not give error messages
 Project: Freeciv
Submitted by: doctorjlowe
Submitted on: Wed 08 Dec 2010 04:52:37 AM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

civmanual fails silently when it does not have permission to write.  Since
newbies might often try to invoke it from the bin directory, it would be
better if it explained when it was unable to write output.




___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev