search function shortcoming

Bug #1489729 reported by Arnaudv6
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pogo
Fix Released
Medium
Jendrik Seipp

Bug Description

I have encountered this bug in all releases of Pogo down to 0.5 :

If words I searched for return no result, then I simply can't use search function again
for like half an hour, unless I close and launch pogo anew.

With regards
Arnaudv6

Revision history for this message
Jendrik Seipp (jendrikseipp) wrote :

Can you please start pogo from the command line, reproduce the error and post the log here?

Changed in pogo:
status: New → Incomplete
Revision history for this message
Arnaudv6 (arnaudv6) wrote :

Yes : here it comes, sorry I did not come with it first time.
I should mention also that I installed pogo from sources on my gentoo,
and that it uses python2 even though python3 is also available.

pogo
Running deb package or "make installation"
Gtk-Message: Failed to load module "canberra-gtk-module"
DEBUG stdout logging level: 10
INFO Writing log to file "/home/arnaud/.config/pogo/Logs/log"
INFO Started
First start: False
INFO Module loaded: CtrlPanel
INFO Module loaded: DBus
INFO Module loaded: FileExplorer
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
INFO Module loaded: GSTPlayer
INFO Module loaded: GnomeMediaKeys
INFO Module loaded: Search
INFO Module loaded: StatusbarTitlebar
INFO Module loaded: TrackLoader
INFO Module loaded: TrackPanel
INFO Module loaded: Tracktree
ERROR [Gnome Media Keys] Error while initializing: org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
INFO [Tracktree] Restored playlist
INFO Stopping all searches
INFO Query: serch
INFO Searching at ['/home/arnaud/Music MP3/']
INFO Searching with command: find /home/arnaud/Music MP3/ -iwholename *serch*
INFO Results for serch in /home/arnaud/Music MP3/: 0
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/share/pogo/src/modules/__init__.py", line 341, in run
    self.handlers[msg](**params)
  File "/usr/share/pogo/src/modules/Search.py", line 230, in onSearch
    results = self.search_dir(dir, query)
  File "/usr/share/pogo/src/modules/Search.py", line 66, in search_dir
    search = subprocess.Popen(cmd, stdout=subprocess.PIPE)
  File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] Aucun fichier ou dossier de ce type

INFO Caching "/home/arnaud/Music MP3/"
^CINFO Saving playlist
INFO Stopped

Revision history for this message
Jendrik Seipp (jendrikseipp) wrote : Re: [Bug 1489729] Re: search function shortcoming

Thanks, Pogo now catches this error. The source of the error however is
that either "find" or "locate" is missing on your system.

Changed in pogo:
status: Incomplete → Fix Committed
importance: Undecided → Medium
assignee: nobody → Jendrik Seipp (jendrikseipp)
Revision history for this message
Arnaudv6 (arnaudv6) wrote :

Hello Jendrik Seipp, and thanks for your fast fix !
You are right : locate I do not use :-)
Regards

Changed in pogo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.