Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

wrong-type-argument sequencep #6

Open
failable opened this issue Apr 11, 2020 · 2 comments
Open

wrong-type-argument sequencep #6

failable opened this issue Apr 11, 2020 · 2 comments

Comments

@failable
Copy link

Completion does not work at all and the following error throws.

Debugger entered--Lisp error: (wrong-type-argument sequencep \,)
  string-prefix-p(#("Pro" 0 3 (fontified t)) \, t)
  #f(compiled-function (candidate) #<bytecode 0x5337cddd>)(\,)
  -filter(#f(compiled-function (candidate) #<bytecode 0x5337cddd>) ("Entropy" "Parsing" "Text Classification" "Named-Entity Recognition" "NER" "Overfitting" "Semantic Analysis" "Probabilistic Graphical Models" "PGM" "How To Take Smart Notes With Org-mode · Jethro Kuan" "The Procrustean Bed of Productivity - Nat Eliason" "Fauxductivity: 8 Ways You Trick Yourself into Feeling Productive - Nat Eliason" "Generative Adversarial Networks" "GAN" "Shell" "Stacking" "Machine Reading Comprehension" "Sentiment Analysis" "Multiple Instance Learning" "Optimization" "Sequence Labeling" "Reinforcement Learning" "Cross Validation" "CV" "Local Outlier Factor" "High Dimensional Data" "Feature Extraction" "Metrics" "Capsule" "Logistic Regression" "t-SNE" "Clustering" "Regularization" "Tokenization" "Random Forest" "User Profiling" "Unsupervised Learning" "Feature Selection" "Machine Translation" "Algebra" "Encoding" "Kaggle" "Pre-Trained Models" "Topic Models" "GBDT" "Speech Recognition" "Anomaly Detection" "Decision Tree" "Point Networks" "Singular Value Decomposition" ...))
  company-org-roam--filter-candidates(#("Pro" 0 3 (fontified t)) ("Entropy" "Parsing" "Text Classification" "Named-Entity Recognition" "NER" "Overfitting" "Semantic Analysis" "Probabilistic Graphical Models" "PGM" "How To Take Smart Notes With Org-mode · Jethro Kuan" "The Procrustean Bed of Productivity - Nat Eliason" "Fauxductivity: 8 Ways You Trick Yourself into Feeling Productive - Nat Eliason" "Generative Adversarial Networks" "GAN" "Shell" "Stacking" "Machine Reading Comprehension" "Sentiment Analysis" "Multiple Instance Learning" "Optimization" "Sequence Labeling" "Reinforcement Learning" "Cross Validation" "CV" "Local Outlier Factor" "High Dimensional Data" "Feature Extraction" "Metrics" "Capsule" "Logistic Regression" "t-SNE" "Clustering" "Regularization" "Tokenization" "Random Forest" "User Profiling" "Unsupervised Learning" "Feature Selection" "Machine Translation" "Algebra" "Encoding" "Kaggle" "Pre-Trained Models" "Topic Models" "GBDT" "Speech Recognition" "Anomaly Detection" "Decision Tree" "Point Networks" "Singular Value Decomposition" ...))
  company-org-roam--get-candidates(#("Pro" 0 3 (fontified t)))
  company-org-roam(candidates #("Pro" 0 3 (fontified t)))
  apply(company-org-roam (candidates #("Pro" 0 3 (fontified t))))
  company-call-backend-raw(candidates #("Pro" 0 3 (fontified t)))
  company--fetch-candidates(#("Pro" 0 3 (fontified t)))
  company-calculate-candidates(#("Pro" 0 3 (fontified t)) nil)
  company--begin-new()
  company--perform()
  company-auto-begin()
  company-idle-begin(#<buffer 20200411112850-building_a_second_brain.org> #<window 3 on 20200411112850-building_a_second_brain.org> 58 419)
  apply(company-idle-begin (#<buffer 20200411112850-building_a_second_brain.org> #<window 3 on 20200411112850-building_a_second_brain.org> 58 419))
  timer-event-handler([t 24209 30620 673561 nil company-idle-begin (#<buffer 20200411112850-building_a_second_brain.org> #<window 3 on 20200411112850-building_a_second_brain.org> 58 419) nil 0])
@nicksilver
Copy link

nicksilver commented May 29, 2020

This same issue has just popped up for me...was literally working just an hour ago. I can't figure out what changed. Completion has completely stopped in org-roam (it works fine elsewhere). I get this message:

Company: An error occurred in auto-begin
Company: backend (company-org-roam company-yasnippet company-dabbrev) error "Wrong type argument: sequencep, \," with args (candidates Inter)

To replicate, just starting typing in an org-roam buffer.

I'm using Doom Emacs.

Clearing the org-roam-db cache fixes the error message, and regular company-mode works fine, until I build the cache again :(

@nicksilver
Copy link

I tracked my issue down to a mis-use of the ROAM_ALIAS variable. I was using commas between aliases.

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

No branches or pull requests

2 participants