Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Errors when compiling (*solved*)
#1
Bug 
I'm using Boriel 1.9.8 (I think) on MacOS 10.15.4 with Python3 (version 3.7.7, installed via HomeBrew). I'm invoking Boriel thusly:
Code:
python3 ~/bin/zxbasic/zxb.py bugreport1.bas --tzx --BASIC --autorun
However, each time I try to compile, I get a bunch of Python diagnostics:
Quote:/Users/mauvedeity/bin/zxbasic/ply/lex.py:760: FutureWarning: Possible nested set at position 10
  c = re.compile('(?P<%s>%s)' % (fname, _get_regex(f)), self.reflags)
/Users/mauvedeity/bin/zxbasic/ply/lex.py:498: FutureWarning: Possible nested set at position 274
  lexre = re.compile(regex, reflags)

I still get the TZX file I asked for, but I'm wondering what I'm doing wrong here.
I've since found that I get these errors even if I invoke Boriel without any arguments.
Any suggestions? Any more information I can provide?
Reply
#2
Hi, that's not an error, but a Warning. You can keep using the compiler safely.
This warning will be fixed in the upcoming 1.10.1.
You can download a beta preview here:
http://www.boriel.com/files/zxb/zxbasic-...-win32.zip
http://www.boriel.com/files/zxb/zxbasic-...ta5.tar.gz
http://www.boriel.com/files/zxb/zxbasic-...-beta5.zip
Reply
#3
ZX Basic 1.10.1 has been finally released (and fixes that warning):
https://zxbasic.readthedocs.io/en/latest/archive/  Cool
Reply
#4
(05-30-2020, 10:30 AM)boriel Wrote: ZX Basic 1.10.1 has been finally released (and fixes that warning):
https://zxbasic.readthedocs.io/en/latest/archive/  Cool

Hi, thanks for the update! I’ll download and update when I get a chance.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)