Floobits / floobits-emacs

Floobits plugin for emacs
Apache License 2.0
152 stars 14 forks source link

ModuleNotFoundError in Emacs Plugin #100

Open claudio-dalicandro opened 3 years ago

claudio-dalicandro commented 3 years ago

Hi! I am trying to run floobits (floobits-share-dir-public), and I get this error:

Now listening on 34101
[Fri Mar  5 01:50:00 2021]  WARN: Error hitting url https://floobits.com/api/orgs/can/admin: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1124)>
[Fri Mar  5 01:50:00 2021]  WARN: Retrying using system python...
[Fri Mar  5 01:50:00 2021]   MSG: Running python -m floo.proxy --host floobits.com --url https://floobits.com/api/orgs/can/admin --method GET (None)
Error getting org list: b"/home/cdali/.asdf/installs/python/3.8.6/bin/python: Error while finding module specification for 'floo.proxy' (ModuleNotFoundError: No module named 'floo')\n"

As you can imagine from the output, I use asdf-vm, so python has a different path, but I don't know if this could actually be the cause... During the installation I have a large number of warnings that I report:

In hlt-read-bg/face-name:
highlight.el:1494:11:Warning: ‘completion-annotate-function’ is an obsolete
    variable (as of 24.1); use ‘completion-extra-properties’ instead.

In hlt-choose-default-face:
highlight.el:1530:10:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.

In hlt-highlight-region:
highlight.el:1878:21:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.
highlight.el:1890:47:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.

In hlt-highlight-regions:
highlight.el:1910:43:Warning: reference to free variable ‘zz-izones’

In hlt-unhighlight-regions:
highlight.el:1925:43:Warning: reference to free variable ‘zz-izones’

In hlt-unhighlight-region:
highlight.el:2006:66:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.

In hlt-+/--highlight-regexp-region:
highlight.el:2203:66:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.

In hlt-replace-highlight-face:
highlight.el:2394:66:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.

In hlt-highlight-single-quotations:
highlight.el:2525:81:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.
highlight.el:3027:14:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.
highlight.el:3198:86:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.
highlight.el:3251:73:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.
highlight.el:3244:23:Warning: reference to free variable
    ‘hlt-prop-highlighting-state’
highlight.el:3253:10:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.
highlight.el:3246:10:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.
highlight.el:3251:6:Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.

In hlt-highlight-isearch-matches:
highlight.el:3301:51:Warning: ‘isearch-word’ is an obsolete variable (as of
    25.1); use ‘isearch-regexp-function’ instead.
highlight.el:3301:74:Warning: ‘isearch-word’ is an obsolete variable (as of
    25.1); use ‘isearch-regexp-function’ instead.
highlight.el:3302:40:Warning: ‘isearch-word’ is an obsolete variable (as of
    25.1); use ‘isearch-regexp-function’ instead.

In end of data:
highlight.el:3419:1:Warning: the following functions are not known to be
    defined: icicle-make-face-candidate, icicle-transform-multi-completion,
    icicle-make-color-candidate, hlt-string-match-p, zz-izone-limits,
    zz-izone-limits-in-bufs, hlt-listify-invisibility-spec, hlt-set-union,
    hlt-next-highlight, hlt-add-listifying, hlt-add-to-invisibility-spec,
    hlt-flat-list, hlt-set-intersection, hlt-toggle-link-highlighting,
    hlt-toggle-property-highlighting, hlt-unhighlight-all-prop,
    hlt-highlight-all-prop, hlt-highlight-property-with-value

In toplevel form:
floobits.el:49:1:Warning: Package cl is deprecated
floobits.el:49:1:Warning: cl package required at runtime

In floobits-highlight-apply-f:
floobits.el:609:44:Warning: reference to free variable ‘buffer’

In end of data:
floobits.el:811:1:Warning: the function ‘hlt-unhighlight-region’ is not known
    to be defined.

Did I do something wrong with the installation?

miguelbernadi commented 3 years ago

I'm having the same issue with Python 3.9 after fixing this other issue locally: https://github.com/Floobits/floobits-emacs/issues/101

I'm using ArchLinux and Emacs master branch but I don't have that many warnings in the installation. May it be something is missing to be set up for the default Python installation?