nope :(  
there is no same error message when I run the test code. 



2010/11/10 Brad Choate <brad@bradchoate.com>
The line in question (575 from blogging.rb) is:

TextMate.call_with_progress(:title => "Fetch Post", :message => "Contacting Server “#{@host}”…") do

which is a pretty simple invocation of the TextMate dialog library.

Try creating a new ruby document and paste this into it:

#!/path/to/your/ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/progress.rb"
host = "example.com"
TextMate.call_with_progress(:title => "Fetch Post", :message => "Contacting Server “#{host}”…") do
 begin
   sleep 3
 end
end


Then use Cmd+R to run it. Do you get the same error? If so, try this:

#!/path/to/your/ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/progress.rb"
host = "example.com"
TextMate.call_with_progress(:title => "Fetch Post", :message => "Contacting Server #{host}…") do
 begin
   sleep 3
 end
end


If that one works, then the quotes within the string are causing the XML parse error you're seeing. The source of that exception isn't shown in the stacktrace since this other (can't convert REXML::ParseException into String) happened as it was trying to report the original exception. Maybe you could comment out line 24 of ui.rb so it can give a stacktrace?

-Brad



On Nov 9, 2010, at 5:55 AM, jnozsc wrote:

>
> Does somebody use the blogging bundle under Ruby 1.9.x ?
>
> I got the error message when I used "fetch post" ("post new blog" has the
> similar error message)
>
> /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:24:in
> `+': can't convert REXML::ParseException into String (TypeError)
>       from
> /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:24:in
> `rescue in dialog'
>       from
> /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:28:in
> `dialog'
>       from
> /Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:42:in
> `call_with_progress'
>       from /Users/user/Library/Application
> Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:575:in
> `fetch'
>       from /tmp/temp_textmate.kZ7CC3:3:in `<main>'
>
> who has some solutions or idea???
> --
> View this message in context: http://old.nabble.com/-TxMt---trouble-blogging-bundle-under-Ruby-1.9.x-tp30171002p30171002.html
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> textmate mailing list
> textmate@lists.macromates.com
> http://lists.macromates.com/listinfo/textmate


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate