unable to start origami, falsely detects presence of battery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
origami |
Fix Released
|
High
|
Christer Edwards |
Bug Description
Greetings, I've installed origami on a server of mine that is batteryless. (It's hooked to a wall outlet for power.) Starting origami was throwing the:
"RUNNING ON BATTERY, NOT STARTING" error.
I was forced to uncomment:
if [[ -x $(which on_ac_power) && -z ${BATTERY} ]]; then
on_ac_power || origami_show_error 'RUNNING ON BATTERY. NOT STARTING'
fi
I am using Ubuntu Hardy Heron 8.04:
$ uname -ra
Linux sapphire 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux
The --battery option is not listed in the man page (which was a problem also, for which I see a ticket open). Performing a sudo ./origami start -b off would have been great, but instead didn't do anything. I haven't look extensively at the start script though. Anyway, I'm wondering if there's something in my environment that is telling the startup a battery is active when there isn't. I'll be happy to provide further details if you need them.
Thanks!
Kind regards,
Ax3
Changed in origami: | |
status: | Fix Committed → Fix Released |
I too am experiencing this issue. I have installed Origami on two up-to-date Hardy machines with the same effect. Is there a work around for this issue? Please email me with your thoughts.
Thanks,
Haydn1