Home » Issues » 287
Client h-client error
submitted by dcapeletti, 07:28, 8 July 2015
TOPIC: maybe a bug
STATUS: closed
PRIORITY: medium
When installing h-client in Trisquel 7.0, following the instructions provided in the wiki, I get the following error when you run it.
Traceback (most recent call last):
  File "./h-client", line 9, in <module>
    load_entry_point('hclient==0.0a0.dev-r134', 'console_scripts', 'h-client')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-i686/egg/hclient/gtkclient.py", line 27, in <module>
  File "build/bdist.linux-i686/egg/hclient/hlibrary.py", line 36, in <module>
  File "build/bdist.linux-i686/egg/hclient/devices.py", line 27, in <module>
  File "build/bdist.linux-i686/egg/hclient/devicetypes.py", line 27, in <module>
  File "build/bdist.linux-i686/egg/hclient/l10n.py", line 27, in <module>
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 936, in resource_filename
    self, resource_name
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1568, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1587, in _extract_resource
    timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
KeyError: 'hclient/mo/.'
If you installed h-client localy using 'python setup.py install --user', cd ~/.local/lib/python2.7/site-packages, then unpack content of file hclient-....egg into directory with the same name as file.
submitted by lonvojwo, 13:37, 6 January 2016
Added to the wiki
submitted by greenman, 17:19, 22 July 2016

Write below your motivation

h-node.org is a hardware database project. It runs the h-source PHP software, version SVN-387, available under the GNU General Public (GPLv3) License.
JavaScript license information