Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Using Orbited on CentOS (with Python 2.4)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
daskalou  
View profile  
 More options Nov 4 2008, 10:57 pm
From: daskalou <n...@daskalou.com>
Date: Tue, 4 Nov 2008 19:57:51 -0800 (PST)
Local: Tues, Nov 4 2008 10:57 pm
Subject: Using Orbited on CentOS (with Python 2.4)
I'm using a CentOS machine and the official RPM packages only contain
Python 2.4.

(a) Is it possible to use Orbited with Python 2.4? (I think the answer
here is "No.")

(b) If (a) is not possible, does anyone have any links or suggestions
on how I can install Python 2.5 (and running Orbited with it) without
impacting any current Python apps that rely on 2.4?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Carter  
View profile  
 More options Nov 5 2008, 12:59 am
From: "Michael Carter" <cartermich...@gmail.com>
Date: Tue, 4 Nov 2008 21:59:20 -0800
Local: Wed, Nov 5 2008 12:59 am
Subject: Re: [Orbited] Using Orbited on CentOS (with Python 2.4)

I think you can get a copy of urlparse.py from python2.5 and drop it into
your python 2.4 site-packages directory. I haven't tested this before, but
it'll probably work. I don't think we depend on any other functionality than
the updated urlparse.py file for 2.5.

-Michael Carter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nickolas Daskalou  
View profile  
 More options Nov 5 2008, 3:41 am
From: "Nickolas Daskalou" <n...@daskalou.com>
Date: Wed, 5 Nov 2008 19:41:30 +1100
Local: Wed, Nov 5 2008 3:41 am
Subject: Re: [Orbited] Re: Using Orbited on CentOS (with Python 2.4)

That worked perfectly, thanks Michael.

I'm sure there's an easier way to get urlparse.py directly off the 'net, but
this is what I did anyway (on CentOS 5) for future reference:

> wget "http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tar.bz2"
> tar -jxf Python-2.5.2.tar.bz2
> cp Python-2.5.2/Lib/urlparse.py

/usr/lib/python2.4/site-packages/orbited-0.7.0-py2.4.egg/orbited/

As a side note, since this is the only reason orbited fails to start under
Python 2.4, I think the urlparse sections of orbited should be made
backwards compatible with 2.4 (eg. maybe check to see if urlparse supports
using such things like .hostname, and if not then revert back to using a
numeric index). There was a ticket made for this request but it was marked
as "wontfix" (not good in my opinion).

CentOS is the flavour of choice when building a server for many Linux
administrators, and having to "hack" around official packages to get orbited
working is not a good thing (even if this is quite a simple fix).

Having said that, I am super-impressed with orbited. Building real-time web
apps is now almost only limited by your imagination. Kudos to the orbited
team.

2008/11/5 Michael Carter <cartermich...@gmail.com>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Carter  
View profile  
 More options Nov 5 2008, 4:22 am
From: "Michael Carter" <cartermich...@gmail.com>
Date: Wed, 5 Nov 2008 01:22:57 -0800
Local: Wed, Nov 5 2008 4:22 am
Subject: Re: [Orbited] Re: Using Orbited on CentOS (with Python 2.4)

I think we should probably just ship the newer urlparse.py with Orbited, and
do a run time check on our python version to decide which to use. Can you
leave some feedback on the ticket (and open it again if you can)?

-Michael Carter

On Wed, Nov 5, 2008 at 12:41 AM, Nickolas Daskalou <n...@daskalou.com>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nickolas Daskalou  
View profile  
 More options Nov 5 2008, 4:44 am
From: "Nickolas Daskalou" <n...@daskalou.com>
Date: Wed, 5 Nov 2008 20:44:20 +1100
Local: Wed, Nov 5 2008 4:44 am
Subject: Re: [Orbited] Re: Using Orbited on CentOS (with Python 2.4)

No problem, done.

Nick

2008/11/5 Michael Carter <cartermich...@gmail.com>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nickolas Daskalou  
View profile  
 More options Nov 5 2008, 4:45 am
From: "Nickolas Daskalou" <n...@daskalou.com>
Date: Wed, 5 Nov 2008 20:45:16 +1100
Local: Wed, Nov 5 2008 4:45 am
Subject: Re: [Orbited] Re: Using Orbited on CentOS (with Python 2.4)

Here is a link to the ticket:

http://orbited.org/ticket/24

2008/11/5 Nickolas Daskalou <n...@daskalou.com>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google