Author Topic: Error Summery Feature Request  (Read 3291 times)

0 Members and 1 Guest are viewing this topic.

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Error Summery Feature Request
Working on the Revenge: Final Conflict mod tables I have hit a really annoying issue.  the mod is so error ridden that when in debug to generate a log file I end up resorting to rapidly hitting the N key for several seconds just to clear all the errors.

What I am requesting is an option to be selectable in the launcher which when selected suppresses these messages and dumps the usable information from these messages into a separate summery file in addition to the debug.log.  Something like:

Code: [Select]

Freespace 2 Debug Error Summery

Outer blast radius of weapon PTG is zero - EMP will not work. Add $Outer Radius to weapon table entry.
weapons.tbl(line 3270: Warning: Missing quotation marks in string list.
Unable to find WEAPON_LIST_TYPE string "Prometheus D" in ship: GTF Ulysses's primary dogfight banks.
Unable to find WEAPON_LIST_TYPE string "Hornet D" in ship: GTF Ulysses's secondary dogfight banks.
Unable to find WEAPON_LIST_TYPE string "Harpoon D" in ship: GTF Ulysses's secondary dogfight banks.
Unable to find WEAPON_LIST_TYPE string "Prometheus D" in ship: GTF Hercules's primary dogfight banks.


Obviously I am talking about this tool being most useful in situations like the one I am where a the modder is hitting dozens of errors at a time.

thoughts?
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Error Summery Feature Request
You can suppress those popups via a command line option already I think.  Can't remember off the top off my head what it is.
« Last Edit: June 08, 2011, 05:00:32 pm by chief1983 »
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Sushi

  • Art Critic
  • 211
Re: Error Summery Feature Request
You can supress those popups via a command line option already I think.  Can't remember off the top off my head what it is.

But if you do, are the errors still written somewhere?

I can certainly see the use of what headdie is talking about: if there are multiple problems to fix, you wouldn't have to "fix one, restart freespace to discover the next, repeat until done."

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Error Summery Feature Request
Quote
-noparseerrors
"Disable Parsing Errors"
Disables some parsing warnings and makes other parse errors non-fatal. Do not rely on this when creating new tables. The errors are there for a reason.

Is this the one you are talking about and does it still post the error in the debug log?
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Error Summery Feature Request
I thought they still got written to the log, you'd have to check.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Error Summery Feature Request
I just tested it and I am still getting the error messages.

my flag settings are
-ambient_factor 620 -no_emissive_light -fov 1.0 -ogl_spec 120 -height -normal -spec_exp 15 -spec_point 2.7 -post_process -bloom_intensity 8 -debug_window -noparseerrors
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Error Summery Feature Request
:nervous:  Umm.... it's spelled summary:warp:

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Error Summery Feature Request
Personally, I am against any "suppress errors and warnings" flag. I can't see what good they would do, but I can see cases where people enable these things and then get sloppy in modding because debug doesn't throw any errors.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Error Summery Feature Request
I can understand that.

how about in that case expanding the -noparseerrors flag so that it includes this summary or ensure it records all the errors in the debug log  that way the capability is still there but it's use needs to be looked up.
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

  

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Error Summery Feature Request

Or, you use -no_warn instead. Or have it expand to operate on not just fred, which the code comments seem to suggest.

Also, there is a difference between not parsing warnings, and flat out errors. "noparseerrors" should actually be "noparsewarnings" because Errors are still errors.

And obviously, if the MOD cannot progress until they are resolved, maybe you should actually resolve them. Because sweeping them under the rug by any means (fair or foul) will not actually accomplish anything for you.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Error Summery Feature Request
I don't think he wants to sweep them under the rug so much as have them all outputted at once rather than having to run, fix bug, run, fix another bug, etc until they're all gone.

I can certainly see the value of that. Imagine if your C++ compiler only spit out one error at a time?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Error Summery Feature Request
karajorma got it right. This would be extremely useful feature to have in both fs and fred. Going through one error at a time is really annoying when there's a lot of them. In the end you usually end up wasting a lot of time going through all sorts of errors when all you want to do is to get fso debug record all errors so you can get them fixed.

Not to mention that fred2_open is super annoying because its debug window can get bigger than current vertical resolution. I think I asked that to be fixed two years ago but it's still doing it.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Error Summery Feature Request
Oh man.. I highly support this request..
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Error Summery Feature Request
Thanks for explaining it better Fury and karajorma that is what I am after
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Error Summery Feature Request
Not to mention that fred2_open is super annoying because its debug window can get bigger than current vertical resolution. I think I asked that to be fixed two years ago but it's still doing it.
^ This.

Or how to make life on a crapbook even ****tier than it already is...
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Error Summery Feature Request
Personally, I am against any "suppress errors and warnings" flag. I can't see what good they would do, but I can see cases where people enable these things and then get sloppy in modding because debug doesn't throw any errors.

id do it but make the flag cause its own popup (which would contain a warning message telling people why you shouldnt use the flag for anything but debugging), while suppressing other errors. this will assure that the flag doesn't get abused, but it gives you one popup instead of 50. point is you dont have to look at a bunch of popups while trying to fix a specific error (or a batch of errors).
« Last Edit: June 10, 2011, 07:19:47 am by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Error Summery Feature Request
I was thinking that having a message come up to state that errors had been detected and the user should check the log file and fix them
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Error Summery Feature Request
some errors are reported as they happen. so just having a single popup to indicate that you are in a mode that should only be used for debugging. i dont see an issue of adding to that message that you should check the logs for actual errors. the real point of adding a single popup is so the feature does not get abused by people playing mods that have bugs in them.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Error Summery Feature Request
I can't imagine it would be too difficult to alter the warning function to work in the way that you have talked about. I like the idea of giving a single warning, not just to prevent abuse but more importantly because we do need to tell people that errors were actually encountered. :p
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]