[Expo-tech] Django status update

Wookey wookey at wookware.org
Wed Jun 26 14:07:58 BST 2019


On 2019-06-26 04:25 +0100, Wookey wrote:
> On 2019-06-25 19:59 +0100, Sam Wenham wrote:
> > 
> > > Now python databaseReset.py reset doesn't give any errors, but it also
> > > seems to not actually be doing anything. Debugging with pdb shows it
> > > never returning from django.setup(). Any bright ideas what do to about this?
> > Django seems to hang and has to be killed.
> 
> OK. As you pointed out, python-django was still 1.10. Not sure how that happened.

Hmm, and same again this morning, at which point I twigged: the apt
unattended-upgrades job intended to install security updates is
helpfully upgrading django back to 'current' every night, because I
forgot to put a 'hold' on the old 1.7 version to keep it there.

Fixed now (with the rather baroque syntax of holds):
echo "python-django hold" | sudo dpkg --set-selections
echo "python-django-common hold" | sudo dpkg --set-selections
echo "python-django-doc hold" | sudo dpkg --set-selections

All this is in my 'recipie' file. I'll copy that onto the server.

Then found another instance of a hardcoded 'all.svx'.

Script is still running...
Maybe we'll get to the end this time...

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.wookware.org/pipermail/expo-tech/attachments/20190626/96d4c269/attachment.sig>


More information about the Expo-tech mailing list