Yesterday I was having some troubles with a database migration download step, and a Joshua Hesketh suggested I step through the migrations one at a time and see what they were doing to my sqlite test database. That’s a great idea, but it wasn’t immediately obvious to me how to do it. Now that I’ve…
Tag: tips
Faster pip installs
Last week with the help of the lovely openstack-infra people, I discovered that you can have a local cache of pip downloads. This speeds up rebuilding test environments when you need to jump between branches with different dependencies. Its as simple as chucking something like: export PIP_DOWNLOAD_CACHE=~/cache/pip …into your .bashrc or equivalent.
Couldn’t determine the video directory?
A couple of people have contacted me in the last couple of days with an error where MythNetTV can’t determine the directory to put videos in. The error would look something like this: Importing data/tekzilla–0050–tehbunniez–hd.h264.mp4 Traceback (most recent call last): File “./mythnettv”, line 453, in main(sys.argv) File “./mythnettv”, line 212, in main mythnettvcore.DownloadAndImport(db, guid, out=out)…