LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2007, 12:05 PM   #1
ahaslam
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch x86_64
Posts: 26

Rep: Reputation: 15
Exclamation Pypanel & Xlib with Python 2.5


Hi,

I like lightweight DE's and in so, I've been using Openbox with Pypanel. The only problem being that my favorite distro (Zenwalk) has recently updated to Python 2.5. Now Pypanel or it's main dependency (xlib) is not playing nice with the new version. I reinstalled both pypanel & python-xlib after the update to no avail. The only way I can use my preferred setup is to downgrade Python.

Here's the output when I start pypanel via the CLI:

Quote:
ahaslam[~]$ pypanel
Traceback (most recent call last):
File "/usr/bin/pypanel", line 957, in <module>
PyPanel(display.Display())
File "/usr/lib/python2.5/site-packages/Xlib/display.py", line 80, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python2.5/site-packages/Xlib/display.py", line 67, in __init__
apply(protocol.display.Display.__init__, (self, ) + args, keys)
File "/usr/lib/python2.5/site-packages/Xlib/protocol/display.py", line 121, in __init__
raise error.DisplayConnectionError(self.display_name, r.reason)
Xlib.error.DisplayConnectionError: Can't connect to display ":0.0": No protocol specified
As you can see, It's using the new version of Python but there's a problem with Xlib. The main stumbling block here is that both Pypanel & Python-xlib seem to be unmaintaimed or making very little progress, with no noticeable development.

The only other distribution that I've noticed to have Python 2.5 in a stable release is OpenSUSE. I visited their forums in hope of a soloution, to find that no one there seems to use it, yet alone have a problem. I was wondering if anyone else has experienced the problem and whether a solution was found?

Any comments would be greatly appreciated

Tony.
 
Old 01-30-2007, 01:37 PM   #2
ahaslam
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch x86_64
Posts: 26

Original Poster
Rep: Reputation: 15
Anybody?

It seems that python 2.5 has hit the testing repo's for Arch & they've noticed instantly:

http://bbs.archlinux.org/viewtopic.php?id=29346
http://bbs.archlinux.org/viewtopic.php?id=29174

I hope someone can fix this

Tony.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with pypanel LivinLarge Linux - Newbie 0 02-01-2006 09:41 AM
GDM + Openbox & pypanel skybl4ck Linux - General 0 03-13-2005 09:34 PM
xlib & window titlebar?!?!?! tilo Programming 0 09-25-2004 04:13 PM
Can't install PyPanel in Debian? dissolved soul Linux - Software 6 08-22-2004 06:40 PM
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified eyalkz Programming 1 03-02-2004 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration