devstructure / blueprint

Reverse engineer server configuration
http://devstructure.com/
Other
2.15k stars 132 forks source link

KeyError in blueprint-diff #88

Closed rcrowley closed 13 years ago

rcrowley commented 13 years ago
Traceback (most recent call last):
  File "/usr/bin/blueprint-diff", line 53, in <module>
    b_d = b_m - b_s
  File "/usr/lib/python2.6/dist-packages/blueprint/__init__.py", line 151, in __sub__
    other.walk(package=package)
  File "/usr/lib/python2.6/dist-packages/blueprint/__init__.py", line 431, in walk
    self.walk_packages(**kwargs)
  File "/usr/lib/python2.6/dist-packages/blueprint/__init__.py", line 496, in walk_packages
    self.walk_packages('apt', **kwargs)
  File "/usr/lib/python2.6/dist-packages/blueprint/__init__.py", line 525, in walk_packages
    self.walk_packages(managername, **kwargs)
  File "/usr/lib/python2.6/dist-packages/blueprint/__init__.py", line 513, in walk_packages
    callable(manager, package, version)
  File "/usr/lib/python2.6/dist-packages/blueprint/__init__.py", line 139, in package
    b_packages = b.packages[manager]
KeyError: u'php-pear'

Reported by Tim Riley in Campfire.