Another Event Log plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Bug:

If you want to apply a filter and there are "No records found matching your criteria" - when you click OK and then one of the column headers (Time, Source, etc) you get: "Application Error": "Exception EAccessViolation in module TOTALCMD.EXE....." and TC crashes :-(

BTW: IMO it would be nice if when there are no records for the filter the program showed the filter configuration again to correct it.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

VadiMGP wrote:Please, be patient.
I'll try... :)
VadiMGP wrote:But anyway, can you explain what you intend to do with this EventID?
I can use it, e.g., to search in Internet for a description on the event which I don't understand.
VadiMGP wrote:I forgot to remove this debugging info.
:)
Many great discoveries have been made accidentally...
VadiMGP wrote:Please, send me you .evt file.
Just wanted to ask your e-mail, but you were faster (well, it's not so hard considering how often I go inet currently... :)). Catch.
VadiMGP wrote:What about "No records found matching your query"? :)
That sounds even better! :)
VadiMGP wrote:Please, more info. Did you try import filter from selected row also?
After several attempts I figured out that the problem occurs when I specify some Event Type in filter. Import works fine because it leaves this field empty.
VadiMGP wrote:It is TC's responsibility to delete temporary file after viewing.
So it's TC bug? Mr. Ghisler!..

One more problem: When I call out the Filter dialog, press Alt+Tab to other app, Alt+Tab back to Lister - the dialog doesn't get focus. After this, Lister disappears from the Alt+Tab list at all, so the only way to focus the dialog is click on Lister button in task bar and then click on dialog (two clicks!!! incredible! :shock: :)).

Version tested: EventLog.wlx 1.7.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Valentino wrote: One more problem: When I call out the Filter dialog, press Alt+Tab to other app, Alt+Tab back to Lister - the dialog doesn't get focus. After this, Lister disappears from the Alt+Tab list at all, so the only way to focus the dialog is click on Lister button in task bar and then click on dialog (two clicks!!! incredible! :shock: :)).
Similar problem I've described here: http://www.ghisler.ch/board/viewtopic.php?p=8002#8002
VadiMGP wrote: I'm affraid it's common problem for all lister plugins. I cannot find any reason in my code and i observed the same problem in other plugins.
So... :-(
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

The new version is available:
ftp://mgppublic:public@mgpsoft.com/EventLog18.zip
djk wrote:If you want to apply a filter and there are "No records found matching your criteria" - when you click OK and then one of the column headers (Time, Source, etc) you get: "Application Error": "Exception EAccessViolation in module TOTALCMD.EXE....."
Fixed.
Valentino wrote:Not found event is displayed poorly
Improved. :D
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Thanks for new version. The bug was really removed :-)
There is still one thing I don't like.
When I press column header to sort the log, the current record is no longer active - another record becomes active :-(
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

The new version is available:
ftp://mgppublic:public@mgpsoft.com/EventLog19.zip
Changes are:
- Added Event ID column
- Added custom column order
- Removed error message on unknown clipboard formatting token
- Fixed bug loosing selection after sorting
- Fixed minor bug with clipboard formatting
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

I get an error when I try to view the system log:
Image: http://www.chelly.net/disk/eventlog.png
Then TC crash and close.

Windows 2k SP4, administrator, Total Commander 5.51, EventLog 1.9
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2fabiochelly What about other logs? Application or Security?
Check please if you able to copy System event log from FS-plugin to disk and view file System.evt with lister plugin? If problem with lister plugin, can you send your event log to me?
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

What about other logs? Application or Security?
They work well. I'll check for the copy as soon as I can.

By the way, did you still intend to create a console plugin?
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

I'll check for the copy as soon as I can.
Ok. I'll wait.
did you still intend to create a console plugin?
Yes, of course. It is now in a testing phase and i hope the first version will be released in a one or two weeks.

PS. You can send .evt file to address mentioned in the readme file
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

Yes, of course. It is now in a testing phase and i hope the first version will be released in a one or two weeks.
Cool. I'm in a hurry to test it.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
Clas Hortien
Senior Member
Senior Member
Posts: 200
Joined: 2003-03-03, 15:03 UTC

Post by *Clas Hortien »

Hi,

i use you wonderful :lol: plugin (lister), but i saw some weird behaviour:

In some eventlogs, some rows spawn complete screens. See
http://www.hortien.com/Bild1.jpg for an example. I opened the normal
eventvwr with the same entry for comparison.

In some events, some of the description is missing. I haven't tested
this in detail, but some descriptions are very short and doesn't include
the complete description, which i can see in NT event viewer.

Regards

Clas
#14041
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Clas Hortien

1. There nothing "weird" in you example. :)
The description in the Microsoft event viewer contains two parts: Text about missing description and untranslated description placeholder.
Untranslated placeholder may contain several strings. When NT event viewer cannot find description it puts all string together using semicolon as delimiter. I don't like this behavior, therefore my plugin starts each string from new line(as it should be when description found).
Only problem with very long descriptions is impossibility to see whole text in the window. To see whole description, you have to copy text to clipboard and paste it in the some text editor.

2. If the event description for some events is missing, please, send me .evt file with these events and i'll check it.
User avatar
Clas Hortien
Senior Member
Senior Member
Posts: 200
Joined: 2003-03-03, 15:03 UTC

Post by *Clas Hortien »

Hi,

1.
Thanks for the explanation. As i have this kind of event very often, could you please implement a option to change this behaviour. Replacing the semicolons with whitespace instead of newlines, maybe ? I will include you in my evening prayer for this :D .

2.
I have uploaded a new screenshot to http://www.hortien.com/Bild2.jpg, the application event log is at http://www.hortien.com/Applog.zip.
When i find more missing texts, i'll send it.

Many thanks

Clas
#14041
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

EventLog 2.0 is available.

- Added support for autoinstall feature for TC 6.5

FS-plugin
- Added info to the properties dialog (sources, number of records, time scope, guest access)
- Added displaying of properties dialog on Enter key

LS-Plugin
- Added Event ID in filter dialog
- Added custom separator for empty strings
- Changed internal buffer size due to bug in Windows XP SP2.
- Added progress loading info in the window caption while waiting for filter dialog.
- Added ability to abort waiting by ESC key.

------------------------------
PS. Clas, thank you very much! Without your help the new version was never born!
Post Reply