nixpkgs/pkgs
Bjørn Forsman 8e4edf52dc python-namebench: fix error preventing it from starting
namebench expects to be run from its own source tree (it uses relative
paths to various resources), make it work.

The current version fails like this:

  $ ./result/bin/namebench.py
  Traceback (most recent call last):
    File "/nix/store/04d29llycr5xcxplfv4gn556nzm1mrl7-python2.7-namebench-1.0.5/bin/.namebench.py-wrapped", line 46, in <module>
      (options, supplied_ns, global_ns, regional_ns) = config.GetConfiguration()
    File "/nix/store/04d29llycr5xcxplfv4gn556nzm1mrl7-python2.7-namebench-1.0.5/lib/python2.7/site-packages/libnamebench/config.py", line 27, in GetConfiguration
      (configured_options, global_ns, regional_ns) = ProcessConfigurationFile(options)
    File "/nix/store/04d29llycr5xcxplfv4gn556nzm1mrl7-python2.7-namebench-1.0.5/lib/python2.7/site-packages/libnamebench/config.py", line 100, in ProcessConfigurationFile
      general = dict(config.items('general'))
    File "/nix/store/z6vp5aix4ks1zdjdry7v7dahg8dd02sy-python-2.7.10/lib/python2.7/ConfigParser.py", line 642, in items
      raise NoSectionError(section)
  ConfigParser.NoSectionError: No section: 'general'
2015-07-04 20:12:16 +02:00
..
applications Merge pull request #8603 from ts468/upstream.xen 2015-07-04 16:13:33 +01:00
build-support Unmaintain a bunch of packages 2015-07-01 08:11:05 -04:00
data powerline-fonts: bump to latest revision 2015-06-29 09:45:55 +02:00
desktops zenity: 3.14.0 -> 3.16.3 2015-07-01 00:41:57 -07:00
development lmdb: lightning memory-mapped database 2015-07-04 05:06:29 -07:00
games zandronum: 2.0 -> 2.1 2015-07-03 23:30:52 -07:00
misc vimPlugins: add vim-sleuth 2015-07-04 02:19:57 +12:00
os-specific pam_mount: fix PATH issue 2015-07-04 16:36:47 +02:00
servers Unmaintain a bunch of packages 2015-07-01 08:11:05 -04:00
shells es: bugfix for man page install 2015-06-24 11:36:02 -05:00
stdenv Revert "curl: Modernize build" 2015-06-04 14:54:52 +02:00
test
tools Merge pull request #8624 from ambrop72/minidlna-update 2015-07-04 13:59:32 +03:00
top-level python-namebench: fix error preventing it from starting 2015-07-04 20:12:16 +02:00