Re: [PD] Deken command line

2022-11-29 Thread IOhannes m zmölnig
Am 30. November 2022 00:57:42 MEZ schrieb Patco :
>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


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-29 Thread Patco
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  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 > > 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  mailing list
>> UNSUBSCRIBE and account-management -> 
>> https://lists.puredata.info/listinfo/pd-list 
>> 
> 

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-28 Thread Patco
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 
  File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165cgn/T/_MEIBuSGy1/deken.hy", 
line 2166, in main
(if command (command arguments) (.print_help arg-parser)))
  File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165cgn/T/_MEIBuSGy1/deken.hy", 
line 1745, in _hy_anon_var_113
(download-verified
  File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165cgn/T/_MEIBuSGy1/deken.hy", 
line 1565, in download_verified
(lfor x (find-packages searchterms
  File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165cgn/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 
  File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165cgn/T/_MEITCxxt0/deken.hy", 
line 2166, in main
(if command (command arguments) (.print_help arg-parser)))
  File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165cgn/T/_MEITCxxt0/deken.hy", 
line 1745, in _hy_anon_var_113
(download-verified
  File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165cgn/T/_MEITCxxt0/deken.hy", 
line 1565, in download_verified
(lfor x (find-packages searchterms
  File "/var/folders/w9/785j6nzd3lz_s4_6gmkh165cgn/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  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[v1.5.8](Darwin-amd64-32)(Darwin-i386-32)(Sources).dek.asc'
>>  failed with '404'
>> Downloading 
>> 'http://puredata.info/Members/zmoelnigbot/software/zexy/2.4.1/zexy[v2.4.1](Darwin-amd64-32)(Darwin-arm64-32)(Linux-amd64-32)(Linux-arm64-32)(Linux-armv7-32)(Linux-i386-32)(Windows-amd64-32)(Windows-i386-32).dek.asc'
>>  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

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-27 Thread IOhannes m zmölnig

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


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-27 Thread IOhannes m zmölnig

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[v1.5.8](Darwin-amd64-32)(Darwin-i386-32)(Sources).dek.asc'
 failed with '404'
Downloading 
'http://puredata.info/Members/zmoelnigbot/software/zexy/2.4.1/zexy[v2.4.1](Darwin-amd64-32)(Darwin-arm64-32)(Linux-amd64-32)(Linux-arm64-32)(Linux-armv7-32)(Linux-i386-32)(Windows-amd64-32)(Windows-i386-32).dek.asc'
 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.


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-27 Thread Patco


> Le 27 nov. 2022 à 21:54, IOhannes m zmölnig  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[v1.5.8](Darwin-amd64-32)(Darwin-i386-32)(Sources).dek.asc'
 failed with '404'
Downloading 
'http://puredata.info/Members/zmoelnigbot/software/zexy/2.4.1/zexy[v2.4.1](Darwin-amd64-32)(Darwin-arm64-32)(Linux-amd64-32)(Linux-arm64-32)(Linux-armv7-32)(Linux-i386-32)(Windows-amd64-32)(Windows-i386-32).dek.asc'
 failed with ‘404'


It works when I install using PureData interface.___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-27 Thread IOhannes m zmölnig

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


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-27 Thread IOhannes m zmölnig

On 11/27/22 16:01, Dan Wilcox wrote:

Actually there is a command line `deken` script but it's a tool for packaging 
builds into .dek archives.

https://github.com/pure-data/deken/blob/main/developer/README.md 


Perhaps it could be extended or an alternate deken-get tool could be created?



the 'deken' commandline tool already has these powers: you can use it to 
search for packages, download packages from the internet, install 
packages from the internet or from a local file.


it's just the its mostly used for creating an uploading packages (given 
that searching & installing is more comfortable for most users to do 
from within Pd)


mgfday
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-27 Thread Dan Wilcox
Actually there is a command line `deken` script but it's a tool for packaging 
builds into .dek archives.

https://github.com/pure-data/deken/blob/main/developer/README.md 
<https://github.com/pure-data/deken/blob/main/developer/README.md>

Perhaps it could be extended or an alternate deken-get tool could be created?

> On Nov 27, 2022, at 3:59 PM, Dan Wilcox  wrote:
> 
> May be good to respond to these?
> 
> https://github.com/pure-data/deken/issues/277 
> <https://github.com/pure-data/deken/issues/277>
> 
> https://github.com/pure-data/deken/issues/92 
> <https://github.com/pure-data/deken/issues/92>
> 
> 
>> On Nov 27, 2022, at 3:51 PM, pd-list-requ...@lists.iem.at 
>> <mailto:pd-list-requ...@lists.iem.at> wrote:
>> 
>> Message: 1
>> Date: Sun, 27 Nov 2022 13:34:25 +0100
>> From: Patco mailto:colet.patr...@gmail.com>>
>> To: IOhannes m zm?lnig mailto:zmoel...@iem.at>>
>> Cc: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>
>> Subject: Re: [PD] Deken command line
>> Message-ID: > <mailto:a54d4cc6-dacd-47e7-90ca-f8e436978...@gmail.com>>
>> Content-Type: text/plain;charset=utf-8
>> 
>> 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.
> 
> 
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
> 
> 
> 


Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-27 Thread Dan Wilcox
May be good to respond to these?

https://github.com/pure-data/deken/issues/277 
<https://github.com/pure-data/deken/issues/277>

https://github.com/pure-data/deken/issues/92 
<https://github.com/pure-data/deken/issues/92>


> On Nov 27, 2022, at 3:51 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 1
> Date: Sun, 27 Nov 2022 13:34:25 +0100
> From: Patco mailto:colet.patr...@gmail.com>>
> To: IOhannes m zm?lnig mailto:zmoel...@iem.at>>
> Cc: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>
> Subject: Re: [PD] Deken command line
> Message-ID:  <mailto:a54d4cc6-dacd-47e7-90ca-f8e436978...@gmail.com>>
> Content-Type: text/plain; charset=utf-8
> 
> 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.


Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-27 Thread Patco
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  a écrit :
> 
> Am 26. November 2022 10:53:28 MEZ schrieb Patko nytkophilus 
> :
>> 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
> 




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Deken command line

2022-11-26 Thread IOhannes m zmölnig
Am 26. November 2022 10:53:28 MEZ schrieb Patko nytkophilus 
:
>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


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list