paarulakan

joined 1 year ago
[–] paarulakan@alien.top 1 points 10 months ago (1 children)

This is the issue. I was not even able to clone a repo via terminal. Followed the steps mentioned in the link and it now works without issue. thanks :)

Including the instruction here below for it might be useful to someone.

From stackoverflow

-------

Make sure first that you have certificates installed on your Debian in /etc/ssl/certs

If not, reinstall them:

sudo apt-get install --reinstall ca-certificates 

Since that package does not include root certificates, add:

sudo mkdir /usr/local/share/ca-certificates/cacert.org sudo wget -P /usr/local/share/ca-certificates/cacert.org http://www.cacert.org/certs/root.crt http://www.cacert.org/certs/class3.crt sudo update-ca-certificates 

Make sure your git does reference those CA:

git config --global http.sslCAinfo /etc/ssl/certs/ca-certificates.crt
[–] paarulakan@alien.top 1 points 10 months ago (3 children)

just failed to access

Package Status Info Time ▼ 
ement                          failed               fatal: unable to access 'https://github.com/alphapapa/ement.el.git/': server certificate verification failed. CAfile: none CRLfile: none 16.170102
 

I am trying to install ement.el with the following config

#+begin_src emacs-lisp
  (use-package ement
    :elpaca (:host github :repo "alphapapa/ement.el"))
#+end_src

When the config is loaded I get the error as follows. There are no network issues.

ement [GNU-devel ELPA|GNU ELPA]
Matrix client

source: GNU-devel ELPA
url:    https://elpa.gnu.org/packages/ement.html
menu item:
( :package   "ement"
  :repo      "https://github.com/alphapapa/ement.el.git"
  :local-repo "ement"
  :files    
  (:defaults "*" (:exclude ".git")))
recipe:
( :package   "ement"
  :host      github
  :repo      "alphapapa/ement.el"
  :local-repo "ement"
  :files    
  (:defaults "*" (:exclude ".git"))
  :protocol  https
  :inherit   t
  :depth     nil)
dependencies: ?
dependents: ?
commit:  
statuses:
  (failed cloning reclone cloning queued)

 

The container is running but TRAMP is not able to connect to it, not sure why.

/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf/neo4j.conf

Debugger entered--Lisp error: (file-error "Tramp failed to connect.  If this happens repeated...")
  signal(file-error ("Tramp failed to connect.  If this happens repeated..."))
  tramp-error(nil file-error "Tramp failed to connect.  If this happens repeated...")
  tramp-signal-hook-function(file-error ("Tramp failed to connect.  If this happens repeated..."))
  signal(file-error ("Tramp failed to connect.  If this happens repeated..."))
  tramp-maybe-open-connection((tramp-file-name "lxc" nil nil "aws-t2-nano-neo4j" nil "/neo4j-community-3.1.1/conf/neo4j.conf" nil))
  tramp-send-command((tramp-file-name "lxc" nil nil "aws-t2-nano-neo4j" nil "/neo4j-community-3.1.1/conf/neo4j.conf" nil) "test 0 2>/dev/null; echo tramp_exit_status $?")
  tramp-send-command-and-check((tramp-file-name "lxc" nil nil "aws-t2-nano-neo4j" nil "/neo4j-community-3.1.1/conf/neo4j.conf" nil) "test 0")
  tramp-get-test-command((tramp-file-name "lxc" nil nil "aws-t2-nano-neo4j" nil "/neo4j-community-3.1.1/conf/neo4j.conf" nil))
  tramp-run-test("-d" "/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf...")
  tramp-sh-handle-file-directory-p("/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf...")
  tramp-sh-file-name-handler(file-directory-p "/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf...")
  apply(tramp-sh-file-name-handler file-directory-p "/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf...")
  tramp-file-name-handler(file-directory-p "/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf...")
  file-directory-p("/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf...")
  find-file-noselect("/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf..." nil nil nil)
  find-file("/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf...")
  counsel-find-file-action("/lxc:aws-t2-nano-neo4j:/neo4j-community-3.1.1/conf...")
  ivy-call()
  ivy-read("Find file: " read-file-name-internal :matcher counsel--find-file-matcher :initial-input nil :action counsel-find-file-action :preselect nil :require-match confirm-after-completion :history file-name-history :keymap (keymap (remap keymap (undo . counsel-find-file-undo)) (67108960 lambda (&optional arg) "nil (`nil')" (interactive "p") (if (string= "" ivy-text) (execute-kbd-macro (kbd "M-o b")) (self-insert-command arg))) (96 . counsel-file-jump-from-find) (C-backspace . counsel-up-directory) (67108991 . counsel-up-directory)) :caller counsel-find-file)
  counsel--find-file-1("Find file: " nil counsel-find-file-action counsel-find-file)
  counsel-find-file()
  funcall-interactively(counsel-find-file)
  command-execute(counsel-find-file)

 
⛔ Warning (with-editor): Cannot determine a suitable Emacsclient

Determining an Emacsclient executable suitable for the
current Emacs instance failed.  For more information
please see https://github.com/magit/magit/wiki/Emacsclient.

I switched to guix as the package manager following system-crafters tutorial. I have correct setup the PATH variable so that binaries from guix are accessible, but still magit is not able find emacsclient even though it is there and I can launch it from shell. No changes to the configure has been made. Used to work this morning but after removing apt emacs and installing emacs via guix I get this issue.

Config:

  (use-package magit
    :bind (("C-c g" . #'magit-status)))

 

Are there any existing plaintext file format to for storing discussion forums posts like this one or ubuntuforums. I want to archive the discussion I like locally. i have been using singlefilez for download the whole page into my machine, but i prefer plaintext formats. When I tried Org-web-tools, it does not seem to properly extract reddit discussion pages for example.

I suppose I can write a scraper and dump content in json format. I'd prefer a plaintext format like org-mode and was designed with some thought put into this, instead of me cobbling something together.