public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] pysol problems
@ 2006-09-27  2:44 Mark Knecht
  2006-09-27  3:02 ` Bo Ørsted Andresen
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Knecht @ 2006-09-27  2:44 UTC (permalink / raw
  To: gentoo-user

Hi,
   My wife's machine started having troubles running pysol. After a
very quick browse of the Bugzilla system I didn't locate anything
specifically for this error:

mark@dragonfly ~ $ pysol
Traceback (most recent call last):
  File "/usr/games/lib/pysol/pysol.py", line 121, in ?
    sys.exit(main(sys.argv))
  File "/usr/games/lib/pysol/main.py", line 424, in main
    r = pysol_main(args)
  File "/usr/games/lib/pysol/main.py", line 367, in pysol_main
    r = pysol_init(app, args)
  File "/usr/games/lib/pysol/main.py", line 121, in pysol_init
    top = MfxRoot(className=PACKAGE)
  File "/usr/games/lib/pysol/tk/tkwrap.py", line 75, in __init__
    apply(Tkinter.Tk.__init__, (self,), kw)
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1569, in __init__
    self.tk = _tkinter.create(screenName, baseName, className,
interactive, want objects, useTk, sync, use)
__main__.TclError: this isn't a Tk applicationunknown color name "Black"
mark@dragonfly ~ $

   I tried re-emerging pysol, as well as tk & gtk+. I also deleted
directory specific .pysol stuff to let it start over but nothing so
far has fixed it.

dragonfly ~ # emerge -pv pysol tk gtk+ python

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] games-board/pysol-4.82-r1  0 kB
[ebuild   R   ] dev-lang/tk-8.4.9  USE="threads" 0 kB
[ebuild   R   ] x11-libs/gtk+-2.8.19  USE="X jpeg -debug -doc -tiff
-xinerama" 0  kB
[ebuild   R   ] dev-lang/python-2.4.3-r1  USE="berkdb gdbm ipv6
ncurses readline  ssl tk -bootstrap -build -doc -nocxx -ucs2" 8 kB

Total size of downloads: 8 kB
dragonfly ~ #

   All ideas appreciated.

Thanks,
Mark
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] pysol problems
  2006-09-27  2:44 [gentoo-user] pysol problems Mark Knecht
@ 2006-09-27  3:02 ` Bo Ørsted Andresen
  2006-09-27 14:08   ` Mark Knecht
  0 siblings, 1 reply; 5+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-27  3:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 266 bytes --]

On Wednesday 27 September 2006 04:44, Mark Knecht wrote:
[SNIP]
> __main__.TclError: this isn't a Tk applicationunknown color name "Black"
[SNIP]
>    All ideas appreciated.

How about?

https://bugs.gentoo.org/show_bug.cgi?id=96933#c15

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] pysol problems
  2006-09-27  3:02 ` Bo Ørsted Andresen
@ 2006-09-27 14:08   ` Mark Knecht
  2006-09-27 14:23     ` Bo Ørsted Andresen
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Knecht @ 2006-09-27 14:08 UTC (permalink / raw
  To: gentoo-user

On 9/26/06, Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:
> On Wednesday 27 September 2006 04:44, Mark Knecht wrote:
> [SNIP]
> > __main__.TclError: this isn't a Tk applicationunknown color name "Black"
> [SNIP]
> >    All ideas appreciated.
>
> How about?
>
> https://bugs.gentoo.org/show_bug.cgi?id=96933#c15
>
> --
> Bo Andresen

Hi Bo,
   I'm assuming you are pointing me at the comment about a bad RgbPath
that worked for fixing your issue? I do not seem to have RgbPath in
xorg.conf on that machine:

dragonfly ~ # cat /etc/X11/xorg.conf | grep RgbPath
dragonfly ~ #

   Just in case it was a capitalization issue I also did some
searching in the file but no luck finding anything so far.

   If I've misinterpreted your pointer here please clarify.

   I do agree that this may well be an X11 problem. If I'm sitting on
that machine pysol fails as I've shown. However if I ssh into that
machine from my AMD64 box pysol will run when displayed on my PC.
Seems like an X11 issue?

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] pysol problems
  2006-09-27 14:08   ` Mark Knecht
@ 2006-09-27 14:23     ` Bo Ørsted Andresen
  2006-09-27 15:06       ` Mark Knecht
  0 siblings, 1 reply; 5+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-27 14:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

On Wednesday 27 September 2006 16:08, Mark Knecht wrote:
> > > __main__.TclError: this isn't a Tk applicationunknown color name
> > > "Black"
> > [SNIP]
> > >    All ideas appreciated.
> >
> > How about?
> >
> > https://bugs.gentoo.org/show_bug.cgi?id=96933#c15
>
> Hi Bo,
>    I'm assuming you are pointing me at the comment about a bad RgbPath
> that worked for fixing your issue?

Yep, it was this line that was causing my issue:

# grep RgbPath /etc/X11/xorg.conf
    #RgbPath    "/usr/lib/X11/rgb"

> I do not seem to have RgbPath in 
> xorg.conf on that machine:
>
> dragonfly ~ # cat /etc/X11/xorg.conf | grep RgbPath
> dragonfly ~ #

Are you certain that you are actually using /etc/X11/xorg.conf?

# grep xorg.conf /var/log/Xorg.0.log
(==) Using config file: "/etc/X11/xorg.conf"
[SNIP]

I don't really have other ideas (short of filing a bug). Maybe others do.

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] pysol problems
  2006-09-27 14:23     ` Bo Ørsted Andresen
@ 2006-09-27 15:06       ` Mark Knecht
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Knecht @ 2006-09-27 15:06 UTC (permalink / raw
  To: gentoo-user

On 9/27/06, Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:
> On Wednesday 27 September 2006 16:08, Mark Knecht wrote:
> > > > __main__.TclError: this isn't a Tk applicationunknown color name
> > > > "Black"
> > > [SNIP]
> > > >    All ideas appreciated.
> > >
> > > How about?
> > >
> > > https://bugs.gentoo.org/show_bug.cgi?id=96933#c15
> >
> > Hi Bo,
> >    I'm assuming you are pointing me at the comment about a bad RgbPath
> > that worked for fixing your issue?
>
> Yep, it was this line that was causing my issue:
>
> # grep RgbPath /etc/X11/xorg.conf
>     #RgbPath    "/usr/lib/X11/rgb"
>
> > I do not seem to have RgbPath in
> > xorg.conf on that machine:
> >
> > dragonfly ~ # cat /etc/X11/xorg.conf | grep RgbPath
> > dragonfly ~ #
>
> Are you certain that you are actually using /etc/X11/xorg.conf?
>
> # grep xorg.conf /var/log/Xorg.0.log
> (==) Using config file: "/etc/X11/xorg.conf"
> [SNIP]
>
> I don't really have other ideas (short of filing a bug). Maybe others do.
>
> --
> Bo Andresen

Yes, I do seem to be using xorg.conf:

dragonfly ~ # grep xorg.conf /var/log/Xorg.0.log
(==) Using config file: "/etc/X11/xorg.conf"
dragonfly ~ #

I've not searched the forums yet so I'll go there before filing a bug.

Thanks for your help!

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-09-27 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-27  2:44 [gentoo-user] pysol problems Mark Knecht
2006-09-27  3:02 ` Bo Ørsted Andresen
2006-09-27 14:08   ` Mark Knecht
2006-09-27 14:23     ` Bo Ørsted Andresen
2006-09-27 15:06       ` Mark Knecht

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