Re: [ecasound] ecaeditsetupcrash

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] ecaeditsetupcrash
From: janne halttunen (jhalttun_AT_pp.htv.fi)
Date: Tue Sep 25 2001 - 01:28:30 EEST


On Mon, 24 Sep 2001, kelly george hirai wrote:

> two crashes at save time, now it insists on calling all my chains "-q".

Use ESC to exit and start over. I have little of ideas on what could
have caused this.

> using
> Python 2.1.1 (#1, Sep 19 2001, 09:58:08)
> [GCC 2.95.2 19991024 (release)] on linux2
>
> hope you are well. k
>
> khirai_AT_kgh:~ > ecasetup
> Traceback (most recent call last):
> File "/usr/zip/eca/ecasetupedit-0.1/ecasetupedit.py", line 1261, in ?
> setup,file=curses.wrapper(main)
<cut>
> File "/usr/zip/eca/ecasetupedit-0.1/ecasetupedit.py", line 117, in
> remove_chain
> I.store_cut[node]=I.cut_tree(node)
> File "curwid/widgets.py", line 765, in cut_tree
> ValueError: list.index(x): x not in list

Krhmm. I guess, a 'Remove'-button for some already removed node was
unintentionally left visible and pressing it caused this crash.

I have plans for replacing the current remove/restore scheme with
a cut/copy/paste one, perhaps more familiar to the desktop users.

> khirai_AT_kgh:~ > ecasetup
> Traceback (most recent call last):
> File "/usr/zip/eca/ecasetupedit-0.1/ecasetupedit.py", line 1261, in ?
<cut>
> File "/usr/zip/eca/ecasetupedit-0.1/ecasetupedit.py", line 867, in save
> ecsWriter(I, 'tmp_ese.ecs')
> File "/usr/zip/eca/ecasetupedit-0.1/ecasetupedit.py", line 1075, in
> ecsWriter
> if last_controller[chain[-1]] \
> IndexError: list index out of range
> khirai_AT_kgh:~ >

Hups! That last line should check the list 'chain' before pointing in it.
I fix this for the next release.

Happy hunting,

janne

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Sep 25 2001 - 01:26:11 EEST