Unoffical empeg BBS

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

Topic Options
#122245 - 22/10/2002 08:19 jemplode 42 bug.
BAKup
addict

Registered: 11/11/2001
Posts: 552
Loc: Houston, TX
I've found that jemplode 42 can't deal with Mp3s that it doesn't have permission to read. If it doesn't have permission, it acts like everything is fine, unitl you do a sync, then it'll just reboot the player after dumping the database without uploading or rebuilding the database(forcing a long wait, and a resync to rebuild the database).
_________________________
--Ben
78GB MkIIa, Dead tuner.

Top
#122246 - 22/10/2002 11:25 Re: jemplode 42 bug. [Re: BAKup]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Now that's weird .. I would think that it would fail with an IOException when it tried to parse the MP3 to read its headers ... I wonder if that error gets swalled because it can't read the header to see that it's an MP3 and thus assumes that you're doing file taxiing. Interesting ...

Top
#122247 - 22/10/2002 21:19 Re: jemplode 42 bug. [Re: mschrag]
BAKup
addict

Registered: 11/11/2001
Posts: 552
Loc: Houston, TX
Is there anything I can do to help? Is there a way to get JEmplode to dump a log that I could send to you?
_________________________
--Ben
78GB MkIIa, Dead tuner.

Top
#122248 - 23/10/2002 02:35 Re: jemplode 42 bug. [Re: mschrag]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
Don't you get SecurityException if you try to open a file for which you don't have sufficient permissions, rather than IOException?
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#122249 - 23/10/2002 05:16 Re: jemplode 42 bug. [Re: tms13]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I'm pretty sure that OS-level permission checks result in lame IOExceptions (sometimes with a string message "Permission Denied"). Whoever designed exception handling in the IO framework was on crack.

Top
#122250 - 23/10/2002 05:19 Re: jemplode 42 bug. [Re: BAKup]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
That's OK -- This should be a pretty easy scenario to setup here... I'll let you know if I can't reproduce it then I might get a log from you.

Top
#122251 - 27/10/2002 07:03 Re: jemplode 42 bug. [Re: tms13]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
So the official closure for this = FileNotFoundException("Access Denied"). Not SecurityException . Oh well.. FileNotFoundException = good enough for me... I'm actually surprised it's not just a top level IOException.

Top