On 24 Oct 2019, at 19:59, Jamie Bullock <jamie@jamiebullock.com> wrote:



However running “deken upload” I get the error below. Upload works fine on macOS however.



OK… I think this was occurring due to a network issue my end. It was a coincidence it worked yesterday on macOS not Linux. Today, I had the same error on macOS and also couldn’t access puredata.info. Switching to a different network (tethered mobile) resolved the problem.

Jamie




Traceback (most recent call last):
 File "/home/jamie/.deken/virtualenv/bin/hy", line 8, in <module>
   sys.exit(hy_main())
 File "/usr/lib/python3.7/runpy.py", line 263, in run_path
   pkg_name=pkg_name, script_name=fname)
 File "/usr/lib/python3.7/runpy.py", line 96, in _run_module_code
   mod_name, mod_spec, pkg_name, script_name)
 File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
   exec(code, run_globals)
 File "/home/jamie/.deken/deken.hy", line 1912, in <module>
   (main)
 File "/home/jamie/.deken/deken.hy", line 1908, in main
   (if command (command arguments) (.print_help arg-parser)))
 File "/home/jamie/.deken/deken.hy", line 1535, in _hy_anon_var_243
   args.no-source-error)))
 File "/home/jamie/.deken/deken.hy", line 1527, in do_upload
   check-sources?))
 File "/home/jamie/.deken/deken.hy", line 1517, in do_upload_username
   check-sources?))
 File "/home/jamie/.deken/deken.hy", line 1078, in upload_packages
   (upload-package pkg destination username password)
 File "/home/jamie/.deken/deken.hy", line 1061, in upload_package
   (upload-file (hash-sum-file pkg) destination username password)
 File "/home/jamie/.deken/deken.hy", line 1053, in upload_file
   (+ proto "://" host)))))
 File "/home/jamie/.deken/deken.hy", line 1023, in do_upload_file
   (dav.mkdirs path)
 File "/home/jamie/.deken/virtualenv/lib/python3.7/site-packages/easywebdav2/client.py", line 150, in mkdirs
   if e.actual_code == 409:
AttributeError: 'SSLError' object has no attribute 'actual_code'