And... it looks like the answer to "damaged system libraries" is:
reinstall. I found that getpackageurl_jpacman had been damaged, I must
have fat fingered it. And, reinstalling the base library fixed it.

But I'm still puzzled by the question about the use of require. Why
doesn't require'pascal-j/kv' work here?

Thanks,

-- 
Raul



On Mon, Mar 14, 2022 at 10:03 PM Raul Miller <rauldmil...@gmail.com> wrote:
>
> Ok, now I have some questions for the isi people, which I do not see
> covered in https://code.jsoftware.com/wiki/Addons/Developers_Guide
>
> (1) To test this addon, I did:
>
> install'github:rdm/kv'
>
> And that installed a copy of the addon at pascal-j/kv (and gave me a
> message that it had done so). So, question 1: if I accidentally
> install from github an addon that overwrites a system addon, how would
> I recover from that?
>
> But,
>
> require'pascal-j/kv' did not work. I had to use
> require'~addons/pascal-j/kv/kv.ijs'. So, question 2: what has to be
> done to enable the simpler require statement to work?
>
> (2) Now that Pascal has accepted my merge request, I wanted to test
> that, but install'github:pascal-j/kv@main' was not working (it
> returned 0). So I deleted my copy, and now I can't install it again.
> So, question 3: what has to be done to test an install of this nature?
>
> (I would like to move on and suggest that Pascal make a master branch
> in that repository, to eliminate the need for the @main in the install
> statement, but first I want to make sure I understand what I'm talking
> about.)
>
> Thanks,
>
>
> --
> Raul
>
> On Mon, Mar 14, 2022 at 6:05 PM Raul Miller <rauldmil...@gmail.com> wrote:
> >
> > On Mon, Mar 14, 2022 at 4:23 PM 'Pascal Jasmin' via Programming
> > <programm...@jsoftware.com> wrote:
> > > I'll remind "the world" that a dictionary implementation has been 
> > > published: https://github.com/Pascal-J/kv
> >
> > I have sent you a pull request, which should enable installation of
> > pascal-j/kv as a github based addon.
> >
> > (And, there's a bit that could be done to polish it up, for general use.)
> >
> > Thanks,
> >
> > --
> > Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to