Coder Social home page Coder Social logo

awamper / wikipedia-search-provider Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 9.0 160 KB

GNOME Shell extension. Wikipedia Search Provider.

Home Page: https://extensions.gnome.org/extension/512/wikipedia-search-provider/

Makefile 2.18% JavaScript 94.88% CSS 2.94%

wikipedia-search-provider's People

Contributors

awamper avatar genodeftest avatar gmg137 avatar jonnius avatar tuchkata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wikipedia-search-provider's Issues

[GNOME 3.18] TypeError: St.Table is not a constructor

I tried amending the metadata.json to include v3.18, but LookingGlass gives the error quoted in the title. Sorry, but I don't have any more information for you. GNOME extensions are somewhat of a dark art to me

It's grayed out on Archlinux

I'm using Arch Linux x86_64, kernel version 4.5.1-1-ARCH and GNOME Shell 3.20.1.

For some reason, the extensions can be installed succesfully, but it's gray and can't be activated.

Does not work with 3.12 (3.11.90)

Hi,

I've just started testing out Gnome 3.12 (3.11.90 actually) from the initial builds here: http://copr.fedoraproject.org/coprs/rhughes/f20-gnome-3-12/, and the extension doesn't work with it any more. These are errors that I got from the session logs:

[asinha@ankur-laptop  ~]$ journalctl -b /usr/bin/gnome-session --no-pager -l | egrep wikipedia
Feb 21 15:06:40 ankur-laptop gnome-session[1482]: INFO    : e.g.o no updates for [email protected] (shell version 3.11 extension version 18.0)
Feb 21 15:06:53 ankur-laptop gnome-session[1482]: Gjs-Message: JS LOG: Extension "[email protected]" had error: TypeError: this.viewSelector.addSearchProvider is not a function
Feb 21 15:08:46 ankur-laptop gnome-session[1482]: INFO    : e.g.o no updates for [email protected] (shell version 3.11 extension version 18.0)
Feb 21 15:08:50 ankur-laptop gnome-session[1482]: Gjs-Message: JS LOG: Extension "[email protected]" had error: TypeError: Main.overview.viewSelector._searchResults._providerDisplays is undefined
Feb 21 15:08:50 ankur-laptop gnome-session[1482]: Gjs-Message: JS LOG: Extension "[email protected]" had error: TypeError: this.viewSelector.addSearchProvider is not a function
[asinha@ankur-laptop  ~]$

Thanks.

Doesn't work on gnome 3.32.1

Super key + w and Super-key + shift + w both don't do anything. I'm not sure if typing w into the gnome search tool is supposed to anything, but it also doesn't work.

Gnome extension page reported it was in an error state. This was the error:
The settings of extension [email protected] had an error:

Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found

Stack trace:

@/home/andruid/.local/share/gnome-shell/extensions/[email protected]/utils.js:4:7
@/home/andruid/.local/share/gnome-shell/extensions/[email protected]/prefs.js:15:7
_getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:59:13
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:74:31
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:320:17
main@resource:///org/gnome/shell/extensionPrefs/main.js:635:5
@<main>:1:43

I tried installing both clutter and clutter-gtk. (using the guix installer, I didn't see an apt package for it)

[Offtopic] Rss reader

Sorry for off-topic. I really like how this extension makes use of GS, and I was wondering whether you would consider building an rss reader that uses this kind of layout; it is perfect for this kind of purpose!

An rss reader is the only extension missing for GS 3.12 and 3.10.

Undefined properties and variables in JavaScript code

Some variables are not properly declared in JavaScript and GNOME therefore logs some undesirable warnings.
Excerpt from journalctl:

DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/extension.js 376]: reference to undefined property Shell.ActionMode.MESSAGE_TRAY
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/wikipedia_result_view.js 146]: reference to undefined property this._wikipedia_page.url
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/wikipedia_page.js 233]: reference to undefined property pageprops.page_image
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/wikipedia_page.js 126]: reference to undefined property page_data.images
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/extension.js 311]: assignment to undeclared variable x
DATE MachineName gnome-shell[6715]: JS WARNING: [/home/username/.local/share/gnome-shell/extensions/[email protected]/extension.js 311]: assignment to undeclared variable y

I am using gnome-shell version 3.24.2, Linux version 4.11.5 and X as window system. The extension version is the one which is currently available at http://extensions.gnome.org.

Works in 3.10 but can't open configuration

Get this error when trying to configure:

TypeError: this._store.set is not a function

Stack trace:
WikipediaKeybindingsWidget<._refresh@/home/ph/.local/share/gnome-shell/extensions/[email protected]/prefs.js:162
wrapper@/usr/share/gjs-1.0/lang.js:213
WikipediaKeybindingsWidget<._init@/home/ph/.local/share/gnome-shell/extensions/[email protected]/prefs.js:139
wrapper@/usr/share/gjs-1.0/lang.js:213
WikipediaSearchProviderPrefsWidget<._get_keybindings_page@/home/ph/.local/share/gnome-shell/extensions/[email protected]/prefs.js:466
wrapper@/usr/share/gjs-1.0/lang.js:213
WikipediaSearchProviderPrefsWidget<._init@/home/ph/.local/share/gnome-shell/extensions/[email protected]/prefs.js:269
wrapper@/usr/share/gjs-1.0/lang.js:213
buildPrefsWidget@/home/ph/.local/share/gnome-shell/extensions/[email protected]/prefs.js:479
Application<._selectExtension@/usr/share/gnome-shell/js/extensionPrefs/main.js:100
wrapper@/usr/share/gjs-1.0/lang.js:213
Application<._extensionsLoaded@/usr/share/gnome-shell/js/extensionPrefs/main.js:219
wrapper@/usr/share/gjs-1.0/lang.js:213
_emit@/usr/share/gjs-1.0/signals.js:124
ExtensionFinder<._extensionsLoaded@/usr/share/gnome-shell/js/misc/extensionUtils.js:178
wrapper@/usr/share/gjs-1.0/lang.js:213
done@/usr/share/gnome-shell/js/misc/fileUtils.js:33
@/usr/share/gnome-shell/js/misc/fileUtils.js:51
onNextFileComplete@/usr/share/gnome-shell/js/misc/fileUtils.js:21
main@/usr/share/gnome-shell/js/extensionPrefs/main.js:276
@:1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.