Package: wavesurfer
Version: 1.8.8p4-2
Severity: normal

Dear Maintainer,

today I noticed that the flag "Make this the default configuration"
makes wavesurfer crash.

I also tried to delete the directory ~/.wavesurfer/1.8 and launch
wavesurfer again. This respawn the ~/.wavesurfer/1.8 directory (with a
default one), but the problem persists.  I did that in order to be
sure that the issue is not due to my specific configuration.

I invoke wavesurfer from a terminal, like this
$ wavesurfer afile.wav

When asked to choose a configuration, I click on the flag "Make this
the default configuration", enabling it.  Then I choose a
configuration from the menu, and finally I get an error message and a
return code "1".

I tried several preset configurations, but the program always crashes
when said flag is enabled.

You can find the Error Message I get below my signature.

Thanks in advance and best regards,
   Giacomo Sommavilla.


--- Error Message ---
no drag and drop support
OpenFile afile.wav
defaultConfig=
::wsPriv(b)             = ok
::wsPriv(defaultconfig) = 1
makedefault=1
Error in startup script: can't read "Info(t,quality)": no such element in array
    while executing
"string compare $Info($var) $Info(t,$var)"
    (procedure "ApplyPreferences" line 5)
    invoked from within
"ApplyPreferences"
    (in namespace inscope "::wsurf::ogg" script line 1)
    invoked from within
"::namespace inscope ::wsurf::ogg ApplyPreferences"
    ("eval" body line 1)
    invoked from within
"eval $proc"
    (procedure "::wsurf::ApplyPreferences" line 33)
    invoked from within
"::wsurf::ApplyPreferences"
    (procedure "ApplyPreferences" line 14)
    invoked from within
"ApplyPreferences"
    (procedure "::SavePreferences" line 4)
    invoked from within
"::SavePreferences"
    invoked from within
"if $makedefault {
                wsurf::SetPreference defaultConfig [file root [file tail $conf]]
                ::SavePreferences
            }"
    (procedure "OpenFile" line 39)
    invoked from within
"OpenFile $file"
    ("foreach" body line 5)
    invoked from within
"foreach file $surf(filelist) {
  if {$surf(conf) != "unspecified"} {
   OpenFile $file [lindex $surf(conf) $i]
  } else {
   OpenFile $file
  }
  incr..."
    invoked from within
"if {[llength $surf(filelist)] == 0} {
 # no files given on command line, pack an empty widget
 set w [wsurf .x.s[incr surf(count)] -messageproc setMs..."
(file "/usr/share/tcltk/wavesurfer/app-wavesurfer/wavesurfer.tcl" line 3435)
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  7 (RenderFreePicture)
  Picture id in failed request: 0x3e0007c
  Serial number of failed request:  10813
  Current serial number in output stream:  10897
giacomo@marmolada:~/test$
giacomo@marmolada:~/test$
giacomo@marmolada:~/test$
giacomo@marmolada:~/test$ wavesurfer afile.wav
no drag and drop support
OpenFile afile.wav
defaultConfig=
::wsPriv(b)             = ok
::wsPriv(defaultconfig) = 1
makedefault=1
Error in startup script: can't read "Info(t,quality)": no such element in array
    while executing
"string compare $Info($var) $Info(t,$var)"
    (procedure "ApplyPreferences" line 5)
    invoked from within
"ApplyPreferences"
    (in namespace inscope "::wsurf::ogg" script line 1)
    invoked from within
"::namespace inscope ::wsurf::ogg ApplyPreferences"
    ("eval" body line 1)
    invoked from within
"eval $proc"
    (procedure "::wsurf::ApplyPreferences" line 33)
    invoked from within
"::wsurf::ApplyPreferences"
    (procedure "ApplyPreferences" line 14)
    invoked from within
"ApplyPreferences"
    (procedure "::SavePreferences" line 4)
    invoked from within
"::SavePreferences"
    invoked from within
"if $makedefault {
                wsurf::SetPreference defaultConfig [file root [file tail $conf]]
                ::SavePreferences
            }"
    (procedure "OpenFile" line 39)
    invoked from within
"OpenFile $file"
    ("foreach" body line 5)
    invoked from within
"foreach file $surf(filelist) {
  if {$surf(conf) != "unspecified"} {
   OpenFile $file [lindex $surf(conf) $i]
  } else {
   OpenFile $file
  }
  incr..."
    invoked from within
"if {[llength $surf(filelist)] == 0} {
 # no files given on command line, pack an empty widget
 set w [wsurf .x.s[incr surf(count)] -messageproc setMs..."
(file "/usr/share/tcltk/wavesurfer/app-wavesurfer/wavesurfer.tcl" line 3435)
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  7 (RenderFreePicture)
  Picture id in failed request: 0x400007c
  Serial number of failed request:  11171
  Current serial number in output stream:  11255




-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wavesurfer depends on:
ii  tcl-snack [libsnack2]  2.2.10.20090623-dfsg-4
ii  tk8.4 [wish]           8.4.20-1
ii  tk8.5 [wish]           8.5.14-2

wavesurfer recommends no packages.

wavesurfer suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to