{"id":208,"date":"2016-05-01T02:21:52","date_gmt":"2016-05-01T01:21:52","guid":{"rendered":"http:\/\/blog.powered-up-games.com\/wordpress\/?p=208"},"modified":"2016-05-20T07:46:12","modified_gmt":"2016-05-20T06:46:12","slug":"fixing-paye","status":"publish","type":"post","link":"https:\/\/powered-up-games.com\/blog\/wordpress\/archives\/208","title":{"rendered":"Fixing PAYE"},"content":{"rendered":"<p>Debugging the installation of my HMRC PAYE software wasn&#8217;t something I planned for my Saturday evening. But with the first payment of the new tax year due next week I thought I&#8217;d make a quick submission to get it out of the way before the bank holiday. But the transition to the new year didn&#8217;t go as smoothly as it could have.<br \/>\n<!--more--><br \/>\nThe PC I use for administration of my PAYE software is running a 64 bit Trisquel Linux OS. On running the software it advised me to upgrade. However, after the upgrade, the software failed to open. Fortunately I had a backup, so I wasn&#8217;t overly worried. But I&#8217;d rather get it running again than attempt to restore it from a backup on another machine or OS.<\/p>\n<p>Running the software from the command line produced a long list of django python errors, culminating in:<\/p>\n<p><code> File \"\/home\/teamcity\/BuildAgent\/work\/92574102faf30229\/src-copy\/django\/db\/backends\/sqlite3\/base.py\", line 35, in <module><br \/>\ndjango.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): libsqlite3.so.0: cannot open shared object file: No such file or directory<\/code><\/p>\n<p>It seems that this upgrade of the HMRC software was now relying on a new library. I tried a number of library installations, but nothing seemed to satisfy the program. Then I vaguely recalled having to install some 32 bit library files to get it running initially. So with a little guesswork I was able to identify the missing library and install it:<\/p>\n<p><code>sudo apt-get install libsqlite3-0:i386<\/code><\/p>\n<p>If you use a 64 bit Linux to do your PAYE with HMRC software, and you&#8217;re getting a failure after upgrading, maybe the above will do the trick for you too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debugging the installation of my HMRC PAYE software wasn&#8217;t something I planned for my Saturday evening. But with the first payment of the new tax year due next week I thought I&#8217;d make a quick submission to get it out of the way before the bank holiday. But the transition to the new year didn&#8217;t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6],"tags":[48,51,50,53,45,57,15,47,55,52,46,54,56,49],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry","category-process","category-programming","tag-48","tag-51","tag-50","tag-django","tag-hmrc","tag-improperlyconfigured","tag-linux","tag-paye","tag-pysqlite2","tag-python","tag-rti","tag-sqlite","tag-sqlite3","tag-update"],"_links":{"self":[{"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":3,"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/posts\/208\/revisions\/214"}],"wp:attachment":[{"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/powered-up-games.com\/blog\/wordpress\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}