Menu

#18 filename length bug

open
None
5
2005-09-26
2004-01-09
No

hi bstard,

I think I found the real problem
the problem weren't the many files in the directory
the problem is the filename lenght
the filename was about 90 characters long, after i
changed it the browsing of that directory worked again

have you changed something there? i remember that it
worked with older versions :-)

Discussion

  • Jarl van Katwijk

    Logged In: YES
    user_id=184138

    ic.. will look at it asap .. again;) I'll create a huge dir (much
    lager as 90) on my machine, guess I'll find the problem pretty
    fast. Will let yoo know once it's fixed and commited to CVS.

     
  • Jarl van Katwijk

    Logged In: YES
    user_id=184138

    I just tested
    /home//Movies/temp/tempAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAA/tempAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAA/tempAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/test.mpg
    (not it's one long dir, cut it of tobe readable here)

    I'ts working for me. When I make the directory any longer it
    does kill the KiSS. But when I try to add that killing dir
    to Kiss's PC-link 1.3 it doens't let me select it. So I've
    to figure out what the max. lenght of a dir is. Currently it
    very much looks like this is a limitatation of the KiSS itself..

     
  • - 2004-01-13

    Logged In: YES
    user_id=943767

    ehm i talked about the filename length :-)
    not the directory :-)

     
  • - 2004-01-13

    Logged In: YES
    user_id=943767

    filenaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaablaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaam.avi

    works with PC-Link 1.3 but not with dp500serv cvs, worked
    with dp500serv 0.2 :-)

     
  • Jarl van Katwijk

    Logged In: YES
    user_id=184138

    Just tested a file named
    "filenaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaablaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaam.avi" (copy-pasted
    it from your post), and it does not work.. PClink-13
    replaced the "" characters by "S"'s, by doing so it wont
    find the file on disk. I didn't tried any futher.. I guess
    you're simply using signs/lengths unsupported by the KiSS.
    dp500serv will NOT replace the ""'s by "S"'s, by so it
    crashes the machine.

    Maybe you cant copy-paste me the real filename of the file
    that does work on dp500serv-0.2, and doesn't anymore on 0.3
    EXACTLY... And please do an actual test with pc-link-1.3,
    dont just give me something I can waste my time on.

     
  • - 2004-01-13

    Logged In: YES
    user_id=943767

    *sigh*

    I don't know why you don't believe me i tested it with the
    same filename and the player crashes with your dp500serv
    but not with Kiss PC-Link 1.3

    Ok now a detailed and tested example only for you:
    dp500serv and PC-Link 1.3 Serving both same directory
    named "hde1"

    Test with PC-Link 1.3 and dp500serv v0.2
    Opening the video menu on the kiss
    directory hde1 gets listed
    I open it
    i get the one testfile in that directory listed named:

    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.avi

    yes 88 "x's" + .avi

    ok i press the play button on remote and the file is played

    now the same with dp500serv (CVS)
    Opening the video menu on the kiss
    directory hde1 gets listed
    trying to open the hde1 directory
    <CRASH> player hangs up, no response, have to reboot it

    Ok and now don't tell me it's the players fault it is working
    with the original PC-Link 1.3 :-)

    logfile when trying to play on the cvs version
    debug mode 4

    Tue Jan 13 20:38:48 2004 | add_new_client, allocing 32 bytes
    Tue Jan 13 20:38:48 2004 | add_new_client, exiting
    Tue Jan 13 20:38:48 2004 | CONNECT: New connection
    Tue Jan 13 20:38:48 2004 | get_line_lim: len = 0, REC_LIMIT
    = 512
    Tue Jan 13 20:38:48 2004 | get_line_lim 3 FIRST = LIS
    Tue Jan 13 20:38:48 2004 | New command: LIST VIDEO ||
    Tue Jan 13 20:38:48 2004 | LIST Comparing with
    DP500ServMenu
    Tue Jan 13 20:38:48 2004 | LIST: Added playlists entries
    Tue Jan 13 20:38:49 2004 | add_new_client, entering
    Tue Jan 13 20:38:49 2004 | add_new_client, allocing 32 bytes
    Tue Jan 13 20:38:49 2004 | add_new_client, exiting
    Tue Jan 13 20:38:49 2004 | CONNECT: New connection
    Tue Jan 13 20:38:50 2004 | get_line_lim: len = 0, REC_LIMIT
    = 512
    Tue Jan 13 20:38:50 2004 | get_line_lim 3 FIRST = LIS
    Tue Jan 13 20:38:50 2004 | New command: LIST VIDEO
    |hde1|
    Tue Jan 13 20:38:50 2004 | LIST Comparing hde1 with
    DP500ServMenu
    Tue Jan 13 20:38:50 2004 | LIST: Added playlists entries
    Tue Jan 13 20:38:50 2004 | FILE:
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.avi DESC: (null) EXT:avi
    Tue Jan 13 20:38:50 2004 | FILE:
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.avi DESC: (null) EXT:avi
    Tue Jan 13 20:38:50 2004 | LIST:
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.avi|/mnt/hde1/xxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxx.avi|0|

     
  • Jarl van Katwijk

    Logged In: YES
    user_id=184138

    OK, will go on with
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.avi (which is a complete other
    story as filenaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaablaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaam.avi, this one does
    not work in both apps)

    thnx;)

     
  • Jarl van Katwijk

    Logged In: YES
    user_id=184138

    dp500serv was letting the KiSS die on long filename because
    it added a little extra to the filename:
    Original: /home/test.avi
    Given by (old) dp500serv: /home/test.avi\test.avi

    This was doen to get the filename to how up on the Setup menu..
    Changed to way dp500serv passes filename, so now lenghts
    like PC-link1.3 can be done:
    original: /home/test.avi
    given by (new) dp500serv: /home\test.avi

    But the kiss will still die on too long filenames.. this is
    a bug in the kiss. filenames like
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.avi" will work now (tested),
    but filenames twice as long will again let the kiss die.
    Maybe think about the way you gives names to files when this
    happens ;)

     
  • Erik Kunze

    Erik Kunze - 2005-09-26

    Logged In: YES
    user_id=571110

    Please try the current CVS version.

     
  • Erik Kunze

    Erik Kunze - 2005-09-26
    • assigned_to: nobody --> eku
     

Log in to post a comment.

MongoDB Logo MongoDB