[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacspeak] Emacspeak Web Search facility seems to be broken for me on Mac OS in post 60.0 builds of Emacspeak



check the json support in your emacs build.
make sure you've recompiled everything on the emacspeak  side 

Victor Tsaran writes:
 > Hi.
 > Apologies for taking so long to get back to this.
 > Using the very latest Github snapshot of Emacspeak, I turned on the
 > "toggle-debug-on-error" before performing
 > c-e / g
 > When I typed "What is", pressing the space bar triggered the following
 > output in the debugger:
 > 
 > Debugger entered--Lisp error: (json-parse-error "unable to decode byte
 > 0xae" "<string>" 1 350 350)
 >   json-parse-string("[\"whatis\",[\"whatismyip\",\"
 > https://www.whatismyip.co..."; :object-type alist)
 >   g-json-get-result("/usr/bin/curl  --http1.0 --compressed --silent --l...")
 >   g-json-from-url("http://suggestqueries.google.com/complete/search?d...";)
 >   gweb-suggest("whatis" "")
 >   gweb-suggest-completer("whatis" nil (boundaries . ""))
 >   completion-boundaries("whatis" gweb-suggest-completer nil "")
 >   completion-basic-try-completion("whatis" gweb-suggest-completer nil 6)
 >   #f(compiled-function (style) #<bytecode 0x72b79d531a42a83>)(basic)
 >   completion--some(#f(compiled-function (style) #<bytecode
 > 0x72b79d531a42a83>) (basic partial-completion emacs22))
 >   completion--nth-completion(1 "whatis" gweb-suggest-completer nil 6
 > (metadata (display-sort-function . identity)))
 >   completion-try-completion("whatis" gweb-suggest-completer nil 6 (metadata
 > (display-sort-function . identity)))
 >   completion--try-word-completion("whatis" gweb-suggest-completer nil 6
 > (metadata (display-sort-function . identity)))
 >   completion--do-completion(9 15 completion--try-word-completion)
 >   completion-in-region--single-word(9 15)
 >   #f(compiled-function () (interactive nil) #<bytecode
 > 0x145ac83c351a313f>)()
 >   ad-Advice-minibuffer-complete-word(#f(compiled-function () (interactive
 > nil) #<bytecode 0x145ac83c351a313f>))
 >   apply(ad-Advice-minibuffer-complete-word #f(compiled-function ()
 > (interactive nil) #<bytecode 0x145ac83c351a313f>) nil)
 >   minibuffer-complete-word()
 >   #<subr funcall-interactively>(minibuffer-complete-word)
 >   apply(#<subr funcall-interactively> minibuffer-complete-word nil)
 >   ad-Advice-funcall-interactively(#<subr funcall-interactively>
 > minibuffer-complete-word)
 >   apply(ad-Advice-funcall-interactively #<subr funcall-interactively>
 > minibuffer-complete-word)
 >   funcall-interactively(minibuffer-complete-word)
 >   call-interactively(minibuffer-complete-word nil nil)
 >   command-execute(minibuffer-complete-word)
 >   read-from-minibuffer("Google: " nil (keymap (15 . switch-to-completions)
 > (menu-bar keymap (minibuf "Minibuf" keymap (tab menu-item "Complete"
 > minibuffer-complete :help "Complete as far as possible") (space menu-item
 > "Complete Word" minibuffer-complete-word :help "Complete at most one word")
 > (63 menu-item "List Completions" minibuffer-completion-help :help "Display
 > all possible completions") "Minibuf")) (M-down .
 > minibuffer-next-completion) (M-up . minibuffer-previous-completion) (27
 > keymap (13 . minibuffer-choose-completion) (103 keymap (27 keymap (99 .
 > switch-to-completions))) (118 . switch-to-completions)) (prior .
 > switch-to-completions) (63 . minibuffer-completion-help) (32 .
 > minibuffer-complete-word) (backtab . minibuffer-complete) (9 .
 > minibuffer-complete) keymap (3 keymap (98 . emacspeak-filter-before) (97 .
 > emacspeak-filter-after)) (menu-bar keymap (minibuf "Minibuf" keymap
 > (previous menu-item "Previous History Item" previous-history-element :help
 > "Put previous minibuffer history element in the min...") (next menu-item
 > "Next History Item" next-history-element :help "Put next minibuffer history
 > element in the minibuf...") (isearch-backward menu-item "Isearch History
 > Backward" isearch-backward :help "Incrementally search minibuffer history
 > backward") (isearch-forward menu-item "Isearch History Forward"
 > isearch-forward :help "Incrementally search minibuffer history forward")
 > (return menu-item "Enter" exit-minibuffer :key-sequence "\15" :help
 > "Terminate input and exit minibuffer") (quit menu-item "Quit"
 > abort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf"))
 > (24 keymap (down . minibuffer-complete-defaults) (up .
 > minibuffer-complete-history)) (13 . exit-minibuffer) (10 . exit-minibuffer)
 > (7 . abort-minibuffers) (C-tab . file-cache-minibuffer-complete) (9 .
 > self-insert-command) (XF86Back . previous-history-element) (up .
 > previous-line-or-history-element) (prior . previous-history-element)
 > (XF86Forward . next-history-element) (down . next-line-or-history-element)
 > (next . next-history-element) (27 keymap (60 .
 > minibuffer-beginning-of-buffer) (114 . previous-matching-history-element)
 > (115 . next-matching-history-element) (112 . previous-history-element) (110
 > . next-history-element))) nil gweb-history nil nil)
 >   completing-read-default("Google: " gweb-suggest-completer nil nil nil
 > gweb-history nil nil)
 >   completing-read("Google: " gweb-suggest-completer nil nil nil
 > gweb-history)
 >   gweb--autocomplete-helper("Google: ")
 >   gweb-google-autocomplete()
 >   byte-code("\301 \10D\207" [current-prefix-arg gweb-google-autocomplete] 2)
 >   call-interactively(emacspeak-websearch-google nil nil)
 >   command-execute(emacspeak-websearch-google)
 > 
 > Hope this helps to trace the bug.
 > Thank you!
 > Victor
 > 
 > 
 > On Wed, Jun 26, 2024 at 3:54 PM Victor Tsaran <vtsaran@xxxxxxxxx> wrote:
 > 
 > > Hmmm, this is intriguing then. :)
 > > On both of my Mac machines I am observing the same behavior. I am not
 > > getting any errors, just system beeps.
 > > You guys are both on Linux, right?
 > > If anyone on Mac OS is seeing this, or even if not seeing, can you please
 > > respond here?
 > > Thank you!
 > >
 > >
 > > On Wed, Jun 26, 2024 at 6:31 AM "T.V Raman" <emacspeak@xxxxxxxxxxxxx>
 > > wrote:
 > >
 > >> This is helpful and indicates that Google Suggest (used for query
 > >> completion) is failing.
 > >>
 > >>
 > >> --
 > >> Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
 > >> To unsubscribe send email to:
 > >> emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
 > >>
 > >
 > >
 > > --
 > >
 > > --- --- --- ---
 > > Find my music on
 > > Youtube: http://www.youtube.com/c/victortsaran
 > > <http://www.youtube.com/vtsaran>
 > > Spotify: https://open.spotify.com/artist/605ZF2JPei9KqgbXBqYA16
 > > Band Camp: http://victortsaran.bandcamp.com
 > >
 > >
 > 
 > -- 
 > 
 > --- --- --- ---
 > Find my music on
 > Youtube: http://www.youtube.com/c/victortsaran
 > <http://www.youtube.com/vtsaran>
 > Spotify: https://open.spotify.com/artist/605ZF2JPei9KqgbXBqYA16
 > Band Camp: http://victortsaran.bandcamp.com

-- 


|Full archive May 1995 - present by Year|Search the archive|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page