Advertisement
Guest User

Pyupdater loops when a new version arrived when using nssm

a guest
Dec 12th, 2020
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.50 KB | None | 0 0
  1. ...
  2. DEBUG:pyupdater.client:Checking for pyupdaterdemo updates...
  3. DEBUG:pyupdater.client.updates:Stable str: 0.0.22.2.0
  4. DEBUG:dsdev_utils.helpers:Version str: 0.0.22.2.0
  5. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  6. DEBUG:pyupdater.client.updates:Highest version: 0.0.22.2.0
  7. DEBUG:dsdev_utils.helpers:Version str: 0.0.22.2.0
  8. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  9. DEBUG:pyupdater.client:Current version: 0.0.22.2.0
  10. DEBUG:pyupdater.client:Latest version: 0.0.22.2.0
  11. DEBUG:pyupdater.client:Update Needed: False
  12. DEBUG:pyupdater.client:pyupdaterdemo already updated to the latest version
  13. INFO:root:YAY
  14. [INFO] YAY
  15. INFO:root:YAY
  16. [INFO] YAY
  17. INFO:root:YAY
  18. [INFO] YAY
  19. INFO:root:YAY
  20. [INFO] YAY
  21. INFO:root:YAY
  22. [INFO] YAY
  23. INFO:root:YAY
  24. [INFO] YAY
  25. DEBUG:pyupdater.client:Setting up directories...
  26. DEBUG:pyupdater.client:Downloading key file
  27. DEBUG:pyupdater.client.downloader:{}
  28. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/keys.gz
  29. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  30. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /keys.gz HTTP/1.1" 200 178
  31. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/keys.gz
  32. DEBUG:pyupdater.client.downloader:Got content length of: 178
  33. DEBUG:pyupdater.client.downloader:Block size: 354
  34. DEBUG:pyupdater.client.downloader:{'total': 178, 'downloaded': 178, 'status': 'downloading', 'percent_complete': '100.0', 'time': '--:--'}
  35. DEBUG:pyupdater.client.downloader:{'total': 178, 'downloaded': 178, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  36. DEBUG:pyupdater.client.downloader:Download Complete
  37. DEBUG:pyupdater.client.downloader:No hash to verify
  38. DEBUG:pyupdater.client:Key file download successful
  39. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  40. DEBUG:pyupdater.client:Writing keys.gz file to disk
  41. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  42. DEBUG:pyupdater.client:Key file verified
  43. DEBUG:pyupdater.client:Loading version file...
  44. DEBUG:pyupdater.client:Downloading online version file
  45. DEBUG:pyupdater.client.downloader:{}
  46. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/versions-win.gz
  47. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  48. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /versions-win.gz HTTP/1.1" 403 None
  49. DEBUG:pyupdater.client.downloader:Received a non-200 response 403
  50. DEBUG:pyupdater.client.downloader:Could not create resource URL.
  51. DEBUG:pyupdater.client:a bytes-like object is required, not 'NoneType'
  52. Traceback (most recent call last):
  53. File "pyupdater\client\__init__.py", line 443, in _get_manifest_from_http
  54. File "dsdev_utils\helpers.py", line 50, in gzip_decompress
  55. TypeError: a bytes-like object is required, not 'NoneType'
  56. DEBUG:pyupdater.client.downloader:{}
  57. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/versions.gz
  58. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  59. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /versions.gz HTTP/1.1" 200 1291
  60. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/versions.gz
  61. DEBUG:pyupdater.client.downloader:Got content length of: 1291
  62. DEBUG:pyupdater.client.downloader:Block size: 2580
  63. DEBUG:pyupdater.client.downloader:{'total': 1291, 'downloaded': 1291, 'status': 'downloading', 'percent_complete': '100.0', 'time': '--:--'}
  64. DEBUG:pyupdater.client.downloader:{'total': 1291, 'downloaded': 1291, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  65. DEBUG:pyupdater.client.downloader:Download Complete
  66. DEBUG:pyupdater.client.downloader:No hash to verify
  67. DEBUG:pyupdater.client:Version file download successful
  68. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  69. DEBUG:pyupdater.client:Writing versions.gz file to disk
  70. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  71. DEBUG:pyupdater.client:Data type: <class 'bytes'>
  72. DEBUG:pyupdater.client:Deleting signature from update data
  73. DEBUG:pyupdater.client:Version file verified
  74. DEBUG:dsdev_utils.helpers:Version str: 0.0.22
  75. DEBUG:pyupdater.client:Checking for pyupdaterdemo updates...
  76. DEBUG:pyupdater.client.updates:Stable str: 0.0.23.2.0
  77. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  78. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  79. DEBUG:pyupdater.client.updates:Highest version: 0.0.23.2.0
  80. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  81. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  82. DEBUG:pyupdater.client:Current version: 0.0.22.2.0
  83. DEBUG:pyupdater.client:Latest version: 0.0.23.2.0
  84. DEBUG:pyupdater.client:Update Needed: True
  85. DEBUG:pyupdater.client.updates:Stable str: 0.0.23.2.0
  86. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  87. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  88. DEBUG:pyupdater.client.updates:Highest version: 0.0.23.2.0
  89. DEBUG:pyupdater.client.updates:Filename for pyupdaterdemo-0.0.22.2.0: pyupdaterdemo-win-0.0.22.zip
  90. DEBUG:pyupdater.client.updates:Filename for pyupdaterdemo-0.0.23.2.0: pyupdaterdemo-win-0.0.23.zip
  91. DEBUG:pyupdater.client.updates:Beginning removal of old updates
  92. DEBUG:pyupdater.core.package_handler.package:In remove_previous_versions
  93. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  94. DEBUG:pyupdater.core.package_handler.package:Filename: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip
  95. DEBUG:pyupdater.core.package_handler.package:Directory: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  96. DEBUG:pyupdater.client.updates:File does not exist
  97. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  98. DEBUG:pyupdater.core.package_handler.package:C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip does not exist
  99. DEBUG:pyupdater.client.updates:Starting patch download
  100. DEBUG:pyupdater.core.package_handler.package:Not an archive format: None - C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip does not exist
  101. DEBUG:pyupdater.client.updates:Starting patch update
  102. DEBUG:pyupdater.client.updates:pyupdaterdemo-win-0.0.22.zip got deleted. No base binary to start patching form
  103. DEBUG:pyupdater.client.updates:Patch update failed
  104. DEBUG:pyupdater.client.updates:Starting full download
  105. DEBUG:pyupdater.client.updates:Starting full update
  106. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  107. DEBUG:pyupdater.client.updates:Downloading update...
  108. DEBUG:pyupdater.client.downloader:{}
  109. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/pyupdaterdemo-win-0.0.23.zip
  110. DEBUG:urllib3.util.retry:Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=0, status=None)
  111. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  112. INFO:root:YAY
  113. [INFO] YAY
  114. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /pyupdaterdemo-win-0.0.23.zip HTTP/1.1" 200 11615481
  115. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/pyupdaterdemo-win-0.0.23.zip
  116. DEBUG:pyupdater.client.downloader:Got content length of: 11615481
  117. DEBUG:pyupdater.client.downloader:Block size: 32768
  118. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 16385, 'status': 'downloading', 'percent_complete': '0.1', 'time': '00:01'}
  119. DEBUG:pyupdater.client.downloader:Block size: 65536
  120. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 49153, 'status': 'downloading', 'percent_complete': '0.4', 'time': '00:53'}
  121. DEBUG:pyupdater.client.downloader:Block size: 131072
  122. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 114689, 'status': 'downloading', 'percent_complete': '1.0', 'time': '00:23'}
  123. DEBUG:pyupdater.client.downloader:Block size: 262144
  124. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 245761, 'status': 'downloading', 'percent_complete': '2.1', 'time': '00:16'}
  125. DEBUG:pyupdater.client.downloader:Block size: 524288
  126. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 507905, 'status': 'downloading', 'percent_complete': '4.4', 'time': '00:10'}
  127. DEBUG:pyupdater.client.downloader:Block size: 1048576
  128. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 1032193, 'status': 'downloading', 'percent_complete': '8.9', 'time': '00:07'}
  129. DEBUG:pyupdater.client.downloader:Block size: 2097152
  130. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 2080769, 'status': 'downloading', 'percent_complete': '17.9', 'time': '00:03'}
  131. DEBUG:pyupdater.client.downloader:Block size: 4194304
  132. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 4177921, 'status': 'downloading', 'percent_complete': '36.0', 'time': '00:02'}
  133. DEBUG:pyupdater.client.downloader:Block size: 4194304
  134. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 8372225, 'status': 'downloading', 'percent_complete': '72.1', 'time': '00:00'}
  135. DEBUG:pyupdater.client.downloader:Block size: 4194304
  136. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 11615481, 'status': 'downloading', 'percent_complete': '100.0', 'time': '00:00'}
  137. DEBUG:pyupdater.client.downloader:{'total': 11615481, 'downloaded': 11615481, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  138. DEBUG:pyupdater.client.downloader:Download Complete
  139. DEBUG:pyupdater.client.downloader:Checking file hash
  140. DEBUG:pyupdater.client.downloader:Update hash: 1630bca40277a4854bd86ac4b66b8cecbf8ccd8251db93a53f8071bc680bd791
  141. DEBUG:pyupdater.client.downloader:File hash verified
  142. DEBUG:pyupdater.client.updates:Download Complete
  143. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  144. DEBUG:pyupdater.client.updates:Full download successful
  145. INFO:root:YAY
  146. [INFO] YAY
  147. INFO:root:YAY
  148. [INFO] YAY
  149. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  150. DEBUG:pyupdater.client.downloader:Hash for binary data: 1630bca40277a4854bd86ac4b66b8cecbf8ccd8251db93a53f8071bc680bd791
  151. DEBUG:pyupdater.client.updates:Extracting Update
  152. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  153. DEBUG:pyupdater.client.updates:Current App: C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22\pyupdaterdemo.exe
  154. DEBUG:pyupdater.client.updates:Restart script dir: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  155. DEBUG:pyupdater.client.updates:Update path: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo.exe
  156. DEBUG:pyupdater.client.updates:Admin required to update=False
  157. DEBUG:pyupdater.client.updates:Starting update batch file
  158. DEBUG:root:Version - 3.1.1
  159. DEBUG:pyupdater.client:PyUpdater Version 3.1.1
  160. DEBUG:pyupdater.client:Setting up directories...
  161. DEBUG:pyupdater.client:Downloading key file
  162. DEBUG:pyupdater.client.downloader:{}
  163. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/keys.gz
  164. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  165. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /keys.gz HTTP/1.1" 200 178
  166. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/keys.gz
  167. DEBUG:pyupdater.client.downloader:Got content length of: 178
  168. DEBUG:pyupdater.client.downloader:Block size: 354
  169. DEBUG:pyupdater.client.downloader:{'total': 178, 'downloaded': 178, 'status': 'downloading', 'percent_complete': '100.0', 'time': '--:--'}
  170. DEBUG:pyupdater.client.downloader:{'total': 178, 'downloaded': 178, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  171. DEBUG:pyupdater.client.downloader:Download Complete
  172. DEBUG:pyupdater.client.downloader:No hash to verify
  173. DEBUG:pyupdater.client:Key file download successful
  174. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  175. DEBUG:pyupdater.client:Writing keys.gz file to disk
  176. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  177. DEBUG:pyupdater.client:Key file verified
  178. DEBUG:pyupdater.client:Loading version file...
  179. DEBUG:pyupdater.client:Downloading online version file
  180. DEBUG:pyupdater.client.downloader:{}
  181. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/versions-win.gz
  182. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  183. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /versions-win.gz HTTP/1.1" 403 None
  184. DEBUG:pyupdater.client.downloader:Received a non-200 response 403
  185. DEBUG:pyupdater.client.downloader:Could not create resource URL.
  186. DEBUG:pyupdater.client:a bytes-like object is required, not 'NoneType'
  187. Traceback (most recent call last):
  188. File "pyupdater\client\__init__.py", line 443, in _get_manifest_from_http
  189. File "dsdev_utils\helpers.py", line 50, in gzip_decompress
  190. TypeError: a bytes-like object is required, not 'NoneType'
  191. DEBUG:pyupdater.client.downloader:{}
  192. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/versions.gz
  193. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  194. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /versions.gz HTTP/1.1" 200 1291
  195. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/versions.gz
  196. DEBUG:pyupdater.client.downloader:Got content length of: 1291
  197. DEBUG:pyupdater.client.downloader:Block size: 2580
  198. DEBUG:pyupdater.client.downloader:{'total': 1291, 'downloaded': 1291, 'status': 'downloading', 'percent_complete': '100.0', 'time': '--:--'}
  199. DEBUG:pyupdater.client.downloader:{'total': 1291, 'downloaded': 1291, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  200. DEBUG:pyupdater.client.downloader:Download Complete
  201. DEBUG:pyupdater.client.downloader:No hash to verify
  202. DEBUG:pyupdater.client:Version file download successful
  203. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  204. DEBUG:pyupdater.client:Writing versions.gz file to disk
  205. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  206. DEBUG:pyupdater.client:Data type: <class 'bytes'>
  207. DEBUG:pyupdater.client:Deleting signature from update data
  208. DEBUG:pyupdater.client:Version file verified
  209. DEBUG:dsdev_utils.helpers:Version str: 0.0.22
  210. DEBUG:pyupdater.client:Checking for pyupdaterdemo updates...
  211. DEBUG:pyupdater.client.updates:Stable str: 0.0.23.2.0
  212. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  213. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  214. DEBUG:pyupdater.client.updates:Highest version: 0.0.23.2.0
  215. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  216. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  217. DEBUG:pyupdater.client:Current version: 0.0.22.2.0
  218. DEBUG:pyupdater.client:Latest version: 0.0.23.2.0
  219. DEBUG:pyupdater.client:Update Needed: True
  220. DEBUG:pyupdater.client.updates:Stable str: 0.0.23.2.0
  221. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  222. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  223. DEBUG:pyupdater.client.updates:Highest version: 0.0.23.2.0
  224. DEBUG:pyupdater.client.updates:Filename for pyupdaterdemo-0.0.22.2.0: pyupdaterdemo-win-0.0.22.zip
  225. DEBUG:pyupdater.client.updates:Filename for pyupdaterdemo-0.0.23.2.0: pyupdaterdemo-win-0.0.23.zip
  226. DEBUG:pyupdater.client.updates:Beginning removal of old updates
  227. DEBUG:pyupdater.core.package_handler.package:In remove_previous_versions
  228. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  229. DEBUG:pyupdater.core.package_handler.package:Filename: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip
  230. DEBUG:pyupdater.core.package_handler.package:Directory: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  231. DEBUG:pyupdater.core.package_handler.package:C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip does not exist
  232. DEBUG:pyupdater.core.package_handler.package:Not an archive format: None - C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip does not exist
  233. DEBUG:pyupdater.client.downloader:Hash for binary data: 1630bca40277a4854bd86ac4b66b8cecbf8ccd8251db93a53f8071bc680bd791
  234. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  235. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  236. DEBUG:pyupdater.client.downloader:Hash for binary data: 1630bca40277a4854bd86ac4b66b8cecbf8ccd8251db93a53f8071bc680bd791
  237. DEBUG:pyupdater.client.updates:Extracting Update
  238. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  239. DEBUG:pyupdater.client.updates:Current App: C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22\pyupdaterdemo.exe
  240. DEBUG:pyupdater.client.updates:Restart script dir: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  241. DEBUG:pyupdater.client.updates:Update path: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo.exe
  242. DEBUG:pyupdater.client.updates:Admin required to update=False
  243. DEBUG:pyupdater.client.updates:Starting update batch file
  244. DEBUG:root:Version - 3.1.1
  245. DEBUG:pyupdater.client:PyUpdater Version 3.1.1
  246. DEBUG:pyupdater.client:Setting up directories...
  247. DEBUG:pyupdater.client:Downloading key file
  248. DEBUG:pyupdater.client.downloader:{}
  249. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/keys.gz
  250. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  251. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /keys.gz HTTP/1.1" 200 178
  252. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/keys.gz
  253. DEBUG:pyupdater.client.downloader:Got content length of: 178
  254. DEBUG:pyupdater.client.downloader:Block size: 354
  255. DEBUG:pyupdater.client.downloader:{'total': 178, 'downloaded': 178, 'status': 'downloading', 'percent_complete': '100.0', 'time': '--:--'}
  256. DEBUG:pyupdater.client.downloader:{'total': 178, 'downloaded': 178, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  257. DEBUG:pyupdater.client.downloader:Download Complete
  258. DEBUG:pyupdater.client.downloader:No hash to verify
  259. DEBUG:pyupdater.client:Key file download successful
  260. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  261. DEBUG:pyupdater.client:Writing keys.gz file to disk
  262. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  263. DEBUG:pyupdater.client:Key file verified
  264. DEBUG:pyupdater.client:Loading version file...
  265. DEBUG:pyupdater.client:Downloading online version file
  266. DEBUG:pyupdater.client.downloader:{}
  267. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/versions-win.gz
  268. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  269. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /versions-win.gz HTTP/1.1" 403 None
  270. DEBUG:pyupdater.client.downloader:Received a non-200 response 403
  271. DEBUG:pyupdater.client.downloader:Could not create resource URL.
  272. DEBUG:pyupdater.client:a bytes-like object is required, not 'NoneType'
  273. Traceback (most recent call last):
  274. File "pyupdater\client\__init__.py", line 443, in _get_manifest_from_http
  275. File "dsdev_utils\helpers.py", line 50, in gzip_decompress
  276. TypeError: a bytes-like object is required, not 'NoneType'
  277. DEBUG:pyupdater.client.downloader:{}
  278. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/versions.gz
  279. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  280. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /versions.gz HTTP/1.1" 200 1291
  281. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/versions.gz
  282. DEBUG:pyupdater.client.downloader:Got content length of: 1291
  283. DEBUG:pyupdater.client.downloader:Block size: 2580
  284. DEBUG:pyupdater.client.downloader:{'total': 1291, 'downloaded': 1291, 'status': 'downloading', 'percent_complete': '100.0', 'time': '--:--'}
  285. DEBUG:pyupdater.client.downloader:{'total': 1291, 'downloaded': 1291, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  286. DEBUG:pyupdater.client.downloader:Download Complete
  287. DEBUG:pyupdater.client.downloader:No hash to verify
  288. DEBUG:pyupdater.client:Version file download successful
  289. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  290. DEBUG:pyupdater.client:Writing versions.gz file to disk
  291. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  292. DEBUG:pyupdater.client:Data type: <class 'bytes'>
  293. DEBUG:pyupdater.client:Deleting signature from update data
  294. DEBUG:pyupdater.client:Version file verified
  295. DEBUG:dsdev_utils.helpers:Version str: 0.0.22
  296. DEBUG:pyupdater.client:Checking for pyupdaterdemo updates...
  297. DEBUG:pyupdater.client.updates:Stable str: 0.0.23.2.0
  298. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  299. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  300. DEBUG:pyupdater.client.updates:Highest version: 0.0.23.2.0
  301. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  302. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  303. DEBUG:pyupdater.client:Current version: 0.0.22.2.0
  304. DEBUG:pyupdater.client:Latest version: 0.0.23.2.0
  305. DEBUG:pyupdater.client:Update Needed: True
  306. DEBUG:pyupdater.client.updates:Stable str: 0.0.23.2.0
  307. DEBUG:dsdev_utils.helpers:Version str: 0.0.23.2.0
  308. DEBUG:dsdev_utils.helpers:Setting release as stable. Disregard if not prerelease
  309. DEBUG:pyupdater.client.updates:Highest version: 0.0.23.2.0
  310. DEBUG:pyupdater.client.updates:Filename for pyupdaterdemo-0.0.22.2.0: pyupdaterdemo-win-0.0.22.zip
  311. DEBUG:pyupdater.client.updates:Filename for pyupdaterdemo-0.0.23.2.0: pyupdaterdemo-win-0.0.23.zip
  312. DEBUG:pyupdater.client.updates:Beginning removal of old updates
  313. DEBUG:pyupdater.core.package_handler.package:In remove_previous_versions
  314. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  315. DEBUG:pyupdater.core.package_handler.package:Filename: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip
  316. DEBUG:pyupdater.core.package_handler.package:Directory: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  317. DEBUG:pyupdater.core.package_handler.package:C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip does not exist
  318. DEBUG:pyupdater.core.package_handler.package:Not an archive format: None - C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo-win-0.0.22.zip does not exist
  319. DEBUG:pyupdater.client.downloader:Hash for binary data: 1630bca40277a4854bd86ac4b66b8cecbf8ccd8251db93a53f8071bc680bd791
  320. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  321. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update
  322. DEBUG:pyupdater.client.downloader:Hash for binary data: 1630bca40277a4854bd86ac4b66b8cecbf8ccd8251db93a53f8071bc680bd791
  323. DEBUG:pyupdater.client.updates:Extracting Update
  324. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  325. DEBUG:pyupdater.client.updates:Current App: C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22\pyupdaterdemo.exe
  326. DEBUG:pyupdater.client.updates:Restart script dir: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  327. DEBUG:pyupdater.client.updates:Update path: C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo\update\pyupdaterdemo.exe
  328. DEBUG:pyupdater.client.updates:Admin required to update=False
  329. DEBUG:pyupdater.client.updates:Starting update batch file
  330. DEBUG:root:Version - 3.1.1
  331. DEBUG:pyupdater.client:PyUpdater Version 3.1.1
  332. DEBUG:pyupdater.client:Setting up directories...
  333. DEBUG:pyupdater.client:Downloading key file
  334. DEBUG:pyupdater.client.downloader:{}
  335. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/keys.gz
  336. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  337. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /keys.gz HTTP/1.1" 200 178
  338. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/keys.gz
  339. DEBUG:pyupdater.client.downloader:Got content length of: 178
  340. DEBUG:pyupdater.client.downloader:Block size: 354
  341. DEBUG:pyupdater.client.downloader:{'total': 178, 'downloaded': 178, 'status': 'downloading', 'percent_complete': '100.0', 'time': '--:--'}
  342. DEBUG:pyupdater.client.downloader:{'total': 178, 'downloaded': 178, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  343. DEBUG:pyupdater.client.downloader:Download Complete
  344. DEBUG:pyupdater.client.downloader:No hash to verify
  345. DEBUG:pyupdater.client:Key file download successful
  346. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  347. DEBUG:pyupdater.client:Writing keys.gz file to disk
  348. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  349. DEBUG:pyupdater.client:Key file verified
  350. DEBUG:pyupdater.client:Loading version file...
  351. DEBUG:pyupdater.client:Downloading online version file
  352. DEBUG:pyupdater.client.downloader:{}
  353. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/versions-win.gz
  354. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  355. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /versions-win.gz HTTP/1.1" 403 None
  356. DEBUG:pyupdater.client.downloader:Received a non-200 response 403
  357. DEBUG:pyupdater.client.downloader:Could not create resource URL.
  358. DEBUG:pyupdater.client:a bytes-like object is required, not 'NoneType'
  359. Traceback (most recent call last):
  360. File "pyupdater\client\__init__.py", line 443, in _get_manifest_from_http
  361. File "dsdev_utils\helpers.py", line 50, in gzip_decompress
  362. TypeError: a bytes-like object is required, not 'NoneType'
  363. DEBUG:pyupdater.client.downloader:{}
  364. DEBUG:pyupdater.client.downloader:Url for request: https://pyupdater-demo.s3.amazonaws.com/versions.gz
  365. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pyupdater-demo.s3.amazonaws.com:443
  366. DEBUG:urllib3.connectionpool:https://pyupdater-demo.s3.amazonaws.com:443 "GET /versions.gz HTTP/1.1" 200 1291
  367. DEBUG:pyupdater.client.downloader:Resource URL: https://pyupdater-demo.s3.amazonaws.com/versions.gz
  368. DEBUG:pyupdater.client.downloader:Got content length of: 1291
  369. DEBUG:pyupdater.client.downloader:Block size: 2580
  370. DEBUG:pyupdater.client.downloader:{'total': 1291, 'downloaded': 1291, 'status': 'downloading', 'percent_complete': '100.0', 'time': '--:--'}
  371. DEBUG:pyupdater.client.downloader:{'total': 1291, 'downloaded': 1291, 'status': 'finished', 'percent_complete': '100.0', 'time': '00:00'}
  372. DEBUG:pyupdater.client.downloader:Download Complete
  373. DEBUG:pyupdater.client.downloader:No hash to verify
  374. DEBUG:pyupdater.client:Version file download successful
  375. DEBUG:dsdev_utils.paths:Changing to Directory --> C:\Windows\system32\config\systemprofile\AppData\Local\spd\pyupdaterdemo
  376. DEBUG:pyupdater.client:Writing versions.gz file to disk
  377. DEBUG:dsdev_utils.paths:Moving back to Directory --> C:\Users\ihord\workspace\pyupdater-demo\pyu-data\files\pyupdaterdemo-win-0.0.22
  378. DEBUG:pyupdater.client:Data type: <class 'bytes'>
  379. DEBUG:pyupdater.client:Deleting signature from update data
  380. DEBUG:pyupdater.client:Version file verified
  381. DEBUG:dsdev_utils.helpers:Version str: 0.0.22
  382. DEBUG:pyupdater.client:Checking for pyupdaterdemo updates...
  383. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement