This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
room.send_text("Testing") | |
E, [2020-10-31T06:04:24.311730 #19278] ERROR -- : Socket closed unexpectedly | |
=> {:event_id=>"$2DeZWG2Vy0rGxHHr1uaYH9Zfa8mgvpo-qzE5rBoWe4w"} | |
[main.005.0]E, [2020-10-31T06:04:24.610552 #19278] ERROR -- : Unhandled EOFError raised in background listener | |
E, [2020-10-31T06:04:25.212554 #19278] ERROR -- : end of file reached | |
/opt/jruby/lib/ruby/stdlib/net/protocol.rb:189:in `rbuf_fill' | |
/opt/jruby/lib/ruby/stdlib/net/protocol.rb:157:in `readuntil' | |
/opt/jruby/lib/ruby/stdlib/net/protocol.rb:167:in `readline' | |
/opt/jruby/lib/ruby/stdlib/net/http/response.rb:40:in `read_status_line' | |
/opt/jruby/lib/ruby/stdlib/net/http/response.rb:29:in `read_new' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client.api.get_account_data(client.base_object.mxid, 'm.direct') | |
Traceback (most recent call last): | |
16: from /usr/bin/irb:13:in `<main>' | |
15: from org/jruby/RubyKernel.java:1189:in `catch' | |
14: from org/jruby/RubyKernel.java:1189:in `catch' | |
13: from org/jruby/RubyKernel.java:1442:in `loop' | |
12: from org/jruby/RubyKernel.java:1048:in `eval' | |
11: from (irb):14:in `evaluate' | |
10: from /opt/jruby/lib/ruby/gems/shared/gems/matrix_sdk-2.1.3/lib/matrix_sdk/protocols/cs.rb:1289:in `get_account_data' | |
9: from /opt/jruby/lib/ruby/gems/shared/gems/matrix_sdk-2.1.3/lib/matrix_sdk/api.rb:290:in `request' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E, [2020-10-29T03:52:17.013797 #22800] ERROR -- : can't modify frozen OpenSSL::SSL::SSLContext | |
Backtrace: /opt/jruby/lib/ruby/stdlib/jopenssl23/openssl/ssl.rb:145:in `block in set_params' | |
org/jruby/RubyHash.java:1415:in `each' | |
/opt/jruby/lib/ruby/stdlib/jopenssl23/openssl/ssl.rb:145:in `set_params' | |
/opt/jruby/lib/ruby/stdlib/net/http.rb:975:in `connect' | |
/opt/jruby/lib/ruby/stdlib/net/http.rb:1548:in `begin_transport' | |
/opt/jruby/lib/ruby/stdlib/net/http.rb:1500:in `transport_request' | |
/opt/jruby/lib/ruby/stdlib/net/http.rb:1474:in `request' | |
/opt/jruby/lib/ruby/gems/shared/gems/matrix_sdk-2.1.3/lib/matrix_sdk/api.rb:298:in `block in request' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E, [2020-10-29T03:32:41.676259 #22800] ERROR -- : Socket closed unexpectedly | |
E, [2020-10-29T03:32:41.678779 #22800] ERROR -- : Unhandled EOFError raised in background listener | |
E, [2020-10-29T03:32:41.679286 #22800] ERROR -- : end of file reached | |
/opt/jruby/lib/ruby/stdlib/net/protocol.rb:189:in `rbuf_fill' | |
/opt/jruby/lib/ruby/stdlib/net/protocol.rb:157:in `readuntil' | |
/opt/jruby/lib/ruby/stdlib/net/protocol.rb:167:in `readline' | |
/opt/jruby/lib/ruby/stdlib/net/http/response.rb:315:in `read_chunked' | |
/opt/jruby/lib/ruby/stdlib/net/http/response.rb:285:in `block in read_body_0' | |
/opt/jruby/lib/ruby/stdlib/net/http/response.rb:278:in `inflater' | |
/opt/jruby/lib/ruby/stdlib/net/http/response.rb:283:in `read_body_0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jgem list | |
*** LOCAL GEMS *** | |
activesupport (6.0.3.4, 3.2.22.5) | |
addressable (2.7.0) | |
ansi (1.5.0) | |
array_include_methods (1.0.3) | |
ast (2.4.1) | |
awesome_print (1.8.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D, [2020-10-26T03:42:05.767851 #8794] DEBUG -- : SVFH : > Sending a POST request to `/_matrix/client/r0/login`: | |
D, [2020-10-26T03:42:05.768249 #8794] DEBUG -- : SVFH : > accept-encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | |
D, [2020-10-26T03:42:05.768467 #8794] DEBUG -- : SVFH : > accept: application/json | |
D, [2020-10-26T03:42:05.768686 #8794] DEBUG -- : SVFH : > user-agent: Ruby Matrix SDK v2.1.3 | |
D, [2020-10-26T03:42:05.769175 #8794] DEBUG -- : SVFH : > content-type: application/json | |
D, [2020-10-26T03:42:05.769412 #8794] DEBUG -- : SVFH : > content-length: 150 | |
D, [2020-10-26T03:42:05.769641 #8794] DEBUG -- : SVFH : > authorization: [ REDACTED ] | |
D, [2020-10-26T03:42:05.769844 #8794] DEBUG -- : SVFH : > | |
D, [2020-10-26T03:42:05.829897 #8794] DEBUG -- : SVFH : > {"type"=>"m.login.password", "initial_device_display_name"=>"Ruby Matrix SDK v2.1.3", "user"=>"development", "password"=>"[ REDACTED ]", "device_id"=>"DHYLDDUOYL"} | |
D, [2020-10-26T03:42:06.888444 #8794] DEBUG -- : SVFH : < Received a 200 OK response: [1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
portion_message.on(:fail) do |reply| | |
@pending.delete(response[:thread]) | |
@buffers.delete((response[:thread]) | |
if error_handler.respond_to?(:call) | |
error_handler.call(reply) | |
end | |
end | |
The Error: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
def event_handler(the_event) | |
# format the event record for travel in the system. | |
# See: https://www.w3schools.com/jsref/dom_obj_event.asp | |
# Setup event type groupings to glean appropriate details from the event. | |
the_type = `#{the_event}.type`.to_s.downcase.to_sym | |
if @event_handlers[(the_type)] | |
event_record = {} | |
genre = (GxG::Gui::EventHandlers::EVENT_GENRES[(the_type)] || :event) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.set_rule(the_rule_selector=nil, the_properties={}, options={:merge => true}) | |
# find existing | |
# overwrite or merge (options) | |
# create if non-existent | |
the_style_sheet = GxG::Gui::Css::gxg_style_sheet() | |
# | |
found = GxG::Gui::Css::find_rule(the_rule_selector) | |
if found.size > 0 | |
found.each do |the_rule_entry| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fieldset> | |
<legend>Select:</legend> | |
<label for='c2a7a47a-df2f-456c-a15d-8988e34834d0'>Choice 1</label> | |
<input type='radio' name='c2a7a47a-df2f-456c-a15d-8988e34834d0' id='c2a7a47a-df2f-456c-a15d-8988e34834d0'> | |
<label for='66bfbdd6-4a61-46e9-9e74-4a95c3cb8e7d'>Choice 2</label> | |
<input type='radio' name='66bfbdd6-4a61-46e9-9e74-4a95c3cb8e7d' id='66bfbdd6-4a61-46e9-9e74-4a95c3cb8e7d'> | |
<label for='d0f73955-349c-479f-81e2-0fd22b121d39'>Choice 3</label> | |
<input type='radio' name='d0f73955-349c-479f-81e2-0fd22b121d39' id='d0f73955-349c-479f-81e2-0fd22b121d39'> | |
</fieldset> | |
<script>$('input[type=radio]').checkboxradio();</script> |
NewerOlder