Giter VIP home page Giter VIP logo

keep-ulauncher's Issues

CFFI version mismatch?

Not really sure what's going on lol

2023-11-10 21:01:37,138 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.ybotspawn.keep-ulauncher" exited instantly with code 1
2023-11-10 21:01:37,138 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.ybotspawn.keep-ulauncher" failed with an error: Exception: Version mismatch: this is the 'cffi' package version 1.15.1, located in '/home/igoru/.local/lib/python3.8/site-packages/cffi/api.py'. When we import the top-level '_cffi_backend' extension module, we get version 1.14.0, located in '/usr/lib/python3/dist-packages/_cffi_backend.cpython-38-x86_64-linux-gnu.so'. The two versions should be equal; check your installation.

 ~> pip install cffi
Requirement already satisfied: cffi in ./.local/lib/python3.8/site-packages (1.15.1)
Requirement already satisfied: pycparser in ./.local/lib/python3.8/site-packages (from cffi) (2.21)
 ~> sudo pip install cffi
[sudo] password for igoru:      
Requirement already satisfied: cffi in /usr/local/lib/python3.8/dist-packages (1.15.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/dist-packages (from cffi) (2.21)
 ~> sudo pip install _cffi_backend
ERROR: Invalid requirement: '_cffi_backend'

ModuleNotFoundError: No module named 'gkeepapi'

The plugin crashes when ULauncher starts. Running ulauncher -v, I see this error:

Traceback (most recent call last):
  File "/home/tony/.local/share/ulauncher/extensions/com.github.ybotspawn.keep-ulauncher/main.py", line 4, in <module>
    import gkeepapi
ModuleNotFoundError: No module named 'gkeepapi'

I'm not sure how to fix this. I've installed gkeepapi with both pip and pip3.

$ pip show gkeepapi
Name: gkeepapi
Version: 0.11.8
Summary: An unofficial Google Keep API client
Home-page: https://github.com/kiwiz/gkeepapi
Author: Kai
Author-email: [email protected]
License: MIT
Location: /home/tony/.local/lib/python2.7/site-packages
Requires: enum34, six, future, gpsoauth
$ pip3 show gkeepapi
Name: gkeepapi
Version: 0.11.8
Summary: An unofficial Google Keep API client
Home-page: https://github.com/kiwiz/gkeepapi
Author: Kai
Author-email: [email protected]
License: MIT
Location: /home/linuxbrew/.linuxbrew/lib/python3.7/site-packages
Requires: future, six, gpsoauth
Required-by:

I'm not a Python expert, but this suggests to me that gkeepapi should be importable.

$ python
Python 2.7.15+ (default, Oct  7 2019, 17:39:04) 
[GCC 7.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gkeepapi
>>> gkeepapi
<module 'gkeepapi' from '/home/tony/.local/lib/python2.7/site-packages/gkeepapi/__init__.pyc'>
$ python3
Python 3.7.5 (default, Nov  1 2019, 19:15:52) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gkeepapi
>>> gkeepapi
<module 'gkeepapi' from '/home/linuxbrew/.linuxbrew/Cellar/python/3.7.5/lib/python3.7/site-packages/gkeepapi/__init__.py'>

Any help for how to fix the ModuleNotFoundError is greatly appreciated!

The extension crashes upon install

Installed gkeepapi
ulauncher_5.7.3_all.deb

Message: 'com.github.ybotspawn.keep-ulauncher'
Error Name: UnhandledError
Type: KeyError

Stacktrace:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 198, in on_scheme_callback
    resp = rt.dispatch(self, scheme_request.get_uri())
  File "/usr/lib/python3/dist-packages/ulauncher/utils/Router.py", line 49, in dispatch
    return callback(context, url_params)
  File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 433, in prefs_extension_update_prefs
    controller = ExtensionServer.get_instance().get_controller(ext_id)
  File "/usr/lib/python3/dist-packages/ulauncher/api/server/ExtensionServer.py", line 76, in get_controller
    return self.controllers[extension_id]
KeyError: 'com.github.ybotspawn.keep-ulauncher'

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.