I want to develop a first plug-in for PyCharm but have a problem

Good day, guys!

I downloaded a free Idea Community 10.5.1 for development. Started a new empty project. JDK and the Idea JDK (folder "Program Files\JetBrains\PyCharm 1.5.2\" was selected) have been set. I saw the error in the console after launch:

"I:\Program Files\Java\jdk1.6.0_24\bin\java" -Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=64m -ea "-Xbootclasspath/a:I:/Program Files/JetBrains/PyCharm 1.5.2\lib\boot.jar" -Didea.config.path=I:\Users\Вадим\.IntelliJIdea10\system\plugins-sandbox\config -Didea.system.path=I:\Users\Вадим\.IntelliJIdea10\system\plugins-sandbox\system -Didea.plugins.path=I:\Users\Вадим\.IntelliJIdea10\system\plugins-sandbox\plugins -Didea.launcher.port=7532 "-Didea.launcher.bin.path=I:\Program Files\JetBrains\IntelliJ IDEA 10.5.1\bin" -Dfile.encoding=windows-1251 -classpath "I:\Program Files\Java\jdk1.6.0_24\lib\tools.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\idea_rt.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\idea.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\bootstrap.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\extensions.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\util.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\openapi.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\trove4j.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\jdom.jar;I:/Program Files/JetBrains/PyCharm 1.5.2\lib\log4j.jar;I:\Program Files\JetBrains\IntelliJ IDEA 10.5.1\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain com.intellij.idea.Main
[    344]  ERROR - ation.impl.ApplicationInfoImpl - /idea/ApplicationInfo.xml
java.io.FileNotFoundException: /idea/ApplicationInfo.xml
     at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:353)
     at com.intellij.openapi.application.impl.ApplicationInfoImpl.getShadowInstance(ApplicationInfoImpl.java:293)
     at com.intellij.ui.AppUIUtil.getAppIconImages(AppUIUtil.java:45)
     at com.intellij.ui.AppUIUtil.updateFrameIcon(AppUIUtil.java:40)
     at com.intellij.idea.MainImpl._main(MainImpl.java:78)
     at com.intellij.idea.MainImpl.start(MainImpl.java:70)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:169)
     at java.lang.Thread.run(Thread.java:662)
[    347]  ERROR - ation.impl.ApplicationInfoImpl - JDK: 1.6.0_24
[    347]  ERROR - ation.impl.ApplicationInfoImpl - VM: Java HotSpot(TM) Client VM
[    348]  ERROR - ation.impl.ApplicationInfoImpl - Vendor: Sun Microsystems Inc.
[    348]  ERROR - ation.impl.ApplicationInfoImpl - OS: Windows 7

File ApplicationInfo.xml was not found. I try to google but no useful results were obtained. I downloaded the source code and searching for the file name inside but it's in vain.

Give me some advice. What am I doing wrong?

Languagesen>ru GoogleCE
геи
2 comments
Comment actions Permalink

Hello Vadim,

Add -Didea.platform.prefix=Python to the VM options in the run configuration.

Good day, gays!

I downloaded a free Idea Community 10.5.1 for development. Started a

new empty project. JDK and the Idea JDK (folder "Program

Files\JetBrains\PyCharm 1.5.2\" was selected) have been set.  I saw

the error in the console after launch:

"I:\Program
> Files\Java\jdk1.6.0_24\bin\java" -Xms128m -Xmx512m
> -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=64m -ea
> "-Xbootclasspath/a:I:/Program Files/JetBrains/PyCharm
> 1.5.2\lib\boot.jar"
> -Didea.config.path=I:\Users\Вадим\.IntelliJIdea10\system\plugins-sandb
> ox\config
> -Didea.system.path=I:\Users\Вадим\.IntelliJIdea10\system\plugins-sandb
> ox\system
> -Didea.plugins.path=I:\Users\Вадим\.IntelliJIdea10\system\plugins-sand
> box\plugins -Didea.launcher.port=7532
> "-Didea.launcher.bin.path=I:\Program Files\JetBrains\IntelliJ IDEA
> 10.5.1\bin" -Dfile.encoding=windows-1251 -classpath "I:\Program
> Files\Java\jdk1.6.0_24\lib\tools.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\idea_rt.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\idea.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\bootstrap.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\extensions.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\util.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\openapi.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\trove4j.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\jdom.jar;I:/Program
> Files/JetBrains/PyCharm 1.5.2\lib\log4j.jar;I:\Program
> Files\JetBrains\IntelliJ IDEA 10.5.1\lib\idea_rt.jar"
> com.intellij.rt.execution.application.AppMain com.intellij.idea.Main
> 
> [    344]  ERROR - ation.impl.ApplicationInfoImpl -
> /idea/ApplicationInfo.xml
> 
> java.io.FileNotFoundException: /idea/ApplicationInfo.xml
> 
>      at
> com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:353)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationInfoImpl.getShadowIns
> tance(ApplicationInfoImpl.java:293)
> 
>      at
> com.intellij.ui.AppUIUtil.getAppIconImages(AppUIUtil.java:45)
> 
>      at
> com.intellij.ui.AppUIUtil.updateFrameIcon(AppUIUtil.java:40)
> 
>      at
> com.intellij.idea.MainImpl._main(MainImpl.java:78)
> 
>      at
> com.intellij.idea.MainImpl.start(MainImpl.java:70)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> 
>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:25)
> 
>      at
> java.lang.reflect.Method.invoke(Method.java:597)
> 
>      at
> com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:169)
> 
>      at java.lang.Thread.run(Thread.java:662)
> 
> [    347]  ERROR - ation.impl.ApplicationInfoImpl - JDK: 1.6.0_24
> 
> [    347]  ERROR - ation.impl.ApplicationInfoImpl - VM: Java
> HotSpot(TM) Client VM
> 
> [    348]  ERROR - ation.impl.ApplicationInfoImpl - Vendor: Sun
> Microsystems Inc.
> 
> [    348]  ERROR - ation.impl.ApplicationInfoImpl - OS: Windows
> 7

File ApplicationInfo.xml was not found. I try to google but no useful

results were obtained. I downloaded the source code and searching for

the file name inside but it's in vain.

Give me some advice. What am I doing wrong?

---

Original message URL:

http://devnet.jetbrains.net/message/5308888#5308888

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink

Great! It works. Thanks. B-)

0

Please sign in to leave a comment.