Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IndexError: list index out of range (*solved*)
#1
Hi all

I'm trying to compile a piece of code but I get the following output:

zxb.exe my_program.bor --org=27000 --heap-size=1024 -t -B -
Traceback (most recent call last):
File "zxb.py", line 312, in <module>
File "zxb.py", line 246, in main
File "zxbtrad.pyc", line 316, in traverse
File "zxbtrad.pyc", line 1035, in traverse
File "zxbtrad.pyc", line 316, in traverse
File "zxbtrad.pyc", line 1040, in traverse
File "zxbtrad.pyc", line 316, in traverse
File "zxbtrad.pyc", line 1035, in traverse
File "zxbtrad.pyc", line 316, in traverse
File "zxbtrad.pyc", line 1035, in traverse
File "zxbtrad.pyc", line 316, in traverse
File "zxbtrad.pyc", line 1035, in traverse
IndexError: list index out of range

What does it means? I'm using 1.2.8s715 version

Cheers
Reply
#2
This looks like a compiler bug. :!: Please send my your code by email, to test it.
Reply
#3
Sent. I'm re-checking the code with the last part I added; maybe I'll find something.

Cheers
Reply
#4
"Traceback (most recent call last)" can be probably caused by trying to write file to the output directory which is write protected by the system (Like C: on Windows 7).
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#5
That's the error that BorIDE gaves me but the directory is the same as always (not C:, of course) so I thought that couldn't be the problem. Then, I tried to compiled directly from command line... and that's what I found.

Cheers
Reply
#6
Confirmed: It was a bug (now fixed). Please, download version 1.2.8s718 here:
<!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Archive">http://www.boriel.com/wiki/en/index.php ... IC:Archive</a><!-- m --> :roll:
Reply
#7
Glad to ear it Smile Downloading...

Cheers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)