Re: [Gimp-developer] debugging and print messages in PyGimp for windows

2009-09-02 Thread Ryan Krauss
So, the --verbose option definitely pops up a dos-looking window and prints
lots of GIMP related messages, but it doesn't seem to get error messages
from Python.  I just accidentally tested this with a syntax error in a
module of mine that my PyGIMP plugins import.  In linux I get this very
helpful message:

r...@am2|07:02 AM|09_02_09$ gimp
Traceback (most recent call last):
  File /home/ryan/.gimp-2.6/plug-ins/pygimp_lecture_utils.py, line 1, in
module
import os, rwkos, rwkmisc, re, time
  File /home/ryan/git/krauss_misc/rwkos.py, line 9
if not amiLinux()
^
SyntaxError: invalid syntax

(gimp:17913): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error

and I can fix that in 30 seconds or so (it is a stupid syntax error on my
part, missing the trailing colon).

But in windows, I see no message related to it at all.  The only indicator
of a problem is that none of my PyGIMP plugins show up in the menus at all
(none of them can register themselves because they all import this module).
No idea how long it would take me to find the exact line that caused the
problem if I didn't try it in Linux.

Is there an easy solution to this?  How do I get standard error messages
from Python to display in Windows XP?

Thanks,

Ryan

2009/9/1 Jernej Simončič jer...@ena.si

 On Tuesday, September 1, 2009, 18:16:48, Ryan Krauss wrote:

  So, I have PyGIMP correctly installed in windows (I think).  I am trying
 to
  port my plug-ins from Linux.  One big annoyance is that print doesn't
 seem
  to work and error messages that probably go to standard out go no where.
  I
  really need those messages to debug.  I tried launching gimp from the
  command line.  Is there some other way?  Where to standard out and
 standard
  error messages go on windows?

 Nowhere, by default. Run gimp-2.6.exe --verbose to get a console,
 which should also receive output from plugins.

 --
  Jernej Simončič  http://eternallybored.org/ 

 In the fight between you and the world, back the world.
   -- Kafka's Law

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

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


Re: [Gimp-developer] introducing myself

2009-09-02 Thread Ramón Miranda
Welcome Volodia
It is a real pleassure to know new people. good luck with your goals. Making
a community is hard but it is also necesary when there are a lot of hungry
users waiting info.
i will stay tunned.

2009/8/31 volodia macovei b...@volodia.ro

 Hello, all of you! My name is Volodia, I'm from Romania and I join the
 gimp developer list because i'm very interested in contributing for (I
 hope i can do something usefull!). By the other way, I want to tell you
 that me and my group (SbLUG) are trying just now to build an online
 romanian gimp community, a portal in romanian language for developers
 and users of GIMP, with sources, tutorials, forums, news... We select
 now a proper web graphic way to do that, and i'll promote that when will
 be ready to use.
 So, in few words: i'm happy to be here and hope to do something usefull
 from now. Some advices or comments from you are welcome...
 Thanks.
 volodia
 ___
 Gimp-developer mailing list
 Gimp-developer@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer




-- 
___
Ramon Miranda
http://ramonmirandavisualart.blogspot.com
http://code.google.com/p/gps-gimp-paint-studio/
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer