Error after installing vim #128

Closed
funvill opened this Issue Feb 4, 2013 · 3 comments

Comments

Projects
None yet
2 participants

funvill commented Feb 4, 2013

Hello

The WebIDE was install correctly and working, I made several different scripts and projects with it.

I logged in via SSH and installed Vi and vim after restart the WebIDE stopped working and produced this error in the web browser

TypeError: /usr/share/adafruit/webide/views/users/setup.jade:7
5| #setup-content
6| h3 Welcome to the Raspberry Pi WebIDE powered by the Adafruit Learning System

7| if (typeof(session.message) != 'undefined')
8| div.alert.alert-error
9| p #{session.message}
10| p Setting up your Raspberry Pi will only take a few minutes. Let's get started.

Cannot read property 'message' of undefined
at eval (eval at (/usr/share/adafruit/webide/node_modules/jade/lib/jade.js:176:8))
at exports.compile (/usr/share/adafruit/webide/node_modules/jade/lib/jade.js:181:12)
at Object.exports.render (/usr/share/adafruit/webide/node_modules/jade/lib/jade.js:216:14)
at View.exports.renderFile as engine
at View.render (/usr/share/adafruit/webide/node_modules/express/lib/view.js:75:8)
at Function.app.render (/usr/share/adafruit/webide/node_modules/express/lib/application.js:503:10)
at ServerResponse.res.render (/usr/share/adafruit/webide/node_modules/express/lib/response.js:721:7)
at Command.exports.setup as callback
at RedisClient.flush_and_error (/usr/share/adafruit/webide/node_modules/redis/index.js:118:25)
at RedisClient.on_error (/usr/share/adafruit/webide/node_modules/redis/index.js:143:10)

Owner

jwcooper commented Feb 4, 2013

It looks like redis isn't started, possibly. Try manually starting it by typing 'redis-server' on the command line, and then refresh the WebIDE. Let me know if that works.

funvill commented Feb 7, 2013

Yes running the 'redis-server' does allow me to use the WebIDE. But I have to try that every time I start up (power cycle) the system

Owner

jwcooper commented Apr 5, 2013

Consolidating this issue here: #184

Please try some of the steps (ensuring you have /etc/init.d/redis-server, etc), and update that issue. They appear related. Thanks!

jwcooper closed this Apr 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment