Weird New Heyu Script error

33 views
Skip to first unread message

Max

unread,
Oct 9, 2011, 10:16:47 AM10/9/11
to domusli...@googlegroups.com
Hi all.

I've been using a heyu script for a while without any problems for months.
But out of nowhere, part of it just stopped working.

I checked out my logs and here is what I get:


10/09 07:00:53  sndm addr unit      16 : hu I16 (state-daylight)
10/09 07:00:53  sndm func           On : hc I
10/09 07:00:53  Launching 'Script-Daytime-Off': ( (($X10_A11 & $isOn)) ) && heyu off A11
/bin/sh: 16384: not found
/bin/sh: 1792: not found


The script line itself is the following:
SCRIPT -l Script-Todo-Noirceur I16 off sndm :: ( (($X10_I1 & $isOn)) || (($X10_I2 & $isOn)) ) && heyu SCENE-TODO-DARK-IF-AT-HOME


Other parts of my script still work fine.
It seems to only be the "sndm" that have this issue.

Any ideas?


Info:
Heyu version 2.8.0
Ubuntu 10.10 (up to date)

Thx !

Brad

unread,
Oct 9, 2011, 10:39:56 AM10/9/11
to domusli...@googlegroups.com
That would be weird if there were no changes to your system. I have to ask, was there any path changes in any of your profile scripts for the heyu user?

Brad

mde...@gmail.com

unread,
Dec 29, 2013, 3:05:42 PM12/29/13
to domusli...@googlegroups.com

Hi again Brad!

I found the solution!
Might want to post it for others to see.

It seems in recent Ubuntu and Mint version, BASH has been replaced by DASH.
This causes problems to scripts including those used by Heyu.

/bin/sh is a simlink to /bin/dash.
You need to change this to /bin/bash

To do so simply:

sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh

(all the details here: http://lists.debian.org/debian-amd64/2011/07/msg00012.html)

Once this done, my problem was fixed!
Hope this can help others or myself again in a few years :)

Thx for your inspiration!

NOTE: I posted a new thread for this issue since the original dated from 2011. It's pending acceptance from moderator. Once published, i'll go and post this solution for all to see.  Thx
Reply all
Reply to author
Forward
0 new messages