Welcome to General

General
2004-10-06
2013-03-11
  • Welcome to General

     
    • Hans Gerwitz
      Hans Gerwitz
      2004-10-06

      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.

       
      • Aristus Stain
        Aristus Stain
        2004-10-07

        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.

         
        • Hans Gerwitz
          Hans Gerwitz
          2004-10-09

          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.

           
    • jayakamal
      jayakamal
      2004-10-07

      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

       
      • Aristus Stain
        Aristus Stain
        2004-10-07

        Hi, Jay --

        Try upgrading to 0.26 or higher -- there have been some odd bugs with Windows and the HOME & HOMEPATH environment variables.

         
        • jayakamal
          jayakamal
          2004-10-08

          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

           
          • Aristus Stain
            Aristus Stain
            2004-10-08

            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.

             
    • zakaf
      zakaf
      2004-12-07

      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.

       
      • Aristus Stain
        Aristus Stain
        2004-12-08

        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.

         
    • smap
      smap
      2006-02-28

      I'm getting very few results returned using any query.  Tried "hamlet full text" with and without quotes.  Nothing.

       
      • smap
        smap
        2006-02-28

        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 -