ucb-bar / chisel2-deprecated

chisel.eecs.berkeley.edu
387 stars 89 forks source link

Exception: sbt.TrapExitSecurityException #729

Open drom opened 8 years ago

drom commented 8 years ago

Fresh git clone. Running sbt run getting this error:

drom@drom:~/work/github/usb-bar/chisel> ~/programs/sbt/bin/sbt run
[info] Loading project definition from /home/drom/work/github/usb-bar/chisel/project
[info] Set current project to chisel (in build file:/home/drom/work/github/usb-bar/chisel/)
[info] Running Chisel.SCWrapper 
Error writing file generated/generated.cpp

Exception: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread "run-main-0"
java.lang.RuntimeException: Nonzero exit code: -1
        at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) Nonzero exit code: -1
[error] Total time: 1 s, completed Sep 12, 2016 12:05:25 PM

Any guidance how to fix?

timothychong commented 7 years ago

Can someone help with this?

ucbjrl commented 7 years ago

We'll need a little more context to help here:

I assume this is "chisel" (chisel2 as opposed to chisel3). In either case

% sbt run

without a user created design will fail and is not the correct way to use chisel.

If you are just starting out, we strongly suggest you start with chisel3 https://github.com/ucb-bar/chisel3. Start with the tutorial https://github.com/ucb-bar/chisel-tutorial, then use template https://github.com/ucb-bar/chisel-template to create a basic chisel project.

There is documentation in the associated GitHub wikis to help you get started.

If you really do want to use chisel2, we suggest you check out the chisel2 branch of the tutorial https://github.com/ucb-bar/chisel-tutorial/tree/chisel2 and verify that it executes in your environment.

On Wed, Nov 23, 2016 at 8:22 PM, Timothy Chong notifications@github.com wrote:

Can someone help with this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ucb-bar/chisel/issues/729#issuecomment-262687209, or mute the thread https://github.com/notifications/unsubscribe-auth/AGh1wI_VyT8sF5X0XvrhOhiBKAASSxq0ks5rBRD7gaJpZM4J67Ik .