#255 ✓resolved
Stephen Eley

REXML error in 'redcar install'

Reported by Stephen Eley | July 15th, 2010 @ 02:46 PM

I'm running Ruby 1.9.1-p378 under RVM. gem install redcar works fine, but on the redcar install step I get this after the jars are installed:

Building textmate bundle cache
/Volumes/data/steve/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:95:in `rescue in parse': #<RuntimeError: Illegal character "\x03" in raw string ""> (REXML::ParseException)
/Volumes/data/steve/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/rexml/text.rb:138:in `block in check'
[...snip backtrace...]
...
Illegal character "\x03" in raw string ""
Line: 10
Position: 327
Last 80 unconsumed characters:
</string>

It was unclear to me whether it was checking my own Textmate bundles (I'm a heavy Textmate user on OS X 10.6); but just in case, I grepped them for the \x03 special character (which shouldn't exist in a file; I know it's the end-of-text character) and didn't find it there.

Full backtrace is at:
http://gist.github.com/476945

Thanks very much for any help. I heard about this editor on the Ruby Show podcast and I'm looking forward to trying it out.

Comments and changes to this ticket

  • Daniel Lucraft

    Daniel Lucraft July 15th, 2010 @ 03:55 PM

    • State changed from “new” to “open”

    Thanks for the detailed report, I'll try and get that fixed soon. If you can't wait, you might have more luck trying to install on 1.8.7.

    (It installs it's own set of bundles as well, there are some incompatibilities, particularly for getting them working on windows.)

  • Stephen Eley

    Stephen Eley July 15th, 2010 @ 04:21 PM

    Thanks for the fast response, Daniel! I did try it on 1.8.7 immediately after I filed that report. (Just wanted to work with it for a while before I came back here and said "It works!")

    It does work, though. Even better, the TextMate bundles it imported in the 1.8.7 Ruby are still visible when I invoke it from my 1.9.1 default. So it's fully usable for me now, albeit with a slightly circuitous installation path. >8->

    Kudos to you for the great work. I don't think I'm quite ready to switch to it from TextMate yet, but it looks like it has a very promising future, and I've been looking for a straightforward editor like this that I could recommend to friends learning Ruby in Ubuntu.

  • Daniel Lucraft

    Daniel Lucraft July 18th, 2010 @ 04:51 PM

    This should be fixed in 0.3.8.1. Thanks.

  • Daniel Lucraft

    Daniel Lucraft July 18th, 2010 @ 04:51 PM

    • State changed from “open” to “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

Pages