Trouble installing juliafy plugin in PyCharm

I have cloned the most recent version of “juliafy” from GitHub - snefru/juliafy: Julia Intellij Plugin, and have been unable to build it successfully under OS X 10.10.5. Here is a summary of my most recent attempt:


$ cd ~/Downloads/juliafy-master
$ sudo gradle runidea
Password:
Starting a Gradle Daemon (subsequent builds will be faster)
Download https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.pom
Download https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.zip
Download https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT-sources.jar

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘juliafy’.

Could not create task of type ‘PluginVersionTask’.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2m 12s


I get the same results regardless of superuser status. Any help or suggestions are appreciated.

The issue here is that it’s using an old version of gradle and the intellij plugin…

change line 7 of build.gradle from:

    id "org.jetbrains.intellij" version "0.0.20"

to the current version from the plugin page:

    id "org.jetbrains.intellij" version "0.2.17"

Install the latest Gradle (4.1 at time of writing) and then retry:

gradle runidea

Works for me… Hope it works for you

Tim

Hi Tim,

Thanks for your swift and lucid help.

I was able to complete the build following your instructions. However, I have no idea how to install the plugin into my copy of PyCharm CE. Can you offer any ideas?

Cheers,

Eric

Eric Kofoid
Microbiology/CBS, UC Davis
Davis, CA 95695
530-752-6788
eckofoid at ucdavis.edu

CONFIDENTIALITY NOTICE: This communication with its contents may contain confidential or legally privileged information. It is solely for the use of the intended recipients. Unauthorized interception, review, use or disclosure is prohibited and may violate applicable laws including the Electronic Communications Privacy Act. If you are not the intended recipient, please contact the sender and destroy all copies of this communication.

Hiya!

Sorry I’ve no idea how to get the plugin to work with PyCharm…

I’ve tried a few things, such as setting the localPath and alternativeIdePath, but with no joy.

Maybe you can get help on this on the IntelliJ Platform IDE Support forum?

It’s a bit beyond the scope of Gradle at this point :frowning:

Good luck with it all!

And sorry I couldn’t help further :frowning:

Hi Tim,

Thanks for trying.

Cheers,

Eric

Eric Kofoid, Ph.D.
Senior Project Scientist
318 Briggs Hall
Dept. Microbiology
University of California at Davis
One Shields Avenue
Davis, CA 95616
530-752-6788
eckofoid at ucdavis.edu

CONFIDENTIALITY NOTICE: This communication with its contents may contain confidential or legally privileged information. It is solely for the use of the intended recipients. Unauthorized interception, review, use or disclosure is prohibited and may violate applicable laws including the Electronic Communications Privacy Act. If you are not the intended recipient, please contact the sender and destroy all copies of this communication.