Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some problems #23

Open
Ypot opened this issue Apr 14, 2023 · 4 comments
Open

Some problems #23

Ypot opened this issue Apr 14, 2023 · 4 comments

Comments

@Ypot
Copy link

Ypot commented Apr 14, 2023

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 callback on-message': Wrong type argument: fixnump, nil`

I am unable to solve it.

@dmitrym0
Copy link
Owner

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
Copy link
Author

Ypot commented Apr 23, 2023

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
Copy link
Author

Ypot commented Jul 27, 2023

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants