Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble with webapp-config (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Sun Nov 18, 2012 1:29 pm    Post subject: Trouble with webapp-config (solved) Reply with quote

Code:
# webapp-config -U -h somehost.com -d somedir phpmyadmin 3.5.
Traceback (most recent call last):
  File "/usr/sbin/webapp-config-2.7", line 44, in <module>
    main()
  File "/usr/sbin/webapp-config-2.7", line 41, in main
    config.run()
  File "/usr/lib64/python2.7/site-packages/WebappConfig/config.py", line 1173, in run
    ws.reportpackageavail()
  File "/usr/lib64/python2.7/site-packages/WebappConfig/db.py", line 708, in reportpackageavail
    available = self.packageavail()
  File "/usr/lib64/python2.7/site-packages/WebappConfig/db.py", line 684, in packageavail
    if not wrapper.package_installed('=' + self.package_name()):
  File "/usr/lib64/python2.7/site-packages/WebappConfig/wrapper.py", line 86, in package_installed
    t = portage.db[portage.root]["vartree"].dbapi.match(packagename)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 502, in match
    origdep, mydb=self, use_cache=use_cache, settings=self.settings)
  File "/usr/lib/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__
    return result(*args, **kwargs)
  File "/usr/lib/portage/pym/portage/dbapi/dep_expand.py", line 33, in dep_expand
    mydep = Atom(mydep, allow_repo=True)
  File "/usr/lib/portage/pym/portage/dep/__init__.py", line 1267, in __init__
    raise InvalidAtom(self)
portage.exception.InvalidAtom: =null/phpmyadmin-3.5.


Not sure if this is a python, portage, or some other issue.

I've tested emerge and several other python programs and they all seem to be working fine.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim


Last edited by Bigun on Mon Nov 19, 2012 3:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
Molniya
n00b
n00b


Joined: 01 Jan 2004
Posts: 6
Location: The Netherlands

PostPosted: Mon Nov 19, 2012 3:16 pm    Post subject: Reply with quote

It seems the package can't be found. You give version "3.5." and you are missing a number. My current version is "3.5.3".
Try "3.5" (without the trailing ".") or "3.5.3" and see what happens.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Mon Nov 19, 2012 3:33 pm    Post subject: Reply with quote

Molniya wrote:
It seems the package can't be found. You give version "3.5." and you are missing a number. My current version is "3.5.3".
Try "3.5" (without the trailing ".") or "3.5.3" and see what happens.


*facepalm*

My fault for blind copy-pasta, will try again later.

*edit*

That was it, I'm an idiot. Thanks.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum