Giter VIP home page Giter VIP logo

pmip's People

pmip's Issues

com.intellij.openapi.actionSystem.DataKeys

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Expected is "Loading core"

Instead I get

Loading plugin core:

An Error occured loading plugin:
  cannot load Java class com.intellij.openapi.actionSystem.DataKeys
  file:/Users/michael/Library/PHPStorm/WebIDE10/PMIP/lib/jruby-complete-1.5.0-patched.jar!/builtin/javasupport/java.rb:51:in `method_missing'
  /Users/michael/Documents/Dev/projects/creativeacceleration/xplane/xmac/code/cormvc/pmip/plugins/core/lib/context.rb:2
  /Users/michael/Documents/Dev/projects/creativeacceleration/xplane/xmac/code/cormvc/pmip/plugins/core/lib/context.rb:5:in `load'
  ./plugins/core/init.rb:5
  ./plugins/core/init.rb:21:in `load'
  <script>:21:in `plugin'
  <script>:3

Ready to go ...

What version of the product are you using? On what operating system?
PMIP 0.3 with PMIP-core-0.4.1.zip

Please provide any additional information below.
Hopefully this can be resolved. I'd like to see if it's possible to port some 
of Textmate's scripts over to PMIP.

Original issue reported on code.google.com by [email protected] on 18 Dec 2010 at 12:42

Exception when creating a PMIP Editor object from context.current_editor

What steps will reproduce the problem?

1. Create an action:
class SymbolizeAction < PMIPAction
  def run(event, context)
    Editor.new(context.current_editor)
  end
end

2. Trigger the action

What is the expected output? What do you see instead?

exception not expected:

Error: undefined method `selection_model' for #<Editor:0x1bcaf0d>:
/Users/rharmon/RubymineProjects/test/pmip/plugins/core/lib/editor.rb:8:in 
`initialize'
/Users/rharmon/RubymineProjects/test/pmip/plugins/symbolize/lib/symbolize_action
.rb:3:in `new'
/Users/rharmon/RubymineProjects/test/pmip/plugins/symbolize/lib/symbolize_action
.rb:3:in `run'
/Users/rharmon/RubymineProjects/test/pmip/plugins/core/lib/pmip_action.rb:33:in 
`actionPerformed'
<script>:2

What version of the product are you using? On what operating system?

core 0.4.2, all d/l'd today

Please provide any additional information below.

Dumping editor.methods from inside Editor#initialize does show that the object 
has a selection_model method.  Mystery.

Original issue reported on code.google.com by [email protected] on 12 Feb 2011 at 5:43

PMIP fails on launch in PHPStorm 2 EAP

What steps will reproduce the problem?
1. Create project that uses PMIP in PHPStorm 1
2. Close PHPStorm 1
3. Launch PHPStorm 2 EAP and open the PHPStorm 1 project

What is the expected output? What do you see instead?
Expected standard startup text. Instead, even with pmip.rb empty so neither 
core nor my previous plugin code are loading, the text is:

There was an error evaluating the script:

[file/directory existence tests removed...]
----------------------------------------------------------------------------
The error was: java.lang.IncompatibleClassChangeError: Class 
com.kenai.jffi.HeapInvocationBuffer does not implement the requested interface 
com.kenai.jffi.CallInfo
  org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:141)
  org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1167)
  org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1160)
  pmip.impl.JRubyInterpreter.eval(JRubyInterpreter.java:30)
  pmip.PMIP.loadPMIPScript(PMIP.java:129)
  pmip.PMIP.access$100(PMIP.java:27)
  pmip.PMIP$1.run(PMIP.java:118)
  com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
  java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
  java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
  com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:652)
  com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:506)
  com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:405)
  com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:369)
  java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
  java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
  java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
  java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
  java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
  java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
----------------------------------------------------------------------------

What version of the product are you using? On what operating system?
0.30 on Mac OS X using PHP Storm EAP 102.18. It is the as-of-yet unreleased 
Early Access Program version.

Please provide any additional information below.
Not expecting a fix on this as the host isn't even released yet. More a head's 
up.

Original issue reported on code.google.com by [email protected] on 7 Jan 2011 at 12:58

Error uninitialized constant PMIPAction

What steps will reproduce the problem?
1. Intellij IDEA Community Edition
2. Open a project
3. Paste in the sample code into pmip.rb
4. Click the refresh button on the PMIP Console


Ready to go ...


There was an error evaluating the script:
----------------------------------------------------------------------------
class HelloWorldAction < PMIPAction
  def run(event, context)
    Dialogs.new(context).info('Hello World', 'Hello from PMIP!')
  end
end

bind 'ctrl alt shift A', HelloWorldAction.new
----------------------------------------------------------------------------
The error was: uninitialized constant PMIPAction
  org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
  org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1167)
  org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1160)
  pmip.impl.JRubyInterpreter.eval(JRubyInterpreter.java:30)
  pmip.PMIP.loadPMIPScript(PMIP.java:129)
  pmip.PMIP.access$100(PMIP.java:27)
  pmip.PMIP$1.run(PMIP.java:118)
  com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
  java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
  java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
  com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:628)
  com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:509)
  com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:406)
  com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:370)
  java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
  java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
  java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
  java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
  java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
  java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
----------------------------------------------------------------------------

Ready to go ...

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 4:56

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.