[vlc] [vlc]cannot open files with vlc-snapshot-20070425

Berke Viktor bervi at users.sourceforge.net
Wed Apr 25 02:58:14 CEST 2007


Hi,

I've compiled vlc-snapshot-20070425 on a Slackware-current machine. My
problem is that I can't open files with the dialog box. If I try it
with "open with" in my file manager, it's OK. It also works if I run it
from console with vlc xy.file.

I have compiled it with the wxwidgets interface 2.8.3 with the
following patch:



diff -u -r vlc.orig/configure vlc/configure
--- vlc.orig/configure	2007-04-20 23:34:15.000000000 +0200
+++ vlc/configure	2007-04-20 23:35:07.000000000 +0200
@@ -62207,7 +62207,8 @@
 
   if test "${WX_CONFIG}" != "no" -a "${CXX}" != ""
   then
-    if expr 2.6.0 \> `${WX_CONFIG} --version` >/dev/null ||  expr
2.7.0 \<= `${WX_CONFIG} --version` >/dev/null
+    if expr 2.8.3 \> `${WX_CONFIG} --version` >/dev/null
+# ||  expr 2.7.0 \<= `${WX_CONFIG} --version` >/dev/null
     then
       { { echo "$as_me:$LINENO: error: You need wxWidgets of the 2.6
branch. Please upgrade/downgrade and try again. Better yet, you can
configure with --disable-wxwidgets." >&5 echo "$as_me: error: You need
wxWidgets of the 2.6 branch. Please upgrade/downgrade and try again.
Better yet, you can configure with --disable-wxwidgets." >&2;} diff -u
-r vlc.orig/modules/gui/wxwidgets/dialogs.cpp
vlc/modules/gui/wxwidgets/dialogs.cpp ---
vlc.orig/modules/gui/wxwidgets/dialogs.cpp	2007-04-20
23:34:15.000000000 +0200 +++
vlc/modules/gui/wxwidgets/dialogs.cpp	2007-04-20
23:36:49.000000000 +0200 @@ -382,7 +382,7 @@
{ p_file_generic_dialog->SetMessage( wxU(p_arg->psz_title) );
p_file_generic_dialog->SetWildcard( wxU(p_arg->psz_extensions) );
-        p_file_generic_dialog->SetStyle( (p_arg->b_save ? wxSAVE :
wxOPEN) |
+        p_file_generic_dialog->SetWindowStyle( (p_arg->b_save ?
wxSAVE : wxOPEN) | (p_arg->b_multiple ? wxMULTIPLE:0) );
     }
 


The changes actually applied by this patch is that configure will
finish without error when it founds wxWidgets newer than 2.6 and
SetStyle is replaced with SetWindowStyle in dialogs.cpp. So I don't
think this patch causes the problem.

The error message in the console when I try to open a file with, for
example, Ctrl+O:



bash-3.2$ vlc
VLC media player 0.9.0-svn Grishenko
[00000308] main playlist error: Reloading playlist not implemented.
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't stat ��e/viktor/downloads/music/ng/02.wav
Nincs ilyen fájl vagy könyvtár
libdvdnav: vm: faild to open/read the DVD
[00000321] access_directory access error:
��e/viktor/downloads/music/ng/02.wav: Nincs ilyen fájl vagy könyvtár
[00000321] access_file access error: cannot open file
��e/viktor/downloads/music/ng/02.wav (Nincs ilyen fájl vagy könyvtár)
[00000318] main input error: open of
`��e/viktor/downloads/music/ng/02.wav' failed: could not create access:
no suitable access2 module



My system is somewhat localised, "Nincs ilyen fájl vagy könyvtár" means
"No such file or directory".

I have also compiled 0.8.6a some time ago and it worked with the same
configuration.

-- 

Greetings,

Berke Viktor

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list