Re: How to capture Gimp-log=dnd events on Windows? (re: Bug 561973 – Missing drag and drop target)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sven Neumann (sven@xxxxxxxx) wrote (in part)  (on 2008-11-26 at 02:17):
 > On Wed, 2008-11-26 at 08:13 +0200, Alexia Death wrote:
 >
 > > > As to debug output --verbose and -c flags are needed.
 >
 > No, they aren't. The --verbose flag has nothing to do with the output
 > you get from the GIMP_LOG facility. And the -c flag only applies to
 > messages that are shown in error dialogs otherwise.
 >
 > What is needed here is the command-line syntax for the Windows
 > platform
 > to get stdout and stderr redirected to a file.
Sorry Sven ... if you'd used the phrase "redirected to a file" instead of
"Can anyone please tell this fellow how to get the debug output on Windows?"
I might of realized what was needed :-)
(I was expecting that the GIMP output window would trap everything when 
the envvar was set)

In any case - this: "D:\Program Files\GIMP-2.6\bin\gimp-2.6.exe" > 
d:\temp\gimplog5.txt
gives this output ...
===
(gimp-2.6.exe:5588): DND-DEBUG: gimp_dnd_data_drop_handle(798): data type 1
(gimp-2.6.exe:5588): DND-DEBUG: gimp_dnd_data_drop_handle(817): target 
text/uri-list
(gimp-2.6.exe:5588): DND-DEBUG: gimp_selection_data_get_uri_list(119): 
raw buffer >>file:///C:/Documents%20and%20Settings/Alec/Desktop/12677-8.jpg
<<
(gimp-2.6.exe:5588): DND-DEBUG: gimp_selection_data_get_uri_list(162): 
trying to convert 
"file:///C:/Documents%20and%20Settings/Alec/Desktop/12677-8.jpg" to an uri
<---------->
(gimp-2.6.exe:5588): DND-DEBUG: gimp_dnd_data_drop_handle(798): data type 1
(gimp-2.6.exe:5588): DND-DEBUG: gimp_dnd_data_drop_handle(817): target 
text/uri-list
(gimp-2.6.exe:5588): DND-DEBUG: gimp_selection_data_get_uri_list(119): 
raw buffer 
 >>file:///C:/Documents%20and%20Settings/Alec/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/1LX395MJ/12677-3%5B1%5D.jpg
<<
(gimp-2.6.exe:5588): DND-DEBUG: gimp_selection_data_get_uri_list(162): 
trying to convert 
"file:///C:/Documents%20and%20Settings/Alec/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/1LX395MJ/12677-3%5B1%5D.jpg" 
to an uri
===

I'm not sure whether this is showing both stdout and stderr or just stdout?
Lines above <----------> are from DnD from Desktop. Lines below are from 
DnD from an IEView tab in Firefox.
Attempted DnD from a Firefox tab to GIMP toolbox just shows the 
slashed-circle and doesn't generate any output to the log file.

Aside: can you point me to any Doc or Man page that defines what 
environment variables GIMP is looking for?
I assume that there are more settings that GIMP_LOG is looking for than 
just "dnd"?
Googling [gimp environment variable "GIMP_LOG"] returns this thread 
(from Michael Natterer)
===
Showing 20 of 35 commits from 51 weeks ago: gimp (trunk) on 2007 ... - 
5:00am
2007-11-16 Michael Natterer <mitch@xxxxxxxx> * app/base/temp-buf.c ... a 
log facility which can be enabled using the GIMP_LOG environment 
variable. ...
www.gnome.org/~shaunm/pulse/web/person/gnome.org/mitch?ajax=commits&weeknum=1976
====
The link no longer exists but the Google-cache does. Maybe they are only 
scattered through source? 

-- 
Regards ... Alec   (buralex@gmail & WinLiveMess - alec.m.burgess@skype)


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux