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

Exception in thread "IScala" java.io.IOException: Access is denied #36

Open
mlisanke opened this issue Oct 26, 2015 · 0 comments
Open

Comments

@mlisanke
Copy link

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Mike>cd "\Program Files (x86)\scala"

C:\Program Files (x86)\scala>java -jar lib/IScala.jar
connect ipython with --existing C:\Program Files (x86)\scala\profile-4104.json
Exception in thread "IScala" java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at scalax.io.support.FileUtils$$anonfun$scalax$io$support$FileUtils$$preOpen$1.apply(FileUti
ls.scala:66)
at scalax.io.support.FileUtils$$anonfun$scalax$io$support$FileUtils$$preOpen$1.apply(FileUti
ls.scala:58)
at scala.collection.immutable.List.foreach(List.scala:318)
at scalax.io.support.FileUtils$.scalax$io$support$FileUtils$$preOpen(FileUtils.scala:58)
at scalax.io.support.FileUtils$$anonfun$openOutputStream$1.apply(FileUtils.scala:19)
at scalax.io.support.FileUtils$$anonfun$openOutputStream$1.apply(FileUtils.scala:18)
at scalax.io.managed.OutputStreamResource.scalax$io$managed$OutputStreamResource$$nResource$
1(OutputStreamResource.scala:38)
at scalax.io.managed.OutputStreamResource$$anonfun$writableByteChannel$1.apply(OutputStreamR
esource.scala:40)
at scalax.io.managed.OutputStreamResource$$anonfun$writableByteChannel$1.apply(OutputStreamR
esource.scala:40)
at scalax.io.managed.WritableByteChannelResource.scalax$io$managed$WritableByteChannelResour
ce$$nResource$2(WritableByteChannelResource.scala:35)
at scalax.io.managed.WritableByteChannelResource$$anonfun$writer$1.apply(WritableByteChannel
Resource.scala:37)
at scalax.io.managed.WritableByteChannelResource$$anonfun$writer$1.apply(WritableByteChannel
Resource.scala:37)
at scalax.io.managed.WriterResource.open(WriterResource.scala:17)
at scalax.io.Resource$$anonfun$1.apply(Resource.scala:170)
at scalax.io.Resource$$anonfun$1.apply(Resource.scala:170)
at scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:124)
at scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:124)
at scala.util.control.Exception$Catch.apply(Exception.scala:102)
at scala.util.control.Exception$Catch.either(Exception.scala:124)
at scalax.io.Resource$class.acquireFor(Resource.scala:169)
at scalax.io.managed.WriterResource.acquireFor(WriterResource.scala:8)
at resource.ManagedResourceOperations$class.acquireAndGet(ManagedResourceOperations.scala:25
)
at scalax.io.managed.WriterResource.acquireAndGet(WriterResource.scala:8)
at resource.ManagedResourceOperations$class.foreach(ManagedResourceOperations.scala:45)
at scalax.io.managed.WriterResource.foreach(WriterResource.scala:8)
at scalax.io.WriteChars$class.write(WriteChars.scala:57)
at scalax.io.managed.WriterResource.write(WriterResource.scala:8)
at scalax.io.Output$class.write(Output.scala:98)
at scalax.file.FileOps.write(FileOps.scala:78)
at org.refptr.iscala.IScala.(IScala.scala:37)
at org.refptr.iscala.IScala$$anon$1.run(IScala.scala:19)

C:\Program Files (x86)\scala>

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

1 participant