Talkback for article: 160, July2000

Developing Gnome Application with Python (Part 1)

Back to: http://cgi.linuxfocus.org/English/July2000/article160.shtml

From: Hilaire Fernandes <hilaire(at)ofset.org> [ date: 2000-07-06 ]
At the begining of the document, the link to
the color.glade and couleur.py files are wrong.
From: Carlos Alarcón <alarcon78(at)yahoo.com.mx> [ date: 2000-07-11 ]
hello, im a newbie in python, i read your article,
and i follow it, is really interesting, but i couldn't
make it work, i get an error, i put it here, maybe
you could help me..
--->:note
i copied the sources from the links


Traceback (innermost last):
File "./couleur.py", line 143, in ?
initColor()
File "./couleur.py", line 141, in initColor
rootGroup = cavas.root ()
AttributeError: 'None' object has no attribute 'root'


From: Hilaire Fernandes <hilaire(at)ofset.org> [ date: 2000-07-13 ]



Traceback (innermost last):
File "./couleur.py", line 143, in ?
initColor()
File "./couleur.py", line 141, in initColor
rootGroup = cavas.root ()
AttributeError: 'None' object has no attribute 'root'

It looks like the canvas object is not initialized
correctly. Is the .glade file in the same directory
that the .py file ?

From: Carlos Alarcón <alarcon78(at)yahoo.com.mx> [ date: 2000-07-13 ]
both files are in the same directory, : (, when
i ejecute it the screen of the program shows for
some seconds.., after dissapear and the error that
i wrote before is in the terminal....
: (..

From: toneby <peter(at)toneby.com> [ date: 2000-07-16 ]
The error is because of a missing 'n' on the last
line if the function initColor of the file
couleur_py.txt, it should read:
'rootGroup = canvas.root ()'
It does so now in the downloadable file.
From: Nathan Myers <ncm(at)nospam.cantrip.org> [ date: 2000-07-17 ]
Great article, thanks Hilaire!
From: morning_glory [ date: 2000-07-17 ]
Great article.. I have waited to read a good article
about python/gnome like this for a very long time.
Thanks a lot
From: James Parish <DIPA754(at)NETZERO.COM> [ date: 2000-07-18 ]
I cant understand anything about linux programming. Please send a simple task and a simple program to make work for me. Thanks.
From: Alexander Heusel <aheusel(at)ix.urz.uni-heidelberg.de> [ date: 2000-07-20 ]
Yay! Great article, i will sit down and try out imediately!
An article like this, that explains the use of Glade in combination
with python and some basics about Gnome/Gtk has been missing.
Hopefully you will find the time and motivation to enhance this fine
article to a full course, which we all would apreciate VERY much!
Thanks
From: Luis Ignacio Castillo Fernandez <luigcafe(at)brfree.com.br> [ date: 2000-09-13 ]
I cant understand anything about linux programming. Please send a simple task and a simple program to make work for me. Thanks.
you got some material in spanih ou portuguese ??.
I call from Brasil.
Tanks for all !!.


From: mario ucci <marioucci(at)ig.com.br> [ date: 2000-10-08 ]
is this gnomecanvas avaiable?where?there is only rumours about it here in Brazil. please, help me to find and get information about this software.What is it? a photoshop? a coreldraw? a painter? thank you very much.
mario ucci, São Paulo, Brazil
From: Scott Prive <full-name(at)netscape.net> [ date: 2001-02-19 ]
A great article, and the documentation effort is much appreciated. I await the second article alluded to in this story :)

-Scott
From: Lorint <lorinthendschel(at)skynet.be> [ date: 2001-04-07 ]
I'm a bit late. Sorry! I have the same problem as that described by Carlos:
File "./couleur.py", line 141, in initColor
rootGroup = canvas.root ()
AttributeError: 'None' object has no attribute 'root'
As you can see, there is no typo in "canvas" and, yes, color.glade is in the same dir as couleur.py.
Does anyone have a solution?
Thanks.
From: Magnus K <magnusk2(at)yahoo.com> [ date: 2002-01-05 ]
Great article!
From: Matthias Urlichs <smurf(at)smurf.noris.de> [ date: 2004-10-28 ]
OK, here's up-to-date (glade2, gtk2, the whole bit) code.

http://smurf.noris.de/code/python/

15 talkbacks in English
Other talkbacks:   Turkce Castellano Francais




Due to the increased amount of web spam we have deciced to removed the talkback posting possibility. You can read old talkbacks but you can no longer post new ones.

Back to http://cgi.linuxfocus.org/English/July2000/article160.shtml

Please contact webmaster(at)linuxfocus.org if you have any questions with regards to this talkback

lftalkback version 3.10