Comments (6)
Please run this command again. I've been trying to track the error down but a second run generally also works.
bundle exec rake kandan:bootstrap
from kandan.
Fedora 18 ruby version: ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux] used crash the kandan app. Earlier when I tried to delete channel, it used to crash the app.
Now installed RVM and ruby 1.9.3p374 (2013-01-15 revision 38858) and app works perfectly on my machine.
from kandan.
Just an FYI, this continues to be an issue on "ruby-1.9.3-p374 [ x86_64 ]" on OSX. As mentioned, running kandan:bootstrap works if you run it a second time. Weird...
from kandan.
@shadowmint exactly...
from kandan.
Weird thou. Wonder if its an upstream or us problem. I'll make a note.
from kandan.
From experiencing this myself,its still broken.
bundle exec rake db:create db:migrate kandan:bootstrap
Creating default user...
Creating default channel...
rake aborted!
undefined method to_i' for #<Channel:0x000000057687e8> /usr/local/rvm/gems/ruby-1.9.3-p374/gems/activemodel-3.2.11/lib/active_model/attribute_methods.rb:407:in
method_missing'
/usr/local/rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.11/lib/active_record/attribute_methods.rb:149:in method_missing' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.11/lib/active_record/connection_adapters/column.rb:178:in
value_to_integer'
/usr/local/rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.11/lib/active_record/connection_adapters/column.rb:78:in type_cast' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.11/lib/active_record/attribute_methods/dirty.rb:86:in
_field_changed?'
/usr/local/rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.11/lib/active_record/attribute_methods/dirty.rb:63:in write_attribute' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.11/lib/active_record/attribute_methods/write.rb:14:in
channel_id='
/home/cubieboard/chat/lib/tasks/kandan.rake:35:in block (3 levels) in <top (required)>' /home/cubieboard/chat/lib/tasks/kandan.rake:23:in
each'
/home/cubieboard/chat/lib/tasks/kandan.rake:23:in block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in
eval'
/usr/local/rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `
Tasks: TOP => kandan:bootstrap
(See full trace by running task with --trace)
It only works 2nd run around, as it assumes that the 0 byte file is fine:
-rw-r--r-- 1 root www-data 17408 Feb 3 09:20 development.sqlite3
drwxr-sr-x 2 cubieboard www-data 4096 Feb 3 07:14 migrate
-rw-r--r-- 1 cubieboard www-data 3237 Feb 3 09:20 schema.rb
-rw-r--r-- 1 cubieboard www-data 343 Feb 3 07:14 seeds.rb
-rw-r--r-- 1 root www-data 0 Feb 3 09:20 test.sqlite3
bundle exec rake db:create db:migrate kandan:bootstrap
db/development.sqlite3 already exists
db/test.sqlite3 already exists
Although it obviously is not.
According to google, its due to ActiveRecord 3.2 changing functionality?
http://stackoverflow.com/questions/13348980/activerecord-to-i-method-removed-in-rails-3-2-9
For the moment, I've deployed with passenger, and rvm development.
I think you need to add a channel id to the db deployment - I fiddled, but didn't get anywhere, so i'll leave this with you..
from kandan.
Related Issues (20)
- Trying to deploy kandan over cloud foundry HOT 1
- OwnCloud integration?
- Kandan People tab only shows the person logged in. HOT 4
- Website down HOT 9
- Installation/update improvements HOT 1
- settings: add option select new port instead of ruby default 3000 HOT 4
- Invalid email addresses HOT 4
- Exporting (channels) HOT 3
- Notes on deploy to stand alone server guide HOT 4
- feature request: unread separator HOT 3
- Password protected rooms HOT 2
- User management power? kick ban etc? HOT 1
- Migrating to kandan, missing crucial features HOT 1
- Problems with settings model
- Typo in Wiki HOT 1
- How install on ubuntu ? HOT 1
- Feature request: Matrix integration
- Trying to set up Kandan HOT 1
- Issue while deploying to heroku HOT 1
- Oops! could not connect to the server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kandan.