{"action":"created","issue":{"url":"https://api.github.com/repos/snappy46/Pivos-Firmware-Install-Addon/issues/3","labels_url":"https://api.github.com/repos/snappy46/Pivos-Firmware-Install-Addon/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/snappy46/Pivos-Firmware-Install-Addon/issues/3/comments","events_url":"https://api.github.com/repos/snappy46/Pivos-Firmware-Install-Addon/issues/3/events","html_url":"https://github.com/snappy46/Pivos-Firmware-Install-Addon/issues/3","id":127476774,"number":3,"title":"Problems on M1","user":{"login":"dc361","id":7760457,"avatar_url":"https://avatars.githubusercontent.com/u/7760457?v=3","gravatar_id":"","url":"https://api.github.com/users/dc361","html_url":"https://github.com/dc361","followers_url":"https://api.github.com/users/dc361/followers","following_url":"https://api.github.com/users/dc361/following{/other_user}","gists_url":"https://api.github.com/users/dc361/gists{/gist_id}","starred_url":"https://api.github.com/users/dc361/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dc361/subscriptions","organizations_url":"https://api.github.com/users/dc361/orgs","repos_url":"https://api.github.com/users/dc361/repos","events_url":"https://api.github.com/users/dc361/events{/privacy}","received_events_url":"https://api.github.com/users/dc361/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-19T15:54:58Z","updated_at":"2016-01-21T04:16:45Z","closed_at":null,"body":"Hi Snappy46 - Thanks for the addon!\r\n\r\nI have a couple of M1 units here so I backed one up this morning and was going to put the addon to the test.    I installed the latest version (1.1.0) which you uploaded on 2016-01-18.   I configured the addon to select the M1 and noticed that it had pre-selected SDCard as a destination so I did not change this value before hitting \"OK\".   \r\n\r\nWhen I ran the addon I was prompted for the version to use and then the script threw an error and said to check the log file for more details.   The log file shows:\r\n\r\n11:19:09 T:1350808608   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--\r\n                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\n                                            Error Type: <type 'exceptions.IOError'>\r\n                                            Error Contents: (30, 'Read-only file system', '/update.img')\r\n                                            Traceback (most recent call last):\r\n                                          \r\nAs you can see the script was trying to write update.img to the root directory.   When I noticed this I went back into configuration for the app and manually selected the location of SDCard which then allows the script to get a bit further (starting to download the image from PIVOS) and then throws another error:\r\n\r\n11:49:11 T:1316369440   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--\r\n                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\n                                            Error Type: <type 'exceptions.IOError'>\r\n                                            Error Contents: (28, 'No space left on device')\r\n                                            Traceback (most recent call last):\r\n                                              File \"/root/.kodi/addons/script.module.firmware.update/main.py\", line 215, in <module>\r\n                                                firmwareUpdate(firmwareArray[ret])\r\n                                              File \"/root/.kodi/addons/script.module.firmware.update/main.py\", line 179, in firmwareUpdate\r\n                                                DownloaderClass(linkArray[ret], downloadFile)\r\n                                              File \"/root/.kodi/addons/script.module.firmware.update/main.py\", line 80, in DownloaderClass\r\n                                                urllib.urlretrieve(url, dest, lambda nb, bs, fs, url=url: _pbhook(nb, bs, fs, url, dp))\r\n                                              File \"/usr/lib/python2.7/urllib.py\", line 94, in urlretrieve\r\n                                              File \"/usr/lib/python2.7/urllib.py\", line 272, in retrieve\r\n                                            IOError: (28, 'No space left on device')\r\n                                            -->End of Python script error report<--\r\n\r\nThe retrieve code seems to be storing the image to /recovery and not /media/sdcard and the recovery partition on an M1 is only 64MB:\r\n\r\n/dev/mtdblock3           63.9M     63.6M    332.0K  99% /recovery\r\ntmpfs                   179.7M      6.0M    173.7M   3% /media\r\ntmpfs                   179.7M      6.0M    173.7M   3% /etc\r\n/dev/cardblksd1          14.6G      3.2G     11.4G  22% /media/sdcard\r\n\r\nTo recover I have to remove the partial image from /recovery and reboot into recovery to clear the cache..\r\n\r\nLet me know if you require further information or testing (dc1 on the pivos forum)"},"comment":{"url":"https://api.github.com/repos/snappy46/Pivos-Firmware-Install-Addon/issues/comments/173446659","html_url":"https://github.com/snappy46/Pivos-Firmware-Install-Addon/issues/3#issuecomment-173446659","issue_url":"https://api.github.com/repos/snappy46/Pivos-Firmware-Install-Addon/issues/3","id":173446659,"user":{"login":"snappy46","id":4042593,"avatar_url":"https://avatars.githubusercontent.com/u/4042593?v=3","gravatar_id":"","url":"https://api.github.com/users/snappy46","html_url":"https://github.com/snappy46","followers_url":"https://api.github.com/users/snappy46/followers","following_url":"https://api.github.com/users/snappy46/following{/other_user}","gists_url":"https://api.github.com/users/snappy46/gists{/gist_id}","starred_url":"https://api.github.com/users/snappy46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snappy46/subscriptions","organizations_url":"https://api.github.com/users/snappy46/orgs","repos_url":"https://api.github.com/users/snappy46/repos","events_url":"https://api.github.com/users/snappy46/events{/privacy}","received_events_url":"https://api.github.com/users/snappy46/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T04:16:45Z","updated_at":"2016-01-21T04:16:45Z","body":"Fix done should work ok on the DS M1 now ... well hopefully.  I will close issue once you confirm that latest version works fine.   Simply add +1 for the DS M1 storage location selection; since no cache is available."}}