no translation file

Asked by Will Milton on 2010-08-28

After untarring or bzr'ing, then

$: sudo python install
$: torrent-search

This is what happens:

Traceback (most recent call last):
  File "/usr/local/bin/torrent-search", line 21, in <module>
    from TorrentSearch import clp as optparse
  File "/usr/local/lib/python2.6/dist-packages/TorrentSearch/", line 21, in <module>
    import gtk, AboutDialog, menus, gobject, config, os, imp, Plugin, TorrentSearch, thread, urllib, httplib2, tempfile, sys, downloads, icontheme, re, locale, auth, program_version, datetime, time
  File "/usr/local/lib/python2.6/dist-packages/TorrentSearch/", line 23, in <module>
    from lang import _
  File "/usr/local/lib/python2.6/dist-packages/TorrentSearch/", line 42, in <module>
  File "/usr/lib/python2.6/", line 484, in translation
    raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'torrent-search'

and torrent-search doesn't start.

This happens with the tarball and with the bzr branch, but the .deb works fine.

Is there anything you would like me to try?

Question information

English Edit question
Torrent Search Edit question
No assignee Edit question
Last query:
Last reply:

I know where this comes from.
It should work if you install it with : sudo python install --install-layout=deb
I've just committed a fix to this issue.

Can you help with this problem?

Provide an answer of your own, or ask Will Milton for more information if necessary.

To post a message you must log in.