comp.lang.ada
 help / color / mirror / Atom feed
* Packaged Debian Ada doesn't show tips of the day
@ 2012-09-23 13:14 Ada novice
  2012-09-23 14:04 ` Brian Drummond
  0 siblings, 1 reply; 5+ messages in thread
From: Ada novice @ 2012-09-23 13:14 UTC (permalink / raw)


Following an earlier discussion with Ludovic Brenta, I have put back the packaged Debian Ada on my Crunchbang linux. What I am writing below applies to linux mint as well. Both linux mint and Crunchbang are direct derivatives of Debian. Crunchbang is so close to Debian that even its installation setup is identical to Debian!


I installed gnat via the synaptic package manager. I think it was gnat-4.6 and GPS alongside. On typing gnat-gps at the command line, I get in the message panel of GPS:

Welcome to GPS 5.0-12 (Debian) hosted on a i486-linux gnu) 
Some year here -2010 AdaCore

Traceback (most recent call last):
File "/usr/share/gps/plug-ins/tip_of_the_day.py", line 628, in on_gps_started
Messages = GPS.MDI-get("Messages").pywidget()
AttributeError: MDIwindow instance has no attribute 'pywidget'


It could be something simple missing that comes with Debian but not on its derivatives that is causing me to get this message. However, I do not get the above message with GNAT GPL from AdaCore.

YC




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Packaged Debian Ada doesn't show tips of the day
  2012-09-23 13:14 Packaged Debian Ada doesn't show tips of the day Ada novice
@ 2012-09-23 14:04 ` Brian Drummond
  2012-09-23 20:08   ` Ludovic Brenta
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Drummond @ 2012-09-23 14:04 UTC (permalink / raw)


On Sun, 23 Sep 2012 06:14:59 -0700, Ada novice wrote:

> Following an earlier discussion with Ludovic Brenta, I have put back the
> packaged Debian Ada on my Crunchbang linux. What I am writing below
> applies to linux mint as well.

> Traceback (most recent call last):
> File "/usr/share/gps/plug-ins/tip_of_the_day.py", line 628, in
> on_gps_started Messages = GPS.MDI-get("Messages").pywidget()
> AttributeError: MDIwindow instance has no attribute 'pywidget'
> 
> 
> It could be something simple missing that comes with Debian but not on
> its derivatives that is causing me to get this message. 

If I google "debian what provides pywidget"
the first hit I see is
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654339
which looks relevant.

Looks like it might be worth installing or updating PyGTK.

- Brian



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Packaged Debian Ada doesn't show tips of the day
  2012-09-23 14:04 ` Brian Drummond
@ 2012-09-23 20:08   ` Ludovic Brenta
  2012-09-23 20:20     ` Brian Drummond
  2012-09-28  5:37     ` Ada novice
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Brenta @ 2012-09-23 20:08 UTC (permalink / raw)


Brian Drummond writes:
> On Sun, 23 Sep 2012 06:14:59 -0700, Ada novice wrote:
>> Following an earlier discussion with Ludovic Brenta, I have put back
>> the packaged Debian Ada on my Crunchbang linux. What I am writing
>> below applies to linux mint as well.
>
>> Traceback (most recent call last):
>> File "/usr/share/gps/plug-ins/tip_of_the_day.py", line 628, in
>> on_gps_started Messages = GPS.MDI-get("Messages").pywidget()
>> AttributeError: MDIwindow instance has no attribute 'pywidget'
>> 
>> 
>> It could be something simple missing that comes with Debian but not
>> on its derivatives that is causing me to get this message.
>
> If I google "debian what provides pywidget" the first hit I see is
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654339 which looks
> relevant.
>
> Looks like it might be worth installing or updating PyGTK.

Specifically, install the package python-gtk2 which gnat-gps recommends.

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Packaged Debian Ada doesn't show tips of the day
  2012-09-23 20:08   ` Ludovic Brenta
@ 2012-09-23 20:20     ` Brian Drummond
  2012-09-28  5:37     ` Ada novice
  1 sibling, 0 replies; 5+ messages in thread
From: Brian Drummond @ 2012-09-23 20:20 UTC (permalink / raw)


On Sun, 23 Sep 2012 22:08:57 +0200, Ludovic Brenta wrote:

> Brian Drummond writes:

>> Looks like it might be worth installing or updating PyGTK.
> 
> Specifically, install the package python-gtk2 which gnat-gps recommends.

Thanks for the additional info, Ludovic, I couldn't see the actual 
package name in the bugreport itself.

- Brian



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Packaged Debian Ada doesn't show tips of the day
  2012-09-23 20:08   ` Ludovic Brenta
  2012-09-23 20:20     ` Brian Drummond
@ 2012-09-28  5:37     ` Ada novice
  1 sibling, 0 replies; 5+ messages in thread
From: Ada novice @ 2012-09-28  5:37 UTC (permalink / raw)


On Sunday, September 23, 2012 9:05:45 PM UTC+1, Ludovic Brenta wrote:
> 
> Specifically, install the package python-gtk2 which gnat-gps recommends.

python-gtk2 was already installed (perhaps before or was installed during the installation of gnat-gs) and I have the latest version 2.24.0-3.

I will stick to GNAT GPL which works fine.

YC



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-28  5:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-23 13:14 Packaged Debian Ada doesn't show tips of the day Ada novice
2012-09-23 14:04 ` Brian Drummond
2012-09-23 20:08   ` Ludovic Brenta
2012-09-23 20:20     ` Brian Drummond
2012-09-28  5:37     ` Ada novice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox