RISCfuture / autumn
- Source
- Commits
- Network (22)
- Issues (4)
- Downloads (3)
- Wiki (15)
- Graphs
-
Branch:
master
-
like rails, I've lost about 5 minutes to install all gens to do a db:migrate
Comments
-
def foo_command(stem, sender, channel, msg)
set_channel_property '#mychannel', :secret
end!foo # => Listener Global::Controller raised an exception responding to irc_privmsg_event: undefined method `channel_property' for #<Autumn::Daemon >
Any ideas?
Comments
tbuehlmann
Fri Oct 23 12:30:24 -0700 2009
| link
Cleared that one by monkeypatching the set_channel_property method:
def set_channel_property(channel, property, argument=nil) channel = normalized_channel_name(channel) mode channel, "+#{property}", argument end -
Hi, exactly what I was looking for. A rails-based irc bot framework. :D
Just cloned autumn today and installed all the data mapper gems (using latest 0.9.x versions) required. ruby is at 1.8.6 and rails is at 2.3.3. Configured the season folder and ran db:migrate successfully. Not sure what's wrong below. Any hints?
metaxa autumn $ script/server
Loading Autumn 3.0 (7-4-08)
wrong constant name op
./libs/leaf.rb:200:inconst_get' ./libs/leaf.rb:200:inpreconfigure' ./libs/foliater.rb:217:instart_stems' ./libs/foliater.rb:217:ineach' ./libs/foliater.rb:217:instart_stems' ./libs/foliater.rb:39:inload' ./libs/genesis.rb:173:ininvoke_foliater' ./libs/genesis.rb:45:inboot!' script/server:12Comments
Got past this by removing the Authenticator leaf. leaves.yml had that configured with a "type: op".
Now getting this problem:
Example (Stem): << :renier!~renier@blah.blah.blah PRIVMSG #LRTM :!points renier +1
Adapter not set: default. Did you forget to setup?
/usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/repository.rb:28:inadapter' /usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/repository.rb:61:inread_many' /usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/model.rb:257:inall' (eval):34:infind_person' (eval):51:inparse_change' (eval):31:inpoints_command' ./libs/leaf.rb:641:insend' ./libs/leaf.rb:641:incommand_exec' ./libs/leaf.rb:627:incommand_parse' ./libs/leaf.rb:225:inirc_privmsg_event' ./libs/leaf.rb:322:indatabase' ./libs/leaf.rb:223:inirc_privmsg_event' /usr/lib/ruby/gems/1.8/gems/facets-2.7.0/lib/core/facets/kernel/respond.rb:18:insend' /usr/lib/ruby/gems/1.8/gems/facets-2.7.0/lib/core/facets/kernel/respond.rb:18:inrespond' ./libs/stem.rb:475:inbroadcast' ./libs/stem.rb:473:ininitialize' ./libs/stem.rb:473:innew' ./libs/stem.rb:473:inbroadcast' ./libs/stem.rb:472:ineach' ./libs/stem.rb:472:inbroadcast' ./libs/stem.rb:529:instart' ./libs/stem.rb:529:ineach' ./libs/stem.rb:529:instart' ./libs/foliater.rb:226:instart_stems' ./libs/foliater.rb:221:ininitialize' ./libs/foliater.rb:221:innew' ./libs/foliater.rb:221:instart_stems' ./libs/speciator.rb:106:ineach_stem' ./libs/speciator.rb:106:ineach' ./libs/speciator.rb:106:ineach_stem' ./libs/foliater.rb:220:instart_stems' ./libs/foliater.rb:39:inload' ./libs/genesis.rb:173:ininvoke_foliater' ./libs/genesis.rb:45:inboot!' script/server:12
Example (Stem): >> PRIVMSG #lrtm :Listener Scorekeeper::Controller raised an exception responding to irc_privmsg_event: Adapter not set: default. Did you forget to setup?But I configured the database (using sqlite3) in database.yml...
-
Autumn crashes on netsplits here. I'm using it with Daemons and it does not appear in the channels after the netsplit, but the process is still running. The Logs don't show any conspicuities.
Comments




