I did think of that possibility earlier :-(
$ which python
/usr/bin/python
One reasonably odd thing is the site packages folder is a little
different to where I'd normally find it
$ python -c "from distutils.sysconfig import get_python_lib; print
get_python_lib()"
/usr/lib/python2.6/dist-packages
That dist-packages folder has the fact.pth file in it, as well as all
the other python modules that are working correctly.
Thanks for trying though, I will find the problem, eventually :-)
On Sep 1, 2:00 pm, Reinout van Rees <rein...@vanrees.org> wrote:
> On 01-09-11 14:42, vanderkerkoff wrote:
>
>
>
>
>
>
>
>
>
> > Here's what that shell script looks like
>
> > #!/bin/bash
> > /usr/bin/python /var/www/django/django_projects/scripts/
> > update_feeds.py --settings=fact.settings_computing
>
> > I've got a fact.pth file in my site-packages folder for python(fact is
> > the name of the django application, with multiple settings files),
> > looks like this
>
> > /var/www/django/django_projects
>
> > The fact folder sits in that folder
>
> > I've pasted in a copy of update_feeds.py that we've been using for
> > over 5 years now. At some point in the last 2 months it's stopped
> > working.
>
> Perhaps two months ago an OS update also updated the python version? So
> that the default /usr/bin/python isn't the same anymore as the version
> with the fact.pth in its site-packages folder?
>
> Reinout
>
> --
> Reinout van Rees http://reinout.vanrees.org/
> rein...@vanrees.org http://www.nelen-schuurmans.nl/
> "If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment