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?
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.
On Tue, Nov 4, 2008 at 7:57 PM, daskalou <n...@daskalou.com> wrote:
> 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?
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>
> 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
> On Tue, Nov 4, 2008 at 7:57 PM, daskalou <n...@daskalou.com> wrote:
>> 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?
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:
> 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>
> 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
>> On Tue, Nov 4, 2008 at 7:57 PM, daskalou <n...@daskalou.com> wrote:
>>> 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?
> 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:
>> 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:
>> 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>
>> 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
>>> On Tue, Nov 4, 2008 at 7:57 PM, daskalou <n...@daskalou.com> wrote:
>>>> 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?
> 2008/11/5 Michael Carter <cartermich...@gmail.com>
>> 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:
>>> 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:
>>> 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>
>>> 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
>>>> On Tue, Nov 4, 2008 at 7:57 PM, daskalou <n...@daskalou.com> wrote:
>>>>> 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?