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

eval issues - when newsession is not detected #116

Closed
awb99 opened this issue Apr 2, 2020 · 1 comment · Fixed by #124
Closed

eval issues - when newsession is not detected #116

awb99 opened this issue Apr 2, 2020 · 1 comment · Fixed by #124

Comments

@awb99
Copy link
Contributor

awb99 commented Apr 2, 2020

When evaluing a new notebook, it all works fine.
Except the (ns macro) is not assigning line-plot to the "line-plot" variable.
Repo:

git clone https://github.com/pink-gorilla/trateg
cd trateg
lein notebook

In the notebook this is the problem:
(list-plot (concat (range 10) (reverse (range 10))))

error message:
Syntax error compiling at (REPL:1:1). Unable to resolve symbol: list-plot in this context

this works:
(pinkgorilla.ui.gorilla-plot.core/list-plot (concat (range 10) (reverse (range 10))))

@awb99
Copy link
Contributor Author

awb99 commented Apr 2, 2020

this also makes a problem:

(ns parched-brook
(:require
[clojure.pprint :refer [print-table]]
))
(print-table [ {:a 1 :b 2} {:a 3 :b 4}])

@awb99 awb99 changed the title notebook used as library - eval issues eval issues - when newsession is not detected Apr 2, 2020
@awb99 awb99 closed this as completed Apr 2, 2020
deas pushed a commit that referenced this issue Apr 17, 2020
notebooks moved/refactored

mathjax rendering v3

nrepl ws refactoring. value data working

widgets moved to renderable-ui

widgetsnotebooks fixed

print cljs ns to renderer page

reagent rendering cleanup

path trateg added

bugfix: eval-all will cear console output before eval

helper to load resource and secrets

oz server working

markdown without cljsjs, pinkie rendering

pinkie websocket  :add-code

pinkie result rendering working

pinkie todos added

re-com widgets moved to notebook

jupyter .ipynb notebooks added (readonly)

explore service, fix empty notebook, dependencies

logging improved cljs kernel

cljs kernel logging meta removed

no explore notification

eval-all for mixed kernels

setting change

panthera demo notebooks added

core.async notebook added

stacktrace commented/ beautify

fixes #116

fixed some linting warnings/errors

kerneldeps build introduced again - broken

fixed kernel-clj-deps issue

re-com fix for notespace

sub-project table added

tailwind example (card) added

nrepl message specs added

nrepl stacktrace detection working

added pinkie cljbuild to ci pipeline

pinkie docs

moved python/R/corematrix to TA

reagent 10.1 upgrade

style replacer added

re-com reagent 0.10 fix

reagent code reloading working

readme gg4clj

set-hash! url adjustments

reagent 0.10 fix for pinkie

re-frame-10x upgraded / enabled

autoprefixer dep upgrade

postcss config fixed, codemirror refactorings

markdown editor added

codemirror cleanup

explorer ui completely refactored

A few tweaks recovering cljs build

moved explore-handler to explore folder

hide 10xmenu in production
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

Successfully merging a pull request may close this issue.

1 participant