Bug 24372 - phatch needs locate
Summary: phatch needs locate
Alias: None
Product: Sisyphus
Classification: Development
Component: phatch (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
Depends on:
Reported: 2010-10-20 16:34 MSD by Alex Negulescu
Modified: 2010-11-06 19:40 MSK (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alex Negulescu 2010-10-20 16:34:57 MSD
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>
  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 Fr. Br. George 2010-11-06 19:34:11 MSK
Aw yes. Still can't learn that can be no locate in system.
Comment 2 Repository Robot 2010-11-06 19:40:41 MSK
phatch- -> sisyphus:

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