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

Unable to resolve symbol: fixed-tenting #9

Open
gidsi opened this issue Apr 10, 2021 · 7 comments
Open

Unable to resolve symbol: fixed-tenting #9

gidsi opened this issue Apr 10, 2021 · 7 comments

Comments

@gidsi
Copy link

gidsi commented Apr 10, 2021

When running echo '(load-file "src/dactyl_keyboard/dactyl.clj")' | docker run -i -v $(pwd -P):/data -w /data clojure it won't generate any files, the output im getting is:

Clojure 1.7.0
OpenJDK 64-Bit Server VM 11.0.10+9
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

dactyl-keyboard.dactyl=> (load-file "src/dactyl_keyboard/dactyl.clj")
WARNING: import already refers to: #'clojure.core/import in namespace: dactyl-keyboard.dactyl, being replaced by: #'scad-clj.model/import
WARNING: use already refers to: #'clojure.core/use in namespace: dactyl-keyboard.dactyl, being replaced by: #'scad-clj.model/use
CompilerException java.lang.RuntimeException: Unable to resolve symbol: fixed-tenting in this context, compiling:(/data/src/dactyl_keyboard/dactyl.clj:181:33)

dactyl-keyboard.dactyl=> Bye for now!

The commit leading to that output seems to be a4014a2

gidsi added a commit to gidsi/dactyl-manuform that referenced this issue Apr 11, 2021
@Matthew-Tate-Scarbrough

Same issue here. I went to the original repo the @abstracthat forked to make the manuform and found the same issue.

This is issue on that repo: adereth/dactyl-keyboard#66

The issue is that certain terms are commented out—they aren't defined. They need to be defined.

For me, I had to uncomment the following lines. To uncomment, you merely delete the initial semicolons (;).

  • 49, this defines the variable fixed-angles;
  • 50, this defines the variable fixed-x;
  • 51, this defines the variable fixed-z;
  • 52, this defines the variable fixed-tenting.

@wiegell
Copy link

wiegell commented Apr 8, 2022

image

Tenting is way of when just uncommenting?

@mibmo
Copy link

mibmo commented Apr 16, 2022

@wiegell did you find a fix?

@wiegell
Copy link

wiegell commented Apr 16, 2022

@wiegell did you find a fix?

I got it solved but i'm not even sure how. I think i ended up commenting again and just recompiled a couple of times..?

@mibmo
Copy link

mibmo commented Apr 17, 2022

@wiegell did you find a fix?

I got it solved but i'm not even sure how. I think i ended up commenting again and just recompiled a couple of times..?

... fair enough lol. I ended up using an online generator. It works, but it's not really ideal.

@luntik2012
Copy link

I have the same issue:

user@dell:/tmp/dactyl-manuform$ lein repl
#error {
 :cause Unable to resolve symbol: fixed-tenting in this context
 :via
 [{:type clojure.lang.Compiler$CompilerException
   :message java.lang.RuntimeException: Unable to resolve symbol: fixed-tenting in this context, compiling:(dactyl_keyboard/dactyl.clj:181:33)
   :at [clojure.lang.Compiler analyze Compiler.java 6543]}
  {:type java.lang.RuntimeException
   :message Unable to resolve symbol: fixed-tenting in this context
   :at [clojure.lang.Util runtimeException Util.java 221]}]
 :trace
 [[clojure.lang.Util runtimeException Util.java 221]
  [clojure.lang.Compiler resolveIn Compiler.java 7019]
  [clojure.lang.Compiler resolve Compiler.java 6963]
  [clojure.lang.Compiler analyzeSymbol Compiler.java 6924]
  [clojure.lang.Compiler analyze Compiler.java 6506]
  [clojure.lang.Compiler analyze Compiler.java 6485]
  [clojure.lang.Compiler$InvokeExpr parse Compiler.java 3791]
  [clojure.lang.Compiler analyzeSeq Compiler.java 6725]
  [clojure.lang.Compiler analyze Compiler.java 6524]
  [clojure.lang.Compiler analyze Compiler.java 6485]
  [clojure.lang.Compiler$InvokeExpr parse Compiler.java 3791]
  [clojure.lang.Compiler analyzeSeq Compiler.java 6725]
  [clojure.lang.Compiler analyze Compiler.java 6524]
  [clojure.lang.Compiler analyzeSeq Compiler.java 6711]
  [clojure.lang.Compiler analyze Compiler.java 6524]
  [clojure.lang.Compiler access$300 Compiler.java 38]
  [clojure.lang.Compiler$LetExpr$Parser parse Compiler.java 6129]
  [clojure.lang.Compiler analyzeSeq Compiler.java 6723]
  [clojure.lang.Compiler analyze Compiler.java 6524]
  [clojure.lang.Compiler analyzeSeq Compiler.java 6711]
  [clojure.lang.Compiler analyze Compiler.java 6524]
  [clojure.lang.Compiler analyze Compiler.java 6485]
  [clojure.lang.Compiler$BodyExpr$Parser parse Compiler.java 5861]
  [clojure.lang.Compiler$FnMethod parse Compiler.java 5296]
  [clojure.lang.Compiler$FnExpr parse Compiler.java 3925]
  [clojure.lang.Compiler analyzeSeq Compiler.java 6721]
  [clojure.lang.Compiler analyze Compiler.java 6524]
  [clojure.lang.Compiler analyzeSeq Compiler.java 6711]
  [clojure.lang.Compiler analyze Compiler.java 6524]
  [clojure.lang.Compiler access$300 Compiler.java 38]
  [clojure.lang.Compiler$DefExpr$Parser parse Compiler.java 577]
  [clojure.lang.Compiler analyzeSeq Compiler.java 6723]
  [clojure.lang.Compiler analyze Compiler.java 6524]
  [clojure.lang.Compiler analyze Compiler.java 6485]
  [clojure.lang.Compiler eval Compiler.java 6786]
  [clojure.lang.Compiler load Compiler.java 7227]
  [clojure.lang.RT loadResourceScript RT.java 371]
  [clojure.lang.RT loadResourceScript RT.java 362]
  [clojure.lang.RT load RT.java 446]
  [clojure.lang.RT load RT.java 412]
  [clojure.core$load$fn__5448 invoke core.clj 5866]
  [clojure.core$load doInvoke core.clj 5865]
  [clojure.lang.RestFn invoke RestFn.java 408]
  [clojure.core$load_one invoke core.clj 5671]
  [clojure.core$load_lib$fn__5397 invoke core.clj 5711]
  [clojure.core$load_lib doInvoke core.clj 5710]
  [clojure.lang.RestFn applyTo RestFn.java 142]
  [clojure.core$apply invoke core.clj 632]
  [clojure.core$load_libs doInvoke core.clj 5749]
  [clojure.lang.RestFn applyTo RestFn.java 137]
  [clojure.core$apply invoke core.clj 632]
  [clojure.core$require doInvoke core.clj 5832]
  [clojure.lang.RestFn invoke RestFn.java 408]
  [user$eval5 invoke form-init6458749871801499761.clj 1]
  [clojure.lang.Compiler eval Compiler.java 6782]
  [clojure.lang.Compiler eval Compiler.java 6771]
  [clojure.lang.Compiler eval Compiler.java 6771]
  [clojure.lang.Compiler load Compiler.java 7227]
  [clojure.lang.Compiler loadFile Compiler.java 7165]
  [clojure.main$load_script invoke main.clj 275]
  [clojure.main$init_opt invoke main.clj 280]
  [clojure.main$initialize invoke main.clj 308]
  [clojure.main$null_opt invoke main.clj 343]
  [clojure.main$main doInvoke main.clj 421]
  [clojure.lang.RestFn invoke RestFn.java 421]
  [clojure.lang.Var invoke Var.java 383]
  [clojure.lang.AFn applyToHelper AFn.java 156]
  [clojure.lang.Var applyTo Var.java 700]
  [clojure.main main main.java 37]]}
nREPL server started on port 40899 on host 127.0.0.1 - nrepl://127.0.0.1:40899
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.7.0
OpenJDK 64-Bit Server VM 11.0.16+8-post-Ubuntu-0ubuntu120.04
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

dactyl-keyboard.dactyl=> (load-file "src/dactyl_keyboard/dactyl.clj")
WARNING: import already refers to: #'clojure.core/import in namespace: dactyl-keyboard.dactyl, being replaced by: #'scad-clj.model/import
WARNING: use already refers to: #'clojure.core/use in namespace: dactyl-keyboard.dactyl, being replaced by: #'scad-clj.model/use
CompilerException java.lang.RuntimeException: Unable to resolve symbol: fixed-tenting in this context, compiling:(/tmp/dactyl-manuform/src/dactyl_keyboard/dactyl.clj:181:33) 

dactyl-keyboard.dactyl=> 

@AlainPlattner
Copy link

In the file dactyl-manuform/src/dactyl_keyboard/dactyl.clj you need to delete the ; at the beginning of lines 49, 50, 51, 52. Then it should compile.

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

6 participants