You are not logged in.

#1 2013-04-07 13:29:34

piaodan
Member
Registered: 2012-08-19
Posts: 14

[SOLVED] namcap running error

When running command

$ namcap --help

it warns that

/usr/lib/python3.3/site-packages/pycman/config.py:125: InvalidSyntax: unable to parse /etc/pacman.conf, unrecognized option: 'LocalFileSigLevel'
  warnings.warn(InvalidSyntax(f.name, 'unrecognized option', key))

Anyone knows how to solve this?

I use 64bit arch linux.

Last edited by piaodan (2013-04-14 07:44:00)

Offline

#2 2013-04-07 14:01:44

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] namcap running error

Comment that option in your /etc/pacman.conf temporarily. Although it is not a solution. You must un-comment that after running 'namcap'.


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2013-04-07 17:50:54

jomasti
Member
From: USA
Registered: 2010-08-17
Posts: 96

Re: [SOLVED] namcap running error

You will have to wait until a new version of pyalpm is released. The issue was fixed with this commit.

Offline

#4 2013-04-08 04:33:52

piaodan
Member
Registered: 2012-08-19
Posts: 14

Re: [SOLVED] namcap running error

Thanks for your replies.

illusionist wrote:

Comment that option in your /etc/pacman.conf temporarily. Although it is not a solution. You must un-comment that after running 'namcap'.

It is simpler to modify the config.py than the pacman.conf. tongue

jomasti wrote:

You will have to wait until a new version of pyalpm is released. The issue was fixed with this commit.

I added

'LocalFileSigLevel'

to the config.py file manually and now namcap works fine.

Offline

Board footer

Powered by FluxBB