pkgtxt2db depends on libwww-perl

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

pkgtxt2db depends on libwww-perl

Post by mimosa »

This isn't a problem in the sense that I solved it by installing the library - but shouldn't it be picked up as a dep?

Very useful tool!

EDIT

However it does produce this message, many, many times:

Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.12.3/Pkgtxt2db/Pkgtxt2db.pm line 147
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: pkgtxt2db depends on libwww-perl

Post by fredg »

This isn't a problem in the sense that I solved it by installing the library - but shouldn't it be picked up as a dep?
Yes, you're right, it will be fixed, thank you.
However it does produce this message, many, many times:

Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.12.3/Pkgtxt2db/Pkgtxt2db.pm line 147
It's just because it is too verbose ;)
You see that message every times a variable get an empty value.
It's not a bug, I will make it less verbose ;)
Very useful tool!
Thank you very much :)

++
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: pkgtxt2db depends on libwww-perl

Post by mimosa »

Somewhat off-topic- what data type is this? A native Python one or part of the csv module?

Code: Select all

['pkgname;"pkgver";"arch";"pkgrel";"location";"dep";"sizeC";"sizeU";"Desc"']
(That was the first line I got out of the output from pkgtxt2db when I opened it with Python's csv module. Note that the format of the first item is different from the rest.)

I'm a Python beginner, but if I can work out how to get at the data, I think I can manage to write a useful script.
Post Reply