r4intellij icon indicating copy to clipboard operation
r4intellij copied to clipboard

Failed to generate a valid skeleton for 'base'

Open arthur-st opened this issue 7 years ago • 10 comments

Windows 7 x64, IDEA 2017.2.1, R 3.4.1.

Failed to generate a valid skeleton for 'base'. Please file a ticket under https://github.com/holgerbrandl/r4intellij/issues
java.lang.Throwable
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
	at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:248)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

arthur-st avatar Aug 02 '17 06:08 arthur-st

Running skeletonize_package.R against base works fine and results in a base.skeleton.R, which though gets rejected by the plugin, even after it is renamed, and the plugin just indexes base again on startup, and fails, deleting the custom skeleton.

arthur-st avatar Aug 02 '17 08:08 arthur-st

R 3.4.1 was x64, and the problem repeated itself with R 3.4.0 and R 3.3.3 too.

arthur-st avatar Aug 02 '17 09:08 arthur-st

Some users suggested that this may be related to the used version of R

I can confirm changing from R 3.4.1 to 3.3.3 also fixed this issue for me.

holgerbrandl avatar Aug 12 '17 08:08 holgerbrandl

@holgerbrandl, I switched to R 3.3.1 as you suggested in #118. I now get the following error:

Failed to generate a valid skeleton for 'base'.helperOutputNull=false

gzrcm avatar Aug 15 '17 13:08 gzrcm

I have the same issue, with all R versions I've tried (so far R 3.4.1, 3.3.3 and 3.2.5, x64 in all cases). Windows 10, IntelliJ 2017.2.4 and Pycharm 2017.1.3.

Failed to generate a valid skeleton for 'base'.helperOutputNull=false
skeletonFile_exists=false
isComplete=false
isCurrentSkelVersion=false
OS=Windows 10 10.0

hughstimson avatar Sep 19 '17 17:09 hughstimson

Windows 10 x64, IDEA 2017.1, R 3.3.2. Same issue.

tchakravarty avatar Oct 02 '17 17:10 tchakravarty

I got the same issue:

Failed to generate a valid skeleton for 'base'.helperOutputNull=false
skeletonFile_exists=false
isComplete=false
isCurrentSkelVersion=false
OS=Windows 10 10.0
 Please file a ticket under https://github.com/holgerbrandl/r4intellij/issues
java.lang.Throwable
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
	at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:256)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Any idea how to solve it? The other packages goes well.... so its a pitty

jgoodman8 avatar Oct 28 '17 21:10 jgoodman8

I'm too having this issue and have had it for nearly a year now. Any pointers on how we can help resolve this would be great.

IT's a critical piece of the plugin, seeing as though the base skeleton contains majority of what most users will be working with in regards to intellisense. If we don't have them, it sort of makes the plugin useless and I would hate to see that for such a great plugin.

rwatts3 avatar Jan 09 '18 18:01 rwatts3

Had the problem with R-3.4.3, Windows 10 in PyCharm (several last versions). Deleted R and made clean installation of last R version (R-3.5.1) to the folder, which name does not have any white-space or "dash" or "dot" symbols (C:\R351\ instead of C:\Program Files\R\R-3.4.3), and the problem was resolved (no idea, though, whether changing path helped).

borisevichdi avatar Sep 25 '18 21:09 borisevichdi

Thanks @borisevichdi for the pointer. So maybe it's the whitespaces in the path which cause all this confusion?

holgerbrandl avatar Sep 26 '18 07:09 holgerbrandl