dmitrym0 / org-hyperscheduler

org-hyperscheduler is an Emacs package that helps you organize your day.
GNU General Public License v3.0
188 stars 14 forks source link

Some problems #23

Open Ypot opened 1 year ago

Ypot commented 1 year ago

I had problems:

1- browse-url-default-browser: ShellExecute failed: El sistema no puede encontrar el archivo especificado.

Solved with this code:

(setq browse-url-browser-function 'browse-url-firefox)
(setq browse-url-generic-program "\"C:/Program Files (x86)/Mozilla Firefox/firefox.exe\"")

2- Error (websocket): in callbackon-message': Wrong type argument: fixnump, nil`

I am unable to solve it.

dmitrym0 commented 1 year ago

Hi @Ypot, I haven't had an opportunity to test this under Windows yet, so thank you for the bug report.

Can you try the following:

  1. load a clean emacs session
  2. Do M-: org-hyperscheduler-root-dir and tell me what it outputs
  3. Do M-: (org-hs--log-set-level 'debug) -- this should enable debugging.
  4. Open org-hyperscheduler: M-x org-hyperscheduler-open.

Then switch to the *Messages* buffer and see what's there.

I suspect that something in your agenda may be confusing the parser.

Ypot commented 1 year ago

Hi

In a clean emacs session I do:



(add-to-list 'load-path "~/.emacs.d/elpa/websocket-20230305.410")
(load "websocket.el")

(add-to-list 'load-path "~/.emacs.d/elpa/log4e-20211019.948")
(load "log4e.el")

(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
                         ;;("marmalade" . "https://marmalade-repo.org/packages/")
                         ("melpa-stable" . "https://stable.melpa.org/packages/")
                         ;;("org" . "http://orgmode.org/elpa/")
             ("elpa" . "https://elpa.gnu.org/packages/")
             ("gnu-devel" . "https://elpa.gnu.org/devel/")
             ("nongnu" . "https://elpa.nongnu.org/nongnu/")
             ("ox-odt" . "https://kjambunathan.github.io/elpa/")
             ("melpa" . "https://melpa.org/packages/")))

(add-to-list 'load-path "~/.emacs.d/elpa/websocket-20230305.410")
(load "websocket.el")

(add-to-list 'load-path "~/.emacs.d/elpa/log4e-20211019.948")
(load "log4e.el")

(org-hyperscheduler-root-dir)
(org-hs--log-set-level 'debug)
Ypot commented 1 year ago

OK. Now I have a litle bit better emacs skills XD

I get this: Debugger entered--Lisp error: (void-variable org-hyperscheduler-root-dir) eval-expression(org-hyperscheduler-root-dir nil nil 127) funcall-interactively(eval-expression org-hyperscheduler-root-dir nil nil 127) command-execute(eval-expression)

BTW, I don't know how to install cask on Windows, so goodbye

And congrats, for getting this package on MELPA ;D

dmitrym0 commented 1 year ago

Hey @Ypot ,

If you can find where your emacs installs the packages, you can manually open the calendar/index.html in your browser.

I don't have windows, so it's hard for me to point you in the right direction. This is likely why org-hyperscheduler-root-dir is nil as well.