Hello,
Is there a way or some future strategy for installing bunches of newest externals with deken like it would be done using command line ?
Am 26. November 2022 10:53:28 MEZ schrieb Patko nytkophilus colet.patrice@gmail.com:
Hello,
Is there a way or some future strategy for installing bunches of newest externals with deken like it would be done using command line ?
Could you explain what you want to do and how it relates to "the commandline". It seems there are too many implicit assumptions in your very terse description.
You also might want to check the deken issue tracker:
https://github.com/pure-data/deken/issues
mfg.sfg.jfd IOhannes
Deken command line is what I am looking for. I want to manage installation of PureData externals with a bash script, ideally from an external list, like it would be done with apt, or by the use of a meta package.
Le 26 nov. 2022 à 11:25, IOhannes m zmölnig zmoelnig@iem.at a écrit :
Am 26. November 2022 10:53:28 MEZ schrieb Patko nytkophilus colet.patrice@gmail.com:
Hello,
Is there a way or some future strategy for installing bunches of newest externals with deken like it would be done using command line ?
Could you explain what you want to do and how it relates to "the commandline". It seems there are too many implicit assumptions in your very terse description.
You also might want to check the deken issue tracker:
https://github.com/pure-data/deken/issues
mfg.sfg.jfd IOhannes
On 11/27/22 13:34, Patco wrote:
Deken command line is what I am looking for. I want to manage installation of PureData externals with a bash script, ideally from an external list, like it would be done with apt, or by the use of a meta package.
so can we consider your question as resolved?
gamsd IOhannes
Le 27 nov. 2022 à 21:54, IOhannes m zmölnig zmoelnig@iem.at a écrit :
On 11/27/22 13:34, Patco wrote:
Deken command line is what I am looking for. I want to manage installation of PureData externals with a bash script, ideally from an external list, like it would be done with apt, or by the use of a meta package.
so can we consider your question as resolved?
Yes, thanks for the hint, but actually this doesn’t work:
% deken install gge maxlib zexy Downloading 'http://puredata.info/Members/fjkraan/software/maxlib/1.5.8/maxlib%5Bv1.5.8%5...' failed with '404' Downloading 'http://puredata.info/Members/zmoelnigbot/software/zexy/2.4.1/zexy%5Bv2.4.1%5...' failed with ‘404'
It works when I install using PureData interface.
On 11/27/22 22:28, Patco wrote:
Yes, thanks for the hint, but actually this doesn’t work:
% deken install gge maxlib zexy Downloading 'http://puredata.info/Members/fjkraan/software/maxlib/1.5.8/maxlib%5Bv1.5.8%5...' failed with '404' Downloading 'http://puredata.info/Members/zmoelnigbot/software/zexy/2.4.1/zexy%5Bv2.4.1%5...' failed with ‘404'
It works when I install using PureData interface.
that's because cmdline command interface is stricter when it comes to requirements. e.g. it tries hard to verify gpg-signatures (something the cmdline interface doesn't even attempt to do). you can ignore missing GPG signatures with the "--ignore-missing-gpg" cmdline flag.
the 'deken' cmdline utility has plenty of flags to tune its behaviour, which you can query with "--help". also note that each subcommand has their own flags, so you might try something like:
deken install --help
mfdsar IOhannes
PS: i just tried to actually reproduce your error, and even without specifying the "--ignore-missing-gpg" it downloads and installs the files just fine, even though it cannot download the .asc signature. are you sure that the installation is failing, or are you just seeing a "failed" string and concluding that things are going wrong from there? PPS: there actually seems to be an issue with 'deken', as it succeeds to install, even if i explicitely tell it to *not* ignore the missing GPG signature... but that's a different story.
On 11/27/22 23:19, IOhannes m zmölnig wrote:
that's because cmdline command interface is stricter when it comes to requirements. e.g. it tries hard to verify gpg-signatures (something the cmdline interface doesn't even attempt to do).
these confusing sentences should read:
that's because the deken cmdline interface is stricter when it comes to requirements. e.g. it tries hard to verify gpg-signatures (something the deken-plugin (as shipped with Pd) doesn't even attempt to do).
sorry for the confusion.
gfmdsa IOhannes
The install didn’t work at all, it was not only a failed string.
I tried the "--ignore-missing-gpg" flag and now deken seems broken, it doesn’t work in PureData interface anymore
Using Pd 0.52.2
% deken install --ignore-missing-gpg maxlib gem Traceback (most recent call last): File "pydeken.py", line 140, in <module> File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165c0000gn/T/_MEIBuSGy1/deken.hy", line 2166, in main (if command (command arguments) (.print_help arg-parser))) File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165c0000gn/T/_MEIBuSGy1/deken.hy", line 1745, in _hy_anon_var_113 (download-verified File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165c0000gn/T/_MEIBuSGy1/deken.hy", line 1565, in download_verified (lfor x (find-packages searchterms File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165c0000gn/T/_MEIBuSGy1/deken.hy", line 1409, in find_packages (lfor x (search (or searchurl default-searchurl) TypeError: 'NoneType' object is not iterable [60585] Failed to execute script 'pydeken' due to unhandled exception!
% python3 --version Python 3.10.7
% deken --version 0.9.2
% deken --debug install maxlib Traceback (most recent call last): File "pydeken.py", line 140, in <module> File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165c0000gn/T/_MEITCxxt0/deken.hy", line 2166, in main (if command (command arguments) (.print_help arg-parser))) File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165c0000gn/T/_MEITCxxt0/deken.hy", line 1745, in _hy_anon_var_113 (download-verified File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165c0000gn/T/_MEITCxxt0/deken.hy", line 1565, in download_verified (lfor x (find-packages searchterms File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165c0000gn/T/_MEITCxxt0/deken.hy", line 1409, in find_packages (lfor x (search (or searchurl default-searchurl) TypeError: 'NoneType' object is not iterable [61502] Failed to execute script 'pydeken' due to unhandled exception!
% deken shell
usage: deken [-h] [-v] [-q] [--debug] [--no-debug] [--version] [--platform]
{package,upload,find,download,verify,install,uninstall,systeminfo,systemfix} ...
deken: error: argument {package,upload,find,download,verify,install,uninstall,systeminfo,systemfix}: invalid choice: 'shell' (choose from 'package', 'upload', 'find', 'search', 'verify', 'download', 'install', 'uninstall', 'upgrade', 'update', 'systeminfo', 'systemfix')
% deken --platform
Darwin-amd64-32
% uname -a Darwin MacBook-Air-de-patrice-5.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:46 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T8101 arm64
I will try again after reinstalling PureData with newer version...
Le 27 nov. 2022 à 23:19, IOhannes m zmölnig zmoelnig@iem.at a écrit :
On 11/27/22 22:28, Patco wrote:
Yes, thanks for the hint, but actually this doesn’t work: % deken install gge maxlib zexy Downloading 'http://puredata.info/Members/fjkraan/software/maxlib/1.5.8/maxlib%5Bv1.5.8%5...' failed with '404' Downloading 'http://puredata.info/Members/zmoelnigbot/software/zexy/2.4.1/zexy%5Bv2.4.1%5...' failed with ‘404' It works when I install using PureData interface.
that's because cmdline command interface is stricter when it comes to requirements. e.g. it tries hard to verify gpg-signatures (something the cmdline interface doesn't even attempt to do). you can ignore missing GPG signatures with the "--ignore-missing-gpg" cmdline flag.
the 'deken' cmdline utility has plenty of flags to tune its behaviour, which you can query with "--help". also note that each subcommand has their own flags, so you might try something like:
deken install --help
mfdsar IOhannes
PS: i just tried to actually reproduce your error, and even without specifying the "--ignore-missing-gpg" it downloads and installs the files just fine, even though it cannot download the .asc signature. are you sure that the installation is failing, or are you just seeing a "failed" string and concluding that things are going wrong from there? PPS: there actually seems to be an issue with 'deken', as it succeeds to install, even if i explicitely tell it to *not* ignore the missing GPG signature... but that's a different story. _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I’ve just realized that files were downloaded and installed into /Users/patricecolet/Library/Pd/
This path is hardly accessible with finder that’s why I didn’t figure it out, I should have used —install-path.
I’ve also went into problems by trying to use the deken binary from git repository.
Deken works good on m1 when it’s installed with docker.
We can consider to close this question :-D.
Le 28 nov. 2022 à 14:40, Patco colet.patrice@gmail.com a écrit :
The install didn’t work at all, it was not only a failed string.
Le 27 nov. 2022 à 23:19, IOhannes m zmölnig <zmoelnig@iem.at mailto:zmoelnig@iem.at> a écrit :
PS: i just tried to actually reproduce your error, and even without specifying the "--ignore-missing-gpg" it downloads and installs the files just fine, even though it cannot download the .asc signature. are you sure that the installation is failing, or are you just seeing a "failed" string and concluding that things are going wrong from there? PPS: there actually seems to be an issue with 'deken', as it succeeds to install, even if i explicitely tell it to *not* ignore the missing GPG signature... but that's a different story. _______________________________________________ Pd-list@lists.iem.at mailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list https://lists.puredata.info/listinfo/pd-list
Am 30. November 2022 00:57:42 MEZ schrieb Patco colet.patrice@gmail.com:
I’ve just realized that files were downloaded and installed into /Users/patricecolet/Library/Pd/
This path is hardly accessible with finder that’s why I didn’t figure it out, I should have used —install-path.
as documented
I’ve also went into problems by trying to use the deken binary from git repository.
Hmm. The binaries are actually tested, but only on a Mac/Intel. Weird that it fails on m1 (at least if Rosetta is available)
Deken works good on m1 when it’s installed with docker.
So you can use the Linux/AMD64 docker images on M1? This is even more mysterious...
mfg.sfg.jfd IOhannes