Hi,
Thanks for the logs.
1. There was a bug in the sample code which was causing the problem.
Instead of :
p resp.hello_response.trisul_id
It should read :
There was an extra
hello_response after
resp. The code is now updated at
trisul.org/docs/trp/trpgemsteps.html
It is quite a bad bug considering it appears in a getting started page. I guess the trisulrp gem was updated but we forgot to update the sample. Thanks for your patience.
2. The TRP documentation is now updated
trisul.org/docs/trp/index.html - I re-checked all the samples and they worked. I had to add the following line (as you rightly pointed out) to make some of them work with Ruby 1.8
require 'rubygems' if RUBY_VERSION < '1.9'
3. And this in the log: (where did the ^[34 come from?)
That is a control character that allows the log entries to be colored. Try tail -f the log file to see the colors.
4. The topper_
list.rb error ~/trp$ ruby topper_
list.rb 192.168.1.45 12001 {C51B48D4-7876-479E-B0D9-BD9EFF03CE2E}
/var/lib/gems/1.8/gems/trisulrp-1.4.2/lib/trisulrp
This is due to the hostname inside the script. Change the string "
trisul.org" to your IP and it should work.
Let me know if the new scripts work. We are also adding a whole bunch of new sample scripts this week.
Thanks,