Hyperlink helper: Lookup Word / Selection on Wikipedia and link broken?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Hyperlink helper: Lookup Word / Selection on Wikipedia and link broken?

Tim Bates
Hi,
The Hyperlink helper: "Lookup Word / Selection on Wikipedia and link" appears to be broken?

/Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:174:in `open_loop': redirection forbidden: http://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Conscientiousness -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Conscientiousness (RuntimeError)
        from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
        from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:518:in `open'
        from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:30:in `open'
        from Lookup Selection on Wikipedia and link:19:in `getWikiEntries'
        from Lookup Selection on Wikipedia and link:31:in `getWikiDef'
        from Lookup Selection on Wikipedia and link:37


_______________________________________________
textmate mailing list
[hidden email]
http://lists.macromates.com/listinfo/textmate
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hyperlink helper: Lookup Word / Selection on Wikipedia and link broken?

Allan Odgaard-4
On 6 Dec 2016, at 16:51, Tim Bates wrote:

> The Hyperlink helper: "Lookup Word / Selection on Wikipedia and link"
> appears to be broken?

The issue seems to be a http → https redirect which the ruby URI
library thinks is an error (because of same path).

I have fixed and deployed an update:
https://github.com/textmate/hyperlink-helper.tmbundle/commit/0fcf5f93fc7311c2857671754e350a00dd05060c

Sorry about the late reply.

_______________________________________________
textmate mailing list
[hidden email]
http://lists.macromates.com/listinfo/textmate
Loading...