Pilot6
1
It throws python errors. Something is broken there
File "/media/HardDrive/Development/Openwrt/openwrt/build_dir/target-mips_24kc_musl/wireless-regdb-2017-10-20-4343d359/db2fw.py", line 13
print 'Usage: %s output-file input-file' % sys.argv[0]
^
SyntaxError: Missing parentheses in call to 'print'
Pilot6
2
@jow
Can someone look at this. I can build master but can't build 19.07 branch. It worked a few days ago.
My system is Ubuntu 16.04.
hnyman
3
Sounds like you have only python3 installed in Ubuntu, and the 19.07 toolchain needs python2.
(source code looks like python2, while the error message implies python3)
Ubuntu has currently only python3 installed and you need to install also python2 for 19.07
Pilot6
4
I have old 16.04 Ubuntu that has both python2 and python3.
Pilot6
5
And the toolchain has its own python.
Pilot6
6
This must be a problem when I built master and 19.07 from the same toolchain by a mistake.
I am cleaning this up.
1 Like
Pilot6
7
They changed env to python3 globally in master. So this is fixed.
system
Closed
8
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.