Re: Migrating a Django project to new platform

2012-10-05 Thread Bill Freeman
v0.97 of Django is compatible with python 2.4, but, as noted above the version of sorl (which is not part of the Django that makes that promise, but an external add-on) is not. You have a few choices: 1. You can tar (or zip) up the stuff in site-packages/sorl on the old box, to move to the new bo

Re: Migrating a Django project to new platform

2012-10-04 Thread Elliot
Hi all, Thank you once again for your insight and feedback. I had gathered that Python2.4 is pretty old, but I guess I expected it on the CentOS5 box. This is the 'latest' as far as the CentOS official repos are concerned. Additionally, according to the Django v0.97 'INSTALL' readme, it's comp

Re: Migrating a Django project to new platform

2012-10-03 Thread Tom Evans
On Wed, Oct 3, 2012 at 4:31 PM, Elliot wrote: > Hi guys, thank you sincerely for your feedback. > > As far as I know there is just the one instance of python installed: > > " print sys.path > ['', '/usr/lib/python2.4/site-packages/PIL-1.1.7-py2.4-linux-i686.egg', > '/usr/lib/python2.4/site-pa

Re: Migrating a Django project to new platform

2012-10-03 Thread Cal Leeming [Simplicity Media Ltd]
The paste you gave us is python 2.4, very old! My guess is that your old server is 2.4, and your new one is 2.6/2.7 - or the other way around - that would explain the weirdness. On your new/old server, paste us the result of just typing 'python' on its own. Cal On Wed, Oct 3, 2012 at 4:31 PM, E

Re: Migrating a Django project to new platform

2012-10-03 Thread Elliot
Hi guys, thank you sincerely for your feedback. As far as I know there is just the one instance of python installed: " >>> print sys.path ['', '/usr/lib/python2.4/site-packages/PIL-1.1.7-py2.4-linux-i686.egg', '/usr/lib/python2.4/site-packages/sorl_thumbnail-11.12-py2.4.egg', '/usr/lib/python24

Re: Migrating a Django project to new platform

2012-10-03 Thread Bill Freeman
A bit of generic advice: Be sure that you know which python is running your stuff: mod_wsgi, and IIRC mod_python (if the site really uses it) are bound to a specific python interpreter. It may or may not be the one where you installed sorl-thumbnail. One question is whether the: python mana

Re: Migrating a Django project to new platform

2012-10-03 Thread Cal Leeming [Simplicity Media Ltd]
That's strange, sorl-thumbnail didn't seem to resolve your problem. First thing I'd do is identify the line of code that is causing this import problem (do a search for 'sorl' in your code base). From there, identify some of the function names being called on sorl in your application, and add thos

Migrating a Django project to new platform

2012-10-03 Thread Elliot
Hi all, I would like some help or advice migrating an old Django project to a different platform. Firstly, I am ok-ish with linux (mainly CentOS), and created basic websites, MySQL/PHP/HTML intranets, but know next to nothing about Django or CMS systems in general, so I appreciate that this is