Project

General

Profile

Bug #2844

WebUI not building on latest git release

Added by Kaya Saman over 9 years ago. Updated over 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-05-14
Due date:
% Done:

100%

Estimated time:
Found in version:
Git
Affected Versions:

Description

Cleaned out the old repo: rm -rf, then git clone

Still get error:

$ make
Receiving data/dvb-scan/dvb-t from http://linuxtv.org/git/dtv-scan-tables.git
make -f Makefile.webui all
make1: Entering directory '/home/htpc/tvheadend/tvheadend'
make -f Makefile.webui WEBUI=std compile-std
make2: Entering directory '/home/htpc/tvheadend/tvheadend'
Traceback (most recent call last):
File "vendor/rjsmin-1.0.10/rjsmin.py", line 446, in <module>
main()
File "vendor/rjsmin-1.0.10/rjsmin.py", line 444, in main
_sys.stdin.read(), keep_bang_comments=keep_bang_comments
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 746168: ordinal not in range(128)
Makefile.webui:193: recipe for target 'src/webui/static/tvh.js.gz' failed
make2: * [src/webui/static/tvh.js.gz] Error 1
make2: Leaving directory '/home/htpc/tvheadend/tvheadend'
Makefile.webui:173: recipe for target 'all' failed
make1:
[all] Error 2
make1: Leaving directory '/home/htpc/tvheadend/tvheadend'
Makefile:474: recipe for target 'make_webui' failed
make: *
* [make_webui] Error 2

History

#1

Updated by Alfred Zastrow over 9 years ago

Maybe it would be usefull to know the used distro and if Python is installed.
The git-version from now (2487) is building here without any error.

Python is version 2.7.

--- perl - Perl-Interpreter und Bibliotheken (52)
-
\ python - Python-Interpreter und Bibliotheken (15)
-
\ main - Die Debian-Distribution (15)
i A libpython-stdlib 2.7.9-1 2.7.9-1
i A libpython2.7-minimal 2.7.9-2 2.7.9-2
i A libpython2.7-stdlib 2.7.9-2 2.7.9-2
i A python 2.7.9-1 2.7.9-1
i A python-apt 0.9.3.11 0.9.3.11
i A python-apt-common 0.9.3.11 0.9.3.11
i python-crypto 2.6.1-5+b2 2.6.1-5+b2
i python-dnspython 1.12.0-1 1.12.0-1
i python-ldb 2:1.1.17-2 2:1.1.17-2
i A python-minimal 2.7.9-1 2.7.9-1
i python-ntdb 1.0-5 1.0-5
i python-support 1.0.15 1.0.15
i python-tdb 1.3.1-1 1.3.1-1
i A python2.7 2.7.9-2 2.7.9-2
i A python2.7-minimal 2.7.9-2 2.7.9-2
#2

Updated by Alfred Zastrow over 9 years ago

My log (cut out)

make -f Makefile.webui all
make3: Entering directory '/root/tvheadend'
make -f Makefile.webui WEBUI=std compile-std
make4: Entering directory '/root/tvheadend'
src/webui/static/tvh.js.gz.tmp 1217817
src/webui/static/tvh.js.gz.tmp2 982191
src/webui/static/tvh.js.gz 265015
src/webui/static/tvh.css.gz.tmp 162159
src/webui/static/tvh.css.gz.tmp2 130854
src/webui/static/tvh.css.gz 20709
src/webui/static/tvh-tv.js.gz.tmp 748617
src/webui/static/tvh-tv.js.gz.tmp2 738904
src/webui/static/tvh-tv.js.gz 206064
WEBUI std finished
make4: Leaving directory '/root/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make4: Entering directory '/root/tvheadend'
WEBUI debug finished
make4: Leaving directory '/root/tvheadend'
make3: Leaving directory '/root/tvheadend'
CC src/version.o
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o

[...]

#3

Updated by Jaroslav Kysela over 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|f3f4f1e991e375327e4651380785c60c8bfd3c1d.

#4

Updated by Jaroslav Kysela over 9 years ago

It was python3 issue... There are little incompatibilities.

Also available in: Atom PDF