Bug 24372 - phatch needs locate
: phatch needs locate
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/phatch)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2010-10-20 16:34 by
Modified: 2010-11-06 19:40 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-10-20 16:34:57
Running phatch without slocate installed gives:

Traceback (most recent call last):
  File "/usr/bin/phatch", line 10, in <module>
    import phatch
  File "/usr/lib/python2.6/site-packages/phatch/__init__.py", line 25, in
<module>
    init_config_paths()
  File "/usr/lib/python2.6/site-packages/phatch/core/config.py", line 225, in
init_config_paths
    from lib.fonts import set_font_cache
  File "/usr/lib/python2.6/site-packages/phatch/lib/fonts.py", line 53, in
<module>
    sys.exit(_('Please install "%s" first.') % 'locate')
NameError: name '_' is not defined

slocate should be a dependency to phatch.
------- Comment #1 From 2010-11-06 19:34:11 -------
Aw yes. Still can't learn that can be no locate in system.
------- Comment #2 From 2010-11-06 19:40:41 -------
phatch-0.2.7.1-alt2 -> sisyphus:

* Sat Nov 06 2010 Fr. Br. George <george@altlinux> 0.2.7.1-alt2
- Dependency to /usr/bin/locate added (closes #24372)