Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Issue installing latest netdisco - poetry error (Muris)
--- Begin Message ---
Hi Oliver, not really annoying, I didn’t know parts of the backend were being 
developed with python. I was more thinking some plugin to allow to run python 
scripts , so I was thinking something else.

 

I also saw that link you pasted, but compared to what I run on a day to day 
basis (and probably many others) configured in deployment.yml file, what 
benefits/advantage is there configuring extra python worklets? Just trying to 
get my head around it.

 

Muris

From: Oliver Gorwits <oli...@cpan.org>
Date: Monday 16 September 2024 at 20:25
To: Muris <alcat...@gmail.com>
Cc: "netdisco-users@lists.sourceforge.net" 
<netdisco-users@lists.sourceforge.net>
Subject: Re: [Netdisco] Issue installing latest netdisco - poetry error

 

Hi Muris, indeed, looks like you need to update your Python install as 3.9+ is 
required.

 

To your other question about Python, you can read about it here: 
https://github.com/netdisco/netdisco/wiki/Python-Worklets

 

But in short, over time Netdisco will move to having more parts implemented in 
Python. The benefit being that people are more able to help develop in Python 
than Perl, both for Netdisco itself and the many things it depends on 
(libraries).

 

It may seem annoying to you, but in the early days of Netdisco 2.x we also had 
many similar packaging/OS hiccups with Perl libraries, PostgreSQL, and so on. 
If this becomes too much for you, the container version of Netdisco is a great 
option (with podman).

 

Kind regards

Oliver.

 

On Mon, 16 Sept 2024 at 11:35, Muris <alcat...@gmail.com> wrote:

I managed to find the github group with the issue, ive commented on github

 

https://github.com/netdisco/netdisco/issues/1249

 

Seems I wasn’t the only one experiencing the problem.

 

Just a question though – I noticed with the later versions of netdisco Python 
capability has been added, im assuming what these files are for.

 

Is there any examples or use cases how to use this new capability within 
netdisco on the website? Or what benefit it gives?

 

From: Oliver Gorwits <oli...@cpan.org>
Date: Monday 16 September 2024 at 18:05
To: Muris <alcat...@gmail.com>
Cc: "netdisco-users@lists.sourceforge.net" 
<netdisco-users@lists.sourceforge.net>
Subject: Re: [Netdisco] Issue installing latest netdisco - poetry error

 

Hi Muri, very sorry to hear of your trouble installing Netdisco.


Have you managed to take a look into the log file which is referenced in the 
output?
/home/netdisco/.cpanm/work/1726452315.17326/build.log

I guess it's a missing package. For example on Debian we found that 
python3-venv is needed, as well as python3. Not sure on RPM based distro.

kind regards
Oliver.

 

On Mon, 16 Sept 2024 at 05:36, Muris <alcat...@gmail.com> wrote:

Hi,

 

Im trying to install the update to netdisco but for some reason poetry is not 
installing, any reason?

 

--> Working on App::Netdisco

Fetching 
http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.079001.tar.gz ... OK

Configuring App-Netdisco-2.079001 ... OK

==> Found dependencies: Alien::poetry

--> Working on Alien::poetry

Fetching 
http://www.cpan.org/authors/id/O/OL/OLIVER/Alien-poetry-1.000006.tar.gz ... OK

Configuring Alien-poetry-1.000006 ... OK

Building Alien-poetry-1.000006 ... FAIL

! Installing Alien::poetry failed. See 
/home/netdisco/.cpanm/work/1726452181.9503/build.log for details. Retry with 
--force to force install it.

! Installing the dependencies failed: Module 'Alien::poetry' is not installed

! Bailing out the installation for App-Netdisco-2.079001.

[netdisco@almalinux8 ~]$ ~/bin/localenv cpanm --notest App::Netdisco

--> Working on App::Netdisco

Fetching 
http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.079001.tar.gz ... OK

Configuring App-Netdisco-2.079001 ... OK

==> Found dependencies: Alien::poetry

--> Working on Alien::poetry

Fetching 
http://www.cpan.org/authors/id/O/OL/OLIVER/Alien-poetry-1.000006.tar.gz ... OK

Configuring Alien-poetry-1.000006 ... OK

Building Alien-poetry-1.000006 ... FAIL

! Installing Alien::poetry failed. See 
/home/netdisco/.cpanm/work/1726452315.17326/build.log for details. Retry with 
--force to force install it.

! Installing the dependencies failed: Module 'Alien::poetry' is not installed

! Bailing out the installation for App-Netdisco-2.079001.

 

Checked the logs and says ..

 

Installing Poetry (1.8.3)

Installing Poetry (1.8.3): Creating environment

Installing Poetry (1.8.3): Installing Poetry

Installing Poetry (1.8.3): An error occurred. Removing partial environment.

Poetry installation failed.

See 
/home/netdisco/.cpanm/work/1726448773.374545/Alien-poetry-1.000006/_alien/build_PLDA/poetry-installer-error-z56l$

external command failed at 
/home/netdisco/perl5/lib/perl5/Alien/Build/CommandSequence.pm line 72.

make: *** [Makefile:957: _alien/mm/build] Error 1

-> FAIL Installing Alien::poetry failed. See 
/home/netdisco/.cpanm/work/1726448773.374545/build.log for details. Ret$

-> FAIL Installing the dependencies failed: Module 'Alien::poetry' is not 
installed

-> FAIL Bailing out the installation for App-Netdisco-2.079001.

Expiring 1 work directories.

4 distributions installed

 

 

 

_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net
https://sourceforge.net/p/netdisco/mailman/netdisco-users/


--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to