Running PyCharm in IDEA Plugin Development Sandbox

I'm trying to run a plugin project with PyCharm as IntelliJ IDEA Plugin SDK, but get the stacktrace below. What i want is to develop a plugin for PyCharm. Am I supposed to be able to run PyCharm this way, or am I doing anything wrong?

java.lang.AssertionError
    at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:200)
    at com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:103)
    at com.intellij.openapi.application.impl.ApplicationImpl.e(ApplicationImpl.java:289)
    at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:192)
    at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:35)
    at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)
    at com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplication.java:14)
    at com.intellij.idea.MainImpl.a(MainImpl.java:132)
    at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
    at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
    at com.intellij.ide.a.b.d$1.run(d$1.java:434)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

0
3 comments

Hello Marcus,

You need to add -Didea.platform.prefix=Python to your run configuration.

I'm trying to run a plugin project with PyCharm as IntelliJ IDEA

Plugin SDK, but get the stacktrace below. What i want is to develop a

plugin for PyCharm. Am I supposed to be able to run PyCharm this way,

or am I doing anything wrong?

java.lang.AssertionError

at

com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager

.java:200)

at

com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:1

03)

at

com.intellij.openapi.application.impl.ApplicationImpl.e(ApplicationImp

l.java:289)

at

com.intellij.openapi.application.impl.ApplicationImpl.<init>(Applicati

onImpl.java:192)

at

com.intellij.openapi.application.ex.ApplicationManagerEx.createApplica

tion(ApplicationManagerEx.java:35)

at

com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)

at

com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplicati

on.java:14)

at com.intellij.idea.MainImpl.a(MainImpl.java:132)

at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)

at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)

at com.intellij.ide.a.b.d$1.run(d$1.java:434)

at

java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)

at

java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea

d.java:269)

at

java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j

ava:184)

at

java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea

d.java:174)

at

java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at

java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

---

Original message URL:

http://www.jetbrains.net/devnet/message/5256223#5256223

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Avatar
Permanently deleted user

Even with -Didea.platform.prefix=Python in Program Parameters, I get the same error.

0

Hello Marcus,

Even with -Didea.platform.prefix=Python in Program Parameters, I get

the same error.

This needs to go into VM Parameters.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.