Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#284271 - 10/07/2006 14:08 Emphatic install trouble
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Version 2.0 final developer
Tried installing emphatic and having a problem.
Here is the FTP log
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Installing emphatic...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please enter the IP address of your empeg:
> 192.168.1.140


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please enter the directory to install emphatic to:
> usr/local/bin/emphatic


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Perform an upgrade install of emphatic? Selecting "no" here will allow you
to change advanced config options, and will install the default emphatic XML
configuration file. If you select "yes", we will perform an upgrade install,
and your existing configuration will be unchanged. If you upgrade, you will
have to add new config options to the XML by hand.
Upgrade an existing emphatic installation in usr/local/bin/emphatic (y/n)?
n

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Would you like me to modify your config.ini to launch emphatic
when your empeg boots?
If you choose 'n' here, you will have to launch emphatic manually,
or using a 3rd party launcher
Add ;@EXEC_ONCE entry to config.ini? (y/n)?
n


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
emphatic allows you to rate your songs to provide a weighted shuffle mode
that favors your highest-rated songs. Would you like to add this shuffle
mode to your config.ini? If you have already done this before, select
'n' here. You can always add/modify this shuffle mode in config.ini later
if you know what you're doing.
Add "Favorites" shuffle mode to config.ini? (y/n)?
n


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
For optimum performance, you may want to reserve some player memory for
running emphatic and other 3rd party applications. If you select 'y'
here, config.ini will be modified to reserve 10 cache blocks (about 300k).
If you select 'n', the ReserveCache entry in your config.ini will be left
as-is.
Reserve 10 cache blocks for 3rd party applications? (y/n)?
n


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Alright, pay attention. Song ratings in emphatic range from 1 to 10.
Prior to running emphatic, the player has all song ratings set at 0.
This means that songs you haven't rated yet aren't going to pop up in a
weighted shuffle mode until the very end. This is usually not
desirable behavior.

To fix this, the installation procedure can walk through your dynamic
data partition and initialize song ratings to 5, which will mean all
songs start off with an "average" rating, which you can raise or lower
to your liking.

I've tested this procedure extensively on my own empegs, under various
versions of player software v2 and v3. I have had no problems with this
procedure, but because it involves writing some data to the player's
dynamic data partition, I'm giving you the chance to bail out on this
part of the install. If you choose not to initialize your song ratings,
you will find that unrated songs rarely show up in a shuffle, which will
make doing song ratings difficult if you're in "Favorites" shuffle mode.

If you choose "Y" here, the install process will execute emphatic on
your empeg to initialize the song rating data. This may take some time,
possibly up to a minute or more, but probably more like 20-30 seconds.

If you're really worried, you may wish to break out of this script now
and back up your dynamic data partition.

Initialize song rating data on your empeg? (y/n)?
n


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Okay, I will now install emphatic to directory usr/local/bin/emphatic on 192.168
.1.140

Do you wish to proceed? (y/n)?
y
Connected to 192.168.1.140.
220 Connected.
User (192.168.1.140:(none)):
230 Login okay.
ftp> quote site rw
200 Okay.
ftp> quote site exec mkdir -p usr/local/bin/emphatic
200 Okay.
ftp> cd usr/local/bin/emphatic
250 "/usr/local/bin/emphatic" directory changed
ftp> bin
200 Okay.
ftp> put emphatic
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 392924 bytes sent in 0.53Seconds 741.37Kbytes/sec.
ftp> put irattach
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 22883 bytes sent in 0.00Seconds 22883000.00Kbytes/sec.
ftp> put 13pixel.bf
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 13032 bytes sent in 0.01Seconds 1303.20Kbytes/sec.
ftp> put large.bf
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 15626 bytes sent in 0.00Seconds 15626000.00Kbytes/sec.
ftp> put postinstall.sh
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 3391 bytes sent in 0.00Seconds 3391000.00Kbytes/sec.
ftp> ascii
200 Okay.
ftp> put emphatic.xml
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 15552 bytes sent in 0.00Seconds 15552000.00Kbytes/sec.
ftp> put emphatic.dtd
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 22618 bytes sent in 0.00Seconds 22618000.00Kbytes/sec.
ftp> quote site chmod 755 emphatic
200 Okay.
ftp> quote site chmod 755 irattach
200 Okay.
ftp> quote site chmod 755 usr/local/bin/emphatic/postinstall.sh
550 Failed.
ftp> quote site chmod 644 emphatic.dtd
200 Okay.
ftp> quote site chmod 644 13pixel.bf
200 Okay.
ftp> quote site chmod 644 large.bf
200 Okay.
ftp> quote site chmod 644 emphatic.xml
200 Okay.
ftp> quote site exec usr/local/bin/emphatic/postinstall.sh usr/local/bin/emphati
c 0 0 0 0
541 ERROR (rc=126)
ftp> quote site exec rm -f usr/local/bin/emphatic/postinstall.sh
200 Okay.
ftp> quote site ro
200 Okay.
ftp> quit
221 Happy Fishing.
emphatic installed.
Press any key to continue . . .

The menu shows up in Hijack 461
;@MENUEXEC Emphatic exec /usr/local/bin/emphatic

And here are the files in the folder

Index of /usr/local/bin/emphatic
--------------------------------------------------------------------------------

drwxr-xr-x 2 0 0 1024 Jul 10 15:57 ./
drwxr-xr-x 3 0 0 1024 Jul 10 15:57 ../
-rwxr-xr-x 1 0 0 392924 Jul 10 16:03 emphatic
-rwxr-xr-x 1 0 0 22883 Jul 10 16:03 irattach
-rw-r--r-- 1 0 0 13032 Jul 10 16:03 13pixel.bf
-rw-r--r-- 1 0 0 15626 Jul 10 16:03 large.bf
-rw-r--r-- 1 0 0 3391 Jul 10 16:03 postinstall.sh
-rw-r--r-- 1 0 0 15552 Jul 10 16:03 emphatic.xml
-rw-r--r-- 1 0 0 22618 Jul 10 16:03 emphatic.dtd


--------------------------------------------------------------------------------
[Click here for playlists]
Hijack v461 by Mark Lord

When I select Emphatic from the Hijack menu nothing happens.
Any thoughts/help please?
_________________________
MIKE 80Gb RIO

Top
#284272 - 10/07/2006 14:43 Re: Emphatic install trouble [Re: newguy1]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Looks like it didn't run the postinstall file.

Use hyperterminal to get to a shell prompt on the player, then run the following three commands
Code:

chmod 755 /usr/local/bin/emphatic/postinstall.sh
/usr/local/bin/emphatic/postinstall.sh /usr/local/bin/emphatic 0 0 0 0
rm -f /usr/local/bin/emphatic/postinstall.sh



Make sure you copy and paste them EXACTLY as entered here.
_________________________
~ John

Top
#284273 - 10/07/2006 17:11 Re: Emphatic install trouble [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Most likely, the problem is that you typed the install location as:

"usr/local/bin/emphatic"

That's wrong because it doesn't have a leading slash. The install script works fine in creating the directories and putting the files there (since the FTP session starts out in the root directory) but when it tries to SITE EXEC the file it's trying to launch "usr/local/bin/emphatic" from within the /usr/local/bin/emphatic directory, meaning it's actually trying to launch "/usr/local/bin/emphatic/usr/local/bin/emphatic".

Re-run the install with the leading slash in the install path and it *should* work.
_________________________
- Tony C
my empeg stuff

Top
#284274 - 10/07/2006 17:27 Re: Emphatic install trouble [Re: tonyc]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
I figured that was the case, but since everything else worked, I figured I'd just have him run the postinstall script. You'll notice I included the leading slash.

Tony wrote the thing, so do what he says .
_________________________
~ John

Top
#284275 - 10/07/2006 19:19 Re: Emphatic install trouble [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
I knew it was user error.
Thanks,added the slash and the install had no errors.
However I still can't run it from Hijack. What should the exact command be under Hijack to run the program?
_________________________
MIKE 80Gb RIO

Top
#284276 - 10/07/2006 20:03 Re: Emphatic install trouble [Re: newguy1]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Well I reinstalled the player software,hijack and emphatic using the option to have emphatic start at bootup and that worked.Then I just edited the config so I could start emphatic thru Hijack and that worked.
The difference I noticed was I had originally
;@MENUEXEC +emphatic exec /usr/local/bin/emphatic
and It works with
;@MENUEXEC +emphatic exec /usr/local/bin/emphatic/emphatic
So once again user error
_________________________
MIKE 80Gb RIO

Top