unable to start origami, falsely detects presence of battery

Bug #256161 reported by Ax3
6
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

Revision history for this message
Haydn1 (haydn-miller) wrote :

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

Revision history for this message
Christer Edwards (christer.edwards) wrote :

The latest bzr revision has the battery management code completely removed based on this happening far more than it should have. I had only been able to test it on my laptop, but based on this feedback it seems its far too unreliable.

The below command will pull down the latest revision which you can then replace any existing /usr/bin/origami with. I am in the process of pushing the latest to the PPA but have not got that far yet.

bzr branch lp:origami
sudo cp origami/origami /usr/bin/

Changed in origami:
assignee: nobody → christer.edwards
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Haydn1 (haydn-miller) wrote : Re: [Bug 256161] Re: unable to start origami, falsely detects presence of battery

Christer,

The update works beautifully. Just as a note, when stopping Origami the
terminal hangs at the end of sequence "Stopping of FAH client(s): OK". I
just closed the terminal to end it. Thanks for your help. Origami is a great
step
forward in getting more linux users involved in folding. Now only if we
could get the GPU core up an running on linux.

Cheers,

Haydn

Revision history for this message
Ax3 (axexathree) wrote :

Works great. Thank you for rolling out an update so quickly. I'll
definitely be recommending origami to others.

Kind regards,

Ax3

On Mon, Aug 18, 2008 at 4:45 PM, Christer Edwards <
<email address hidden>> wrote:

> The latest bzr revision has the battery management code completely
> removed based on this happening far more than it should have. I had
> only been able to test it on my laptop, but based on this feedback it
> seems its far too unreliable.
>
> The below command will pull down the latest revision which you can then
> replace any existing /usr/bin/origami with. I am in the process of
> pushing the latest to the PPA but have not got that far yet.
>
> bzr branch lp:origami
> sudo cp origami/origami /usr/bin/
>
> ** Changed in: origami
> Importance: Undecided => High
> Assignee: (unassigned) => Christer Edwards (christer.edwards)
> Status: New => Fix Committed
>
> --
> unable to start origami, falsely detects presence of battery
> https://bugs.launchpad.net/bugs/256161
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Changed in origami:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.