Summary: | length is not determined with certain LANG + LC_MESSAGES settings | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> | ||||||||
Component: | smplayer | Assignee: | drool <drool> | ||||||||
Status: | CLOSED WONTFIX | QA Contact: | qa-sisyphus | ||||||||
Severity: | minor | ||||||||||
Priority: | P2 | CC: | drool, drool, evg, ruslandh | ||||||||
Version: | unstable | ||||||||||
Hardware: | all | ||||||||||
OS: | Linux | ||||||||||
Attachments: |
|
Description
Ivan Zakharyaschev
2008-02-10 08:58:32 MSK
Created attachment 2429 [details]
one-two.wav.bz2
Created attachment 2430 [details]
smplayer.out
Created attachment 2437 [details]
screenshot
try smplayer-0.6.0-alt0.rc2
on my rc2 this not reproduced
plays perfectly smplayer-0.6.0-alt0.rc2 The situation remains the same. It seems that on the first play the progress indicator works. But on subsequent plays it doesn't work. I checked this on a new user. The first time -- works, the second time -- doesn't work; after `rm -rf .smplayer/' works again, subsequent times doesn't work again. No, I was wrong about the test under a new user. Under the new user, it always works. That time I didn't give him enough rights to access audio. But under my user the progress indicator never works, even if a delete ~/.smplayer/. I haven't understood yet what the important difference is... If I understand this, I'll write. Under my user "Options" > "View info and properties" shows (NB: length == 0): one-two.wav General File /space/ivan/OUT/ALT/bugreports/wav/one-two.wav Size 684 KB (0 MB) Length 00:00:00 Demuxer audio Under the other user where the progress indicator works (NB: length == 7 sec!): one-two.wav General File /space/ivan/OUT/ALT/bugreports/wav/one-two.wav Size 684 KB (0 MB) Length 00:00:07 Demuxer audio I don't know why. (In reply to comment #6) > But under my user the progress indicator never works, even if a delete ~/.smplayer/. > try to delete ~/.config/RVM/smplayer (i dont' remeber is it actual or not now) just try again with file you attached - play 3 times, start smplayer again and play 2 times. Allways show indication. no, deleting that one didn't help. But $ unset LESSKEY HOSTNAME GPG_AGENT_INFO TMPDIR CVSROOT CCACHE_LOGFILE LIBCM_TFP QTDIR QTINC http_proxy GCC_USE_CCACHE CCACHE_DIR USERNAME GTKLP_FORCEX MINICOM MAIL INPUTRC LANG LC_MESSAGES SLINK_DEVICE SSH_ASKPASS TEXINPUTS GPG_TTY DICTIONARY HOME MONO_EXTERNAL_ENCODINGS BASH_ENV G_FILENAME_ENCODING LESS LOGNAME TMP QTLIB CVS_RSH MPAGE XDG_DATA_DIRS LESSOPEN LADSPA_PATH G_BROKEN_FILENAMES helped (these are almost all variables). I'm going to investigate which ones are responsible for this bug. These are not important: $ unset QTLIB QTINC QTDIR the bug is present after this. Ha-ha, LANG was the one. unsetting LANG helped. I have LANG == ru_RU.KOI8-R. Finally, the test: in a new user's shell I unset all locale variables (in my case, LANG, LC_MESSAGES) and: $ LANG=ru_RU.KOI8-R LC_MESSAGES=POSIX smplayer /usr/share/sounds/KDE_Startup.wav This way the indicator doesn't work. The combination of the 2 values causes the bug, any single one of these variables' values doesn't cause the bug. (In reply to comment #11) > Finally, the test: > > in a new user's shell I unset all locale variables (in my case, LANG, > LC_MESSAGES) and: > > $ LANG=ru_RU.KOI8-R LC_MESSAGES=POSIX smplayer /usr/share/sounds/KDE_Startup.wav > > This way the indicator doesn't work. The combination of the 2 values causes the > bug, any single one of these variables' values doesn't cause the bug. Aha. That's reproduced :) Veeeery strange LC_MESSAGES and LANG you have there :) (In reply to comment #12) > Aha. That's reproduced :) Veeeery strange LC_MESSAGES and LANG you have there :) No, I always found this to be a very reasonable combination. I want to have all the interface messages in the default language (English), because translations of UI are difficult to understand quickly. But I'm surrounded by Russia and Russian, so I want all other localizable stuff to be set up for Russian: filenames might be in Russian, I'm used to the Russian date format, Russian metric units etc. New from author.
citation:
"I've just run that command and I can't reproduce the problem, the length is 8
and the slider moves.
Anyway I guess the problem is with the decimals:
> A: 2,3 (02.2) of 7,0 (07.0) 0,1% 5%
For me it displays this:
A: 5.3 (05.2) of 8.0 (08.0) 0.0%
With a dot, not a comma.
"
Is this bug reproduces with '.' as digit divider ?
What language in smplayer interface?
PS: i never thought that somebody will use smplayer as audio player :)
(In reply to comment #14) > citation: > "I've just run that command and I can't reproduce the problem, the length is 8 > and the slider moves. > > Anyway I guess the problem is with the decimals: > > > A: 2,3 (02.2) of 7,0 (07.0) 0,1% 5% > > For me it displays this: > > A: 5.3 (05.2) of 8.0 (08.0) 0.0% > > With a dot, not a comma. > " > > Is this bug reproduces with '.' as digit divider ? > What language in smplayer interface? Of course, as it was shown in the comments above, the problem is connected with the "strange" locale I have. I even gave there an exact way to reproduce the problem: $ LANG=ru_RU.KOI8-R LC_MESSAGES=POSIX smplayer /usr/share/sounds/KDE_Startup.wav > PS: i never thought that somebody will use smplayer as audio player :) That's not important; simply, my first thoughts were that this behavior depends on the input file format. (In reply to comment #15) > $ LANG=ru_RU.KOI8-R LC_MESSAGES=POSIX smplayer /usr/share/sounds/KDE_Startup.wav with other locale/language vars unset. Perhaps, the author might have no ru_RU.KOI8-R locale in his system, but the source of the problem should be obvious. Probably there is a mismatch between the actual decimal format and the expected decimal format somewhere "inside". Это еще актуально? Как я понимаю - уже не актуально. |