store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Mon Dec 22, 2014 7:14 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 5:28 am 
Offline
Forum User
Forum User

Joined: Mon Feb 27, 2012 5:19 am
Posts: 6
Location: zurich
Hello
I've installed wapiti on an almost clean CentOS 5.6 box trough yum (yum install wapiti). The installation went without any problems. When I execute the following command now
Quote:
I'm getting the following error
Quote:
Traceback (most recent call last):
File "/usr/bin/wapiti", line 366, in ?
wap = Wapiti(url)
File "/usr/bin/wapiti", line 158, in __init__
self.HTTP = HTTP.HTTP(rooturl)
File "/usr/lib/python2.4/site-packages/wapiti/net/HTTP.py", line 65, in __init__
self.cookiejar = libcookie.libcookie(self.server)
File "/usr/lib/python2.4/site-packages/wapiti/net/libcookie.py", line 37, in __init__
self.target = urllib2.httplib.urlsplit(url).hostname
AttributeError: 'tuple' object has no attribute 'hostname'

Is there any package dependencies problem?


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 8:16 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7964
Location: earth
Shoot... wapiti might only be compatible with python 2.5


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 8:45 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2113
Yeah, there's a load of really interesting stuff that needs a newer version of Python than you get out of the box with RHEL/Centos 4/5, and it is really annoying (Centos 6 seems ok for now).

Upgrading Python by compiling from source on a hosting server or VPS host node, without fully testing compatibility first, is not something to do lightly, and you get stuck having to test and compile again and again whenever bug/security fixes come out.

I don't know what, if any, elements of Plesk or Virtuozzo or anything else might use Python, but something is bound to break if you don't do your homework ;-)

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 8:51 am 
Offline
Forum User
Forum User

Joined: Mon Feb 27, 2012 5:19 am
Posts: 6
Location: zurich
I tried once python26 to install and change the wapiti script to use python26 but it was breaking other things. Is there a tutorial how to bring wapiti to work on CentOS 5? I'm still a newbie on this and only want to bring wapiti to work.


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 9:05 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7964
Location: earth
Not that I found, but I did run across some other python 2.4 projects that ran into this here:

https://bugzilla.redhat.com/show_bug.cg ... &id=525202


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 9:10 am 
Offline
Forum User
Forum User

Joined: Mon Feb 27, 2012 5:19 am
Posts: 6
Location: zurich
In my opinion wapiti should have dependencies to all the necessary python 2.6 packages and use also use version 2.6. Can this be considered a bug in the wapiti package?


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 10:46 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7964
Location: earth
Yeah its an upstream bug. I dont think they'd have to go as far bundling python with it though, just modify the function to work with 2.4. Clearly smolt was able to do it


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 11:47 am 
Offline
Forum User
Forum User

Joined: Mon Feb 27, 2012 5:19 am
Posts: 6
Location: zurich
Where should I fill the bug?


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Mon Feb 27, 2012 1:46 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7964
Location: earth
Looks like the bug tracker is here:

http://sourceforge.net/tracker/?group_i ... tid=847490


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Tue Feb 28, 2012 1:27 am 
Offline
Forum User
Forum User

Joined: Mon Feb 27, 2012 5:19 am
Posts: 6
Location: zurich
Ok I thought you guys are maintaining the package and not the developer itself...will see what I can get out in the tracker there.


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Tue Feb 28, 2012 7:52 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7964
Location: earth
Yeah we maintain the packages, and when we can fix something like this we will. This one is a bit too deep though, and only upstream can tackle it.


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Tue Feb 28, 2012 8:22 am 
Offline
Forum User
Forum User

Joined: Mon Feb 27, 2012 5:19 am
Posts: 6
Location: zurich
Thanks. I hope the developer will not argue that it is the responsibility of the packager to define the correct dependencies for the RPM. Anyway i will see what I can get out.....


Top
 Profile  
 
 Post subject: Re: Wapiti bug?
Unread postPosted: Tue Feb 28, 2012 5:39 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7964
Location: earth
Yeah they could punt it and just say python 2.4 is not supportable. It wouldn't be the first time that happened.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group