Author Archives: admin

OSError: [Errno 1] Operation not permitted: Extras/lib/python/six-1.4.1-py2.7.egg-info’

After upgrading some things using homebrew, this error started coming up on a coworker’s machine when he tried to pip install virtualenvwrapper. This error was coming up right before the operation not permitted: Installing collected packages: six Found existing installation: … Continue reading

Posted in Mac OS X, python | Comments Off on OSError: [Errno 1] Operation not permitted: Extras/lib/python/six-1.4.1-py2.7.egg-info’

How to reset lost QNAP iscsi CHAP password

I wanted to change the password for one of my QNAP ISCSI luns, but there really is no way to do that with the current software. Fortunately you can recover your password by using ssh to login to your qnap, … Continue reading

Posted in QNAP | Comments Off on How to reset lost QNAP iscsi CHAP password

ImportError: cannot import name sanitizer when trying to run django

I hope this saves you a couple hours of headaches that I experienced recently. If you get the dreaded error: from html5lib import sanitizer, serializer, treebuilders, treewalkers ImportError: cannot import name sanitizer Never fear. The fix is easy once you … Continue reading

Posted in django, python, Web Programming | Comments Off on ImportError: cannot import name sanitizer when trying to run django

KeyError: ‘en-us’ when doing a reverse() lookup in urls.py

If you’re getting an error like this: … in reverse_dict return self._reverse_dict[language_code] KeyError: ‘en-us’ If your urls.py file contains a reverse() call, that is the reason.  You’re calling reverse before all the urls are loaded and everything is ready.  You … Continue reading

Posted in django, python, Web Programming | Comments Off on KeyError: ‘en-us’ when doing a reverse() lookup in urls.py

How to get rid of winmail.dat attachments when using Office365 and Outlook 2016

Sometimes Outlook 2016 decides to send the body every email as a winmail.dat attachment. This works fine when the person you are sending the email to is using Outlook. But other mail users will get a blank message with a … Continue reading

Posted in Exchange, Office 365 | Comments Off on How to get rid of winmail.dat attachments when using Office365 and Outlook 2016