adhearsion/adhearsion-xmpp — Issue #2: Loading adhearsion-xmpp breaks Adhearsion
Author: bklang
Created: 2012-01-14 20:34:53+00:00
State: open

I have a working Adhearsion app and uncommented the line in the Gemfile to enable XMPP:

`gem 'adhearsion-xmpp', :git => 'git://github.com/adhearsion/adhearsion-xmpp.git', :branch => :develop`

When starting Adhearsion, the log messages change slightly and Adhearsion never reacts to Punchblock offers (other than to log a message that an event was received). Also curious is that CTRL+C does not seem to have any effect.

```
$ bundle exec ahn start .
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
Invalid gemspec in [/Users/bklang/.rvm/gems/ruby-1.9.3-p0/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"
/Users/bklang/.rvm/gems/ruby-1.9.3-p0/gems/logging-1.6.2/lib/logging.rb:303: warning: already initialized constant MAX_LEVEL_LENGTH
[2012-01-14 15:10:42] INFO Adhearsion::Rails::Plugin::Service: Rails loaded
[2012-01-14 15:10:44] INFO Adhearsion::PunchblockPlugin::Initializer: Starting connection to server
[2012-01-14 15:10:44] INFO Punchblock::Connection::XMPP: Connected to XMPP as arabbit@127.0.0.1
[2012-01-14 15:10:44] INFO Adhearsion::PunchblockPlugin::Initializer: Connected to Punchblock server
[2012-01-14 15:10:44] INFO Adhearsion::Initializer: Adhearsion v2.0.0.head initialized!
[2012-01-14 15:10:45] INFO Adhearsion::Process: Transitioning from booting to running with 0 active calls.
[2012-01-14 15:10:45] INFO Adhearsion::Process: Transitioning from running to booting with 0 active calls.
[2012-01-14 15:10:45] ERROR Adhearsion::PunchblockPlugin::Initializer: Connection lost. Attempting reconnect 1 of Infinity
[2012-01-14 15:10:50] INFO Adhearsion::PunchblockPlugin::Initializer: Starting connection to server
[2012-01-14 15:10:50] INFO Punchblock::Connection::XMPP: Connected to XMPP as arabbit@127.0.0.1
[2012-01-14 15:10:50] INFO Adhearsion::PunchblockPlugin::Initializer: Connected to Punchblock server
[2012-01-14 15:10:53] INFO Punchblock::Connection::XMPP: Receiving event for call ID q4btpve-lx7-xwt64ldqjcqt
[2012-01-14 15:10:53] INFO Punchblock::Connection::XMPP: Receiving event for call ID q4btpve-lx7-xwt64ldqjcqt
^C^C^C^C
```