Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-07 Thread JoeHill
On Tue, 5 Oct 2004 21:12:42 -0400
JoeHill disseminated the following:

  segmentation fault
 
 Yep, me too. I'm still running 1.3 (which has a few very minor bugs), because
 2.0 requires Imlib2 v1.1.1, and it looks like MDK 10.0 is still on 1.0.6-4.1.
 
 I'm gonna try and track down the source for the latest Imlib2 and see what I
 can break ;-)

Okay, I mailed a few people and got a link to the source, it's now up to 1.1.2:

http://sourceforge.net/project/showfiles.php?group_id=2

...wy down at the bottom.

You will need at the very least libtool-devel (urpmi libtool-devel) to build it,
probably also freetype2 devel libs and same for X11R6. Ziljian, the developer,
was very helpful, BTW.

I'm going to build a checkinstall RPM of it and install from that.
Unfortunately, I would seriously doubt that the RPM I build would work on a 10.0
machine or higher. Any RPM experts have an answer on that one? Charles? CHARLES,
I KNOW YOU ARE LISTENING/LURKING...LOL!

Long story short, I've got PyPanel 2.0 running now, there are some sweet new
features if you look at the changelog (tinting, nicer icons...), so give it a
shot :-)

-- 
JoeHill RLU / #282046 / www.freeyourmachine.org
09:27:33 up 64 days, 9:15, 7 users, load average: 0.37, 0.41, 0.52
+++
It is the world that has been pulled over your eyes, to blind you from the
truth... -- Morpheus, in The Matrix, describing Fox News


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread David B. Carter
JoeHill said:
 BTW, could you do a 'rpm -qa | grep imlib2' on your machine? I'm curious
 to see
 what your version is. My 9.2 box is now too out-of-date to run PyPanel
 2.0, my
 version of imlib is too old.


libimlib2_1-filters-1.0.6-4.1.100mdk
libimlib2_1-loaders-1.0.6-4.1.100mdk
libimlib2_1-devel-1.0.6-4.1.100mdk
libimlib2_1-1.0.6-4.1.100mdk

BTW, installing libpython-devel fixed my problem. I was able to run the
PyPanel setup script. Then I put pypanel in my Pwkwm start file, but,
when I run Pekwm, I don't see anything that would lead me to believe it is
actually running. When I type pypanel in a terminal window while in KDE,
the screen flickers, and then I get the following:

segmentation fault

I tried to go to the PyPanel site to look for troubleshooting info, but I
didn't find any. I googled (pypanel segmentation fault) but got nothing
useful.

Anyone have any ideas?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread H.J.Bathoorn
On Tuesday 05 October 2004 11:44, David B. Carter wrote:
 segmentation fault

 I tried to go to the PyPanel site to look for troubleshooting info, but I
 didn't find any. I googled (pypanel segmentation fault) but got nothing
 useful.

 Anyone have any ideas?

try running it in the python shell itself.
I don't have PyPanel myself but you'll have pypanel.py or PyPanel.py or 
something of the sort on your system somewhere.
Do updatedb as root/su
and when finished (as user) locate anel.py and you should get the path in 
your output.

Then run it (with the full path) python /path/to/pypanel.py and you'll get 
very specific output as to where it goes wrong.
-- 
Good luck,
HarM


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread David B. Carter
No pypanel.py anywhere. Just pypanel (with no extension) in /usr/bin.
Whether I just type 'pypanel' or 'python /usr/bin/pypanel' all I get is

segmentation fault

BTW, in all the reading I've done, I keep seeing commands that have have 
 after them. What does that do/mean?

H.J.Bathoorn said:
 On Tuesday 05 October 2004 11:44, David B. Carter wrote:
 segmentation fault

 I tried to go to the PyPanel site to look for troubleshooting info, but
 I
 didn't find any. I googled (pypanel segmentation fault) but got
 nothing
 useful.

 Anyone have any ideas?

 try running it in the python shell itself.
 I don't have PyPanel myself but you'll have pypanel.py or PyPanel.py or
 something of the sort on your system somewhere.
 Do updatedb as root/su
 and when finished (as user) locate anel.py and you should get the path
 in
 your output.

 Then run it (with the full path) python /path/to/pypanel.py and you'll
 get
 very specific output as to where it goes wrong.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread David B. Carter
Just for the heck of it (although I have no idea what it means), I tried
running pypanel with a  after it. I did it several times, and this was
what the output to the terminal window looked like:

[ddecjc]$ pypanel 
[1] 4777
[ddecjc]$ pypanel 
[2] 4792
[1]   Segmentation fault  pypanel
[ddecjc]$ pypanel 
[3] 4807
[2]   Segmentation fault  pypanel
[ddecjc]$ pypanel 
[4] 4822
[3]   Segmentation fault  pypanel
[ddecjc]$ pypanel 
[5] 4837
[4]   Segmentation fault  pypanel
[ddecjc]$

Does this mean anything to anyone?

David B. Carter said:
 No pypanel.py anywhere. Just pypanel (with no extension) in /usr/bin.
 Whether I just type 'pypanel' or 'python /usr/bin/pypanel' all I get is

 segmentation fault

 BTW, in all the reading I've done, I keep seeing commands that have have 
  after them. What does that do/mean?




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread Hoyt Bailey
On Tuesday 05 October 2004 08:04, David B. Carter wrote:
 No pypanel.py anywhere. Just pypanel (with no extension) in /usr/bin.
 Whether I just type 'pypanel' or 'python /usr/bin/pypanel' all I get
 is

 segmentation fault

 BTW, in all the reading I've done, I keep seeing commands that have
 have   after them. What does that do/mean?

 H.J.Bathoorn said:
  On Tuesday 05 October 2004 11:44, David B. Carter wrote:
  segmentation fault
 
  I tried to go to the PyPanel site to look for troubleshooting
  info, but I
  didn't find any. I googled (pypanel segmentation fault) but got
  nothing
  useful.
 
  Anyone have any ideas?
 
  try running it in the python shell itself.
  I don't have PyPanel myself but you'll have pypanel.py or
  PyPanel.py or something of the sort on your system somewhere.
  Do updatedb as root/su
  and when finished (as user) locate anel.py and you should get the
  path in
  your output.
 
  Then run it (with the full path) python /path/to/pypanel.py and
  you'll get
  very specific output as to where it goes wrong.
 puts the command in the background.
-- 
Regards;
Hoyt
Registered Linux User #363264
http://counter.li.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread Stephen Kühn
On Tue, 2004-10-05 at 23:07, David B. Carter wrote:
 Just for the heck of it (although I have no idea what it means), I tried
 running pypanel with a  after it. I did it several times, and this was
 what the output to the terminal window looked like:
 
 [ddecjc]$ pypanel 
 [1] 4777
 [ddecjc]$ pypanel 
 [2] 4792
 [1]   Segmentation fault  pypanel
 
 Does this mean anything to anyone?

Er, it means you had a seg fault...

MEANWHILE...

[23:[EMAIL PROTECTED]:~]$ pypanel
/usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning:
Non-ASCII character '\xf6' in file
/usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749,
but no encoding declared; see http://www.python.org/peps/pep-0263.html
for details
  import protocol.display
Segmentation fault

after getting curious about this issue, I tried to get it all going
myself - with the same seg fault results - methinks something is
amiss, y'all reckon? Can't seem to find anything else out about it and I
CERTAINLY AIN'T going to break python on this installation as that's
what caused me to migrate from a nice stable 9.1 installation to 10.0
OE...(but I gave it a shot)

--
stephen kuhn
---
GNU/Linux/OpenSource Solutions and Alternatives
100% Microsoft Free and no viruses
---
This land is my land, and only my land, I've got a shotgun, and you
ain't got one, If you don't get off, I'll blow your head off, This land
is private property. -- Apologies to Woody Guthrie



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread David B. Carter
Thanks for giving it a shot. At least I know I'm not the only one that it
doesn't work for. Anyone else have any helpful insight?

Stephen Kühn said:
 MEANWHILE...

 [23:[EMAIL PROTECTED]:~]$ pypanel
 /usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning:
 Non-ASCII character '\xf6' in file
 /usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749,
 but no encoding declared; see http://www.python.org/peps/pep-0263.html
 for details
   import protocol.display
 Segmentation fault

 after getting curious about this issue, I tried to get it all going
 myself - with the same seg fault results - methinks something is
 amiss, y'all reckon? Can't seem to find anything else out about it and I
 CERTAINLY AIN'T going to break python on this installation as that's
 what caused me to migrate from a nice stable 9.1 installation to 10.0
 OE...(but I gave it a shot)

 --
 stephen kuhn
 ---
 GNU/Linux/OpenSource Solutions and Alternatives
 100% Microsoft Free and no viruses
 ---
 This land is my land, and only my land, I've got a shotgun, and you
 ain't got one, If you don't get off, I'll blow your head off, This land
 is private property. -- Apologies to Woody Guthrie






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread David B. Carter
Must be a problem with PyPanel 2.0 because I removed it and installed 1.3
and it works! One thing that is different between the two is that 2.0
requires imlib2 1.1.1 or later (according to the docs). When I do a

rpm -qa | grep imlib2

I get

libimlib2_1-filters-1.0.6-4.1.100mdk
libimlib2_1-loaders-1.0.6-4.1.100mdk
libimlib2_1-devel-1.0.6-4.1.100mdk
libimlib2_1-1.0.6-4.1.100mdk

which looks to me like it's saying I have version 1.0.6. I don't know if
that's right or if that's even the problem, but it's the only thing that
jumped out at me.

Anyway, although I'd like to be running 2.0, I can't find an RPM anywhere
of a more recent version of imlib2, and I don't feel like compiling it
from source, so I'll stick with 1.3 for now.

Thanks for your help, everyone.

David B. Carter said:
 Thanks for giving it a shot. At least I know I'm not the only one that it
 doesn't work for. Anyone else have any helpful insight?

 Stephen Kühn said:
 MEANWHILE...

 [23:[EMAIL PROTECTED]:~]$ pypanel
 /usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning:
 Non-ASCII character '\xf6' in file
 /usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749,
 but no encoding declared; see http://www.python.org/peps/pep-0263.html
 for details
   import protocol.display
 Segmentation fault

 after getting curious about this issue, I tried to get it all going
 myself - with the same seg fault results - methinks something is
 amiss, y'all reckon? Can't seem to find anything else out about it and I
 CERTAINLY AIN'T going to break python on this installation as that's
 what caused me to migrate from a nice stable 9.1 installation to 10.0
 OE...(but I gave it a shot)

 --
 stephen kuhn
 ---
 GNU/Linux/OpenSource Solutions and Alternatives
 100% Microsoft Free and no viruses
 ---
 This land is my land, and only my land, I've got a shotgun, and you
 ain't got one, If you don't get off, I'll blow your head off, This land
 is private property. -- Apologies to Woody Guthrie









Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-05 Thread JoeHill
On Tue, 5 Oct 2004 05:44:21 -0400 (EDT)
David B. Carter disseminated the following:

 segmentation fault

Yep, me too. I'm still running 1.3 (which has a few very minor bugs), because
2.0 requires Imlib2 v1.1.1, and it looks like MDK 10.0 is still on 1.0.6-4.1.

I'm gonna try and track down the source for the latest Imlib2 and see what I can
break ;-)

-- 
JoeHill RLU / #282046 / www.freeyourmachine.org
21:05:31 up 62 days, 20:53, 5 users, load average: 0.19, 0.09, 0.02
+++
Well, he might as well have been bombing Denmark. -- Gore Vidal, on the
bombing of Afghanistan after 9/11


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-04 Thread Stephen Kühn
On Tue, 2004-10-05 at 10:49, David B. Carter wrote:
 I'm trying to get setup to try Pekwm. Joe Hill has given me some great
 info on where to download stuff from, and I've got it all ready to try. My
 problem is I've never done anything with Python before, and, when I try to
 run the install for Pekwm as indicated in the README file, I get the
 following error:
 
 running install
 error: invalid Python installation: unable to open
 /usr/lib/python2.3/config/Makefile (No such file or directory)
 
 Sure enough, when I go look, there is no config directory under the
 /usr/lib/python2.3/ directory. Now I'm stuck. I don't know what to do
 next. I ran rpmdrake and searched for python packages. There are tons of
 them, but I don't even know what I'm looking for.
 
 Any ideas? Thanks.
 

And I assume you're doing this as the root user, eh? Cuz if you ain't,
yer gonna get errors left right and centre...

-- 
stephen kuhn

GNU/linux-Open Source-GPL Solutions and Alternatives
100% Microsoft free and no viruses here.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-04 Thread JoeHill
On Mon, 4 Oct 2004 20:49:12 -0400 (EDT)
David B. Carter disseminated the following:

 Sure enough, when I go look, there is no config directory under the
 /usr/lib/python2.3/ directory. Now I'm stuck. I don't know what to do
 next. I ran rpmdrake and searched for python packages. There are tons of
 them, but I don't even know what I'm looking for.

I'm assuming you mean PyPanel and not Pekwm...

Methinks you have Python installed, but not the necessary libs. This should take
care of everything.

urpmi libpython-devel

I don't *think* you need the devel libs, but they may come in handy sometime,
and this will install both.

-- 
JoeHill RLU / #282046 / www.freeyourmachine.org
21:05:32 up 61 days, 20:53, 5 users, load average: 1.55, 1.91, 1.82
+++
Well, he might as well have been bombing Denmark. -- Gore Vidal, on the
bombing of Afghanistan after 9/11


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-04 Thread David B. Carter
Yep. It was done after su in a terminal window...

Stephen Kühn said:
 And I assume you're doing this as the root user, eh? Cuz if you ain't,
 yer gonna get errors left right and centre...




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-04 Thread David B. Carter
JoeHill said:
 I'm assuming you mean PyPanel and not Pekwm...

You're right. My newbie-ness is painfully obvious...

 Methinks you have Python installed, but not the necessary libs. This
 should take care of everything.

 urpmi libpython-devel

Thanks. I'll give it a shot...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Help with Python Problem (MDK 10.0)

2004-10-04 Thread JoeHill
On Mon, 4 Oct 2004 23:15:48 -0400 (EDT)
David B. Carter disseminated the following:

  I'm assuming you mean PyPanel and not Pekwm...
 
 You're right. My newbie-ness is painfully obvious...
 
  Methinks you have Python installed, but not the necessary libs. This
  should take care of everything.
 
  urpmi libpython-devel
 
 Thanks. I'll give it a shot...

BTW, could you do a 'rpm -qa | grep imlib2' on your machine? I'm curious to see
what your version is. My 9.2 box is now too out-of-date to run PyPanel 2.0, my
version of imlib is too old.

-- 
JoeHill RLU / #282046 / www.freeyourmachine.org
23:19:47 up 61 days, 23:07, 5 users, load average: 0.21, 0.68, 0.95
+++
If the Nuremberg laws were applied, then every post-war American president
would have been hanged. -- Noam Chomsky


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com