On 10/24/19 4:48 PM, Jamie Bullock wrote:>
In the same directory as that file,
@list: jamie sent me the data off-list
the steps would be:
$ unzip ml.lib.zip $ deken package -v 1.0.3 ml.lib.zip
i guess this last line really reads: $ deken package -v 1.0.3 ml.lib
I then get prompted to enter my passphrase to "unlock the secret key”. On entering the passphrase, 4 files are generated:
ml.lib[v1.0.3].dek.asc ml.lib[v1.0.3].dek.sha256 ml.lib[v1.0.3].dek ml.lib[v1.0.3].dek.txt
weird. it works on Linux with your zip-file. i'll try on OSX.
gfmrdsa IOhannes
On 24 Oct 2019, at 13:22, IOhannes m zmölnig zmoelnig@iem.at wrote:
$ unzip ml.lib.zip $ deken package -v 1.0.3 ml.lib.zip
i guess this last line really reads: $ deken package -v 1.0.3 ml.lib
Sorry, yes, that’s correct.
it works on Linux with your zip-file.
I’ll try Linux too.
i'll try on OSX.
Thanks for looking into this.
Jamie
On 24 Oct 2019, at 13:27, Jamie Bullock jamie@jamiebullock.com wrote:
it works on Linux with your zip-file.
I’ll try Linux too.
OK, I’ve got "deken package” working expected on my Ubuntu 19.10 VM.
However running “deken upload” I get the error below. Upload works fine on macOS however.
Should I add an issue on GitHub for the SSLError, or am I missing some dependency?
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'
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 http://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'