make-deb icon indicating copy to clipboard operation
make-deb copied to clipboard

KeyError when trying to run

Open Daenyth opened this issue 8 years ago • 2 comments

I'm on OSX

$ make-deb
error in sample setup command: package_data must be a dictionary mapping package names to lists of wildcard patterns
Traceback (most recent call last):
  File "/Users/daenyth/Curata/.env/cmp/bin/make-deb", line 21, in <module>
    sys.exit(main())
  File "/Users/daenyth/Curata/.env/cmp/bin/make-deb", line 12, in main
    debconf.render()
  File "/Users/daenyth/Curata/.env/cmp/lib/python2.7/site-packages/make_deb/__init__.py", line 108, in render
    trigger_filename = "%s.triggers" % self.context['name']
KeyError: 'name'

I'm also not sure why the package_data warning is there: I have package_data={'mypkg': ['foo/*', 'bar/*']} (more or less)

Daenyth avatar Feb 23 '17 18:02 Daenyth

I do have some files after running:

$ ls debian/
changelog compat    control   rules

Daenyth avatar Feb 23 '17 18:02 Daenyth

It also happens when I run it inside an ubuntu precise vm

Daenyth avatar Feb 23 '17 21:02 Daenyth