#325 ✓resolved
burningTyger

Typing the caret symbol (^) causes redcar to crash.

Reported by burningTyger | October 5th, 2010 @ 10:47 PM

I can't type in the ^ symbol as it will crash redcar immediately. There is no problem however copying this symbol into my code. I'm on OS X, 10.6.4 with the latest updates, fixes, etc installed. redcar runs on 1.9.1 via rvm.

initializing gui took 0.974s
project start took 0.032s
#Redcar::ApplicationSWT::Treebook:0x69dff6#Redcar::ApplicationSWT::Treebook:0x69dff6#Redcar::ApplicationSWT::Treebook:0x69dff6start time: 7.978 indent setting without scope! #
/Users/me/.rvm/gems/ruby-1.9.1-p378/gems/redcar-0.7/plugins/edit_view_swt/lib/edit_view_swt.rb:150:in record_action': uninitialized constant Redcar::EditViewSWT::CommandKeyListener::SWT (NameError) from /Users/me/.rvm/gems/ruby-1.9.1-p378/gems/redcar-0.7/plugins/edit_view_swt/lib/edit_view_swt.rb:136:inkeyReleased' from /Users/me/.rvm/gems/ruby-1.9.1-p378/gems/redcar-0.7/plugins/swt/lib/swt/event_loop.rb:13:in start' from /Users/me/.rvm/gems/ruby-1.9.1-p378/gems/redcar-0.7/plugins/core/lib/core/gui.rb:39:instart' from /Users/me/.rvm/gems/ruby-1.9.1-p378/gems/redcar-0.7/lib/redcar.rb:180:in `pump' from /Users/me/.rvm/gems/ruby-1.9.1-p378/gems/redcar-0.7/bin/redcar:30

Comments and changes to this ticket

  • zimbatm

    zimbatm October 12th, 2010 @ 10:44 AM

    I get the same error when typing the exclamation mark (!) on my linux machine. The keyboard layout is Swiss-French.

    Redcar 0.7 ( i686-linux )
    java -d32 -client -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp /home/zimbatm/.redcar/assets/jruby-complete-1.5.2.jar org.jruby.Main /home/zimbatm/.gem/ruby/1.8/gems/redcar-0.7/bin/redcar code/provision --no-sub-jruby --ignore-stdin
    Redcar 0.7 ( java )
    loading plugins took 4.51
    took 1.011s to load textmate assets
    initializing gui took 0.051s
    #<Redcar::ApplicationSWT::Treebook:0x1e75e08>#<Redcar::ApplicationSWT::Treebook:0x1e75e08>#<Redcar::ApplicationSWT::Treebook:0x1e75e08>project start took 1.631s
    start time: 7.984
    Couldnt find Setting class for textmate setting: spellchecking
    Couldnt find Setting class for textmate setting: spellchecking
    indent setting without scope! #<Redcar::Textmate::UnIndentedLinePatternSetting:0x1a531a9 @plist="^\\s*$", @scope=nil>
    /home/zimbatm/.gem/ruby/1.8/gems/redcar-0.7/plugins/edit_view_swt/lib/edit_view_swt.rb:150:in `record_action': uninitialized constant Redcar::EditViewSWT::CommandKeyListener::SWT (NameError)
        from /home/zimbatm/.gem/ruby/1.8/gems/redcar-0.7/plugins/edit_view_swt/lib/edit_view_swt.rb:136:in `keyReleased'
        from /home/zimbatm/.gem/ruby/1.8/gems/redcar-0.7/plugins/swt/lib/swt/event_loop.rb:13:in `start'
        from /home/zimbatm/.gem/ruby/1.8/gems/redcar-0.7/plugins/core/lib/core/gui.rb:39:in `start'
        from /home/zimbatm/.gem/ruby/1.8/gems/redcar-0.7/lib/redcar.rb:180:in `pump'
        from /home/zimbatm/.gem/ruby/1.8/gems/redcar-0.7/bin/redcar:30
    
  • zimbatm

    zimbatm October 12th, 2010 @ 11:16 AM

    Okay, I took a look and it is just a small typo. Attached with this message is the one-line patch that fixes the problem.

    PS: redcar is awesome !

  • tim.felgentreff (at student.hpi.uni-potsdam)

    tim.felgentreff (at student.hpi.uni-potsdam) October 12th, 2010 @ 02:17 PM

    Applied on master. burningTyger, could you confirm this fixes it for you, too?

  • JWollert

    JWollert October 13th, 2010 @ 05:42 PM

    "git apply path/to/patchfile" would be the way to go.

    If you want to check on the changes that would be applied first, you can do "git apply --stat path/to/patchfile" or "git apply --check path/to/patchfile".

  • tim.felgentreff (at student.hpi.uni-potsdam)

    tim.felgentreff (at student.hpi.uni-potsdam) October 24th, 2010 @ 08:46 AM

    • State changed from “new” to “resolved”

    Seems to be resolved.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Attachments

Pages