Public bug reported:

Binary package hint: supervisor

Ubuntu releases: 10.04, 10.10
Package version: 3.08a-1

echo_supervisord_conf, a command that displays a sample configuration
file, fails with the following message:

Traceback (most recent call last):
  File "/usr/bin/echo_supervisord_conf", line 9, in <module>
    load_entry_point('supervisor==3.0a8', 'console_scripts', 
'echo_supervisord_conf')()
  File "/usr/lib/pymodules/python2.6/supervisor/confecho.py", line 19, in main
    config = pkg_resources.resource_string(__name__, 'skel/sample.conf')
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 881, in 
resource_string
    self, resource_name
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1154, in 
get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1281, in _get
    stream = open(path, 'rb')
IOError: [Errno 2] No such file or directory: 
'/usr/lib/pymodules/python2.6/supervisor/skel/sample.conf'

Indeed, there's no
/usr/lib/pymodules/python2.6/supervisor/skel/sample.conf available, it
seems to be located at
/usr/share/doc/supervisor/examples/sample.conf.gz.

** Affects: supervisor (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: packaging

** Tags added: packaging

** Description changed:

  Binary package hint: supervisor
  
  Ubuntu releases: 10.04, 10.10
  Package version: 3.08a-1
  
  echo_supervisord_conf, a command that displays a sample configuration
- file fails with the following message:
+ file, fails with the following message:
  
  Traceback (most recent call last):
-   File "/usr/bin/echo_supervisord_conf", line 9, in <module>
-     load_entry_point('supervisor==3.0a8', 'console_scripts', 
'echo_supervisord_conf')()
-   File "/usr/lib/pymodules/python2.6/supervisor/confecho.py", line 19, in main
-     config = pkg_resources.resource_string(__name__, 'skel/sample.conf')
-   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 881, in 
resource_string
-     self, resource_name
-   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1154, in 
get_resource_string
-     return self._get(self._fn(self.module_path, resource_name))
-   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1281, in _get
-     stream = open(path, 'rb')
+   File "/usr/bin/echo_supervisord_conf", line 9, in <module>
+     load_entry_point('supervisor==3.0a8', 'console_scripts', 
'echo_supervisord_conf')()
+   File "/usr/lib/pymodules/python2.6/supervisor/confecho.py", line 19, in main
+     config = pkg_resources.resource_string(__name__, 'skel/sample.conf')
+   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 881, in 
resource_string
+     self, resource_name
+   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1154, in 
get_resource_string
+     return self._get(self._fn(self.module_path, resource_name))
+   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1281, in _get
+     stream = open(path, 'rb')
  IOError: [Errno 2] No such file or directory: 
'/usr/lib/pymodules/python2.6/supervisor/skel/sample.conf'
  
  Indeed, there's no
  /usr/lib/pymodules/python2.6/supervisor/skel/sample.conf available, it
  seems to be located at
  /usr/share/doc/supervisor/examples/sample.conf.gz.

-- 
echo_supervisord_conf fails with IOError
https://bugs.launchpad.net/bugs/677011
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to