Pirut 1.3.7 giving backtrace.

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Thu Apr 19 20:20:18 UTC 2007


I did a 'cvs update' followed by 'make sources' to get the pirut-1.3.7
tarball. I used './configure --prefix=$HOME && make && make install'
to install it to my home directory. However 'sudo ~/sbin/pirut' and
'~/sbin/pirut' gives the following backtrace:

Traceback (most recent call last):
  File "/home/rishi/sbin/pirut", line 428, in ?
    main()
  File "/home/rishi/sbin/pirut", line 424, in main
    pm.run()
  File "/home/rishi/sbin/pirut", line 361, in run
    self.doRefresh()
  File "/home/rishi/sbin/pirut", line 374, in doRefresh
    self.doRefreshRepos(self._onlyrepo)
AttributeError: 'PackageManager' object has no attribute 'doRefreshRepos'

Local variables in innermost frame:
self: <__main__.PackageManager object at 0x884f5cc>

I am confused since 'doRefreshRepos' is defined in pirut/__init.py__ but:
>>> from pirut import *
>>> help (GraphicalYumBase)
does not list it in Python's interactive mode.

However just running ./pirut.py from within the sources' root
directory gives no backtrace.

Am I missing something?

Happy hacking,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu




More information about the fedora-devel-list mailing list