Any plans to make search engines configurable? I'd like, for example, to use dowser for searching macupdate.com and macosxhints.com.
One related idea worth mentioning (out of dozens I won't waste your time with)... an API for "wrapping" local searches (in my case, NetNewsWire) would be nice. I'd like to be able to write an Applescript that responds to the "dowser desktop API" and returns URIs given a search string, or HTML details given a URI.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jay -- in 0.22 and higher, you can go to the settings page and add sites like macupdate, etc to the search list. It is a google site: hack. It works reasonably well though the results may not be up-to-the-minute.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm aware of the site: hack, but would much prefer an ability to add direct searches. I know this isn't trivial, if you're to parse the results. Maybe partial support, with the option to just submit directly to the site, with URL mask configuration ala Quicksilver.
Meanwhile, I've already hacked index.py to add a second field for searching dict.org. Quite useful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
\
Traceback (most recent call last):
File "startdowser.py", line 6, in ?
File "db_sqlite.pyc", line 23, in ?
File "util.pyc", line 523, in ?
File "util.pyc", line 327, in init
File "util.pyc", line 274, in initdefault
File "util.pyc", line 262, in saveprefs
IOError: [Errno 2] No such file or directory: '\\/dowser/prefs.pickle'
I use windows 2000. Any help will be useful.
Thanks in advance.
Jayakamal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wow. That sux. Thought i'd fixed that. Well, I would try setting the HOMEPATH variable to something sensible. I will see if there are better ways to get the users's $HOME on windows.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Howdy, zakaf -- there's some weirdness (and dumbness) in the way D tries to find the $HOME directory on windows. Try setting your HOME and HOMEPATH environment variables to something sensible.
You can put sqlite.dll anywhere in the library path -- the usual place is in Windows\System32.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
localhost - - [28/Feb/2006 13:58:35] "GET /search?q=hamlet+full+text&s=google HT
TP/1.1" 200 -
google
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 3028)
Traceback (most recent call last):
File "SocketServer.pyc", line 222, in handle_request
File "SocketServer.pyc", line 241, in process_request
File "SocketServer.pyc", line 254, in finish_request
File "SocketServer.pyc", line 521, in __init__
File "BaseHTTPServer.pyc", line 324, in handle
File "BaseHTTPServer.pyc", line 318, in handle_one_request
File "SimpleHTTPServer.pyc", line 41, in do_GET
File "gui\GuiHTTPServer.pyc", line 101, in send_head
File "gui\GuiHTTPServer.pyc", line 267, in run_cgi
File "gui\search.pyc", line 388, in run
KeyError: 'clusters'
----------------------------------------
localhost - - [28/Feb/2006 13:58:36] code 404, message File not found
localhost - - [28/Feb/2006 13:58:36] "GET /favicon.ico HTTP/1.1" 404 -
localhost - - [28/Feb/2006 13:58:36] code 404, message File not found
localhost - - [28/Feb/2006 13:58:36] "GET /favicon.ico HTTP/1.1" 404 -
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to General
Any plans to make search engines configurable? I'd like, for example, to use dowser for searching macupdate.com and macosxhints.com.
One related idea worth mentioning (out of dozens I won't waste your time with)... an API for "wrapping" local searches (in my case, NetNewsWire) would be nice. I'd like to be able to write an Applescript that responds to the "dowser desktop API" and returns URIs given a search string, or HTML details given a URI.
Jay -- in 0.22 and higher, you can go to the settings page and add sites like macupdate, etc to the search list. It is a google site: hack. It works reasonably well though the results may not be up-to-the-minute.
I'm aware of the site: hack, but would much prefer an ability to add direct searches. I know this isn't trivial, if you're to parse the results. Maybe partial support, with the option to just submit directly to the site, with URL mask configuration ala Quicksilver.
Meanwhile, I've already hacked index.py to add a second field for searching dict.org. Quite useful.
When I try to run Dowser, I get this error
\
Traceback (most recent call last):
File "startdowser.py", line 6, in ?
File "db_sqlite.pyc", line 23, in ?
File "util.pyc", line 523, in ?
File "util.pyc", line 327, in init
File "util.pyc", line 274, in initdefault
File "util.pyc", line 262, in saveprefs
IOError: [Errno 2] No such file or directory: '\\/dowser/prefs.pickle'
I use windows 2000. Any help will be useful.
Thanks in advance.
Jayakamal
Hi, Jay --
Try upgrading to 0.26 or higher -- there have been some odd bugs with Windows and the HOME & HOMEPATH environment variables.
Hi Aristus,
Thanks for the prompt reply. Actutally I used the Dowser 0.26 version when I got the error. What should I do to run it.
regards,
Jayakamal
Wow. That sux. Thought i'd fixed that. Well, I would try setting the HOMEPATH variable to something sensible. I will see if there are better ways to get the users's $HOME on windows.
I cannot run dowser 0.26 on WIN XP SP 2 it gives me a malformed url exception when it tries to create the sqlite db file.
Second where sould I place the sqlite.dll if I want to run from source.
Howdy, zakaf -- there's some weirdness (and dumbness) in the way D tries to find the $HOME directory on windows. Try setting your HOME and HOMEPATH environment variables to something sensible.
You can put sqlite.dll anywhere in the library path -- the usual place is in Windows\System32.
I'm getting very few results returned using any query. Tried "hamlet full text" with and without quotes. Nothing.
Some more data:
localhost - - [28/Feb/2006 13:58:35] "GET /search?q=hamlet+full+text&s=google HT
TP/1.1" 200 -
google
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 3028)
Traceback (most recent call last):
File "SocketServer.pyc", line 222, in handle_request
File "SocketServer.pyc", line 241, in process_request
File "SocketServer.pyc", line 254, in finish_request
File "SocketServer.pyc", line 521, in __init__
File "BaseHTTPServer.pyc", line 324, in handle
File "BaseHTTPServer.pyc", line 318, in handle_one_request
File "SimpleHTTPServer.pyc", line 41, in do_GET
File "gui\GuiHTTPServer.pyc", line 101, in send_head
File "gui\GuiHTTPServer.pyc", line 267, in run_cgi
File "gui\search.pyc", line 388, in run
KeyError: 'clusters'
----------------------------------------
localhost - - [28/Feb/2006 13:58:36] code 404, message File not found
localhost - - [28/Feb/2006 13:58:36] "GET /favicon.ico HTTP/1.1" 404 -
localhost - - [28/Feb/2006 13:58:36] code 404, message File not found
localhost - - [28/Feb/2006 13:58:36] "GET /favicon.ico HTTP/1.1" 404 -