Project

General

Profile

Bug #2461

Building

Added by Piotr Kuchciak over 7 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-11-10
Due date:
% Done:

100%

Estimated time:
Found in version:
3.9.2058
Affected Versions:

Description

CC src/descrambler/libaesdec/libaesdec.o
CC src/dbus.o
MKBUNDLE bundle.c
Traceback (most recent call last):
File "/home/hts/tvheadend/support/mkbundle", line 164, in <module>
idx = add_entry(ents)
File "/home/hts/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/home/hts/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/home/hts/tvheadend/support/mkbundle", line 137, in add_entry
output_file(d, k, idx+1, p)
File "/home/hts/tvheadend/support/mkbundle", line 81, in output_file
t = cStringIO.StringIO()
NameError: global name 'cStringIO' is not defined
make: * [/home/hts/tvheadend/build.linux/bundle.c] Błąd 1
[sudo] password for hts:
[ ok ] Stopping Tvheadend: tvheadend.
MKBUNDLE bundle.c
Traceback (most recent call last):
File "/home/hts/tvheadend/support/mkbundle", line 164, in <module>
idx = add_entry(ents)
File "/home/hts/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/home/hts/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/home/hts/tvheadend/support/mkbundle", line 137, in add_entry
output_file(d, k, idx+1, p)
File "/home/hts/tvheadend/support/mkbundle", line 81, in output_file
t = cStringIO.StringIO()
NameError: global name 'cStringIO' is not defined
make: *
[/home/hts/tvheadend/build.linux/bundle.c] Błąd 1
[ ok ] Starting Tvheadend: tvheadend.
[email protected]:~$

Associated revisions

Revision 3cc291c2 (diff)
Added by Jaroslav Kysela over 7 years ago

mkbundle: fix missed StringIO usage instead cStringIO.StringIO, fixes #2461

History

#1

Updated by Jaroslav Kysela over 7 years ago

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

Updated by Jouk Hettema - over 7 years ago

hi,

I still got an error.

CC src/input/mpegts/tsfile/tsfile_input.o
CC src/input/mpegts/tsfile/tsfile_mux.o
CC src/timeshift.o
CC src/timeshift/timeshift_filemgr.o
CC src/timeshift/timeshift_writer.o
CC src/timeshift/timeshift_reader.o
CC src/dvr/dvr_inotify.o
CC src/avahi.o
CC src/descrambler/tvhcsa.o
CC src/descrambler/cwc.o
CC src/descrambler/capmt.o
CC src/descrambler/constcw.o
CC src/descrambler/libaesdec/libaesdec.o
CC src/dbus.o
MKBUNDLE bundle.c
Traceback (most recent call last):
File "/root/workspace/tvheadend/support/mkbundle", line 164, in <module>
idx = add_entry(ents)
File "/root/workspace/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/root/workspace/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/root/workspace/tvheadend/support/mkbundle", line 137, in add_entry
output_file(d, k, idx+1, p)
File "/root/workspace/tvheadend/support/mkbundle", line 84, in output_file
z = gzip.GzipFile(filename=name, mode='w', compresslevel=l, fileobj=t)
File "/usr/lib64/python2.7/gzip.py", line 136, in init
self._write_gzip_header()
File "/usr/lib64/python2.7/gzip.py", line 165, in _write_gzip_header
self.fileobj.write('\037\213') # magic header
TypeError: unicode argument expected, got 'str'
make: *** [/root/workspace/tvheadend/build.linux/bundle.c] Error 1

#3

Updated by Piotr Kuchciak over 7 years ago

I have still problem....

Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc recvmmsg ... ok
checking for cc libiconv ... ok
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok (detected 1.0.1j)
checking for cc linux/dvb/version.h ... ok
checking for cc libhdhomerun/hdhomerun.h ... fail
checking for pkg zlib ... ok (detected 1.2.7)
checking for pkg liburiparser ... ok (detected 0.7.5)
checking for ffmpeg libraries ... fail
checking for pkg libavcodec >=55.34.1 ... ok (detected 55.34.1)
checking for pkg libavutil >=53.3.0 ... ok (detected 53.3.0)
checking for pkg libavformat >=55.12.0 ... ok (detected 55.12.0)
checking for pkg libswscale >=2.1.2 ... ok (detected 2.1.2)
checking for pkg libavresample >=1.1.0 ... ok (detected 1.1.0)
checking for cc sys/inotify.h ... ok
fetching dvb-scan files ... ok
checking for pkg dbus-1 ... ok (detected 1.6.8)

Compiler:
Using C compiler: ccache cc
Build for arch: x86_64

Binaries:
Using PYTHON: python

Options:
cwc yes
capmt yes
constcw yes
v4l no
linuxdvb yes
satip_client yes
hdhomerun_client no
hdhomerun_static no
iptv yes
tsfile yes
dvbscan yes
timeshift yes
trace yes
imagecache yes
avahi no
zlib yes
libav yes
libffmpeg_static no
inotify yes
epoll yes
uriparser yes
ccache yes
tvhcsa yes
bundle yes
dvbcsa no
kqueue no
dbus_1 yes
android no
execinfo yes
mmx yes
sse2 yes
getloadavg yes
atomic64 yes
lockowner yes
qsort_r yes
recvmmsg yes
libiconv yes
py_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
upnp yes
inotify_h yes
mpegts yes
mpegps no
mpegts_dvb yes

Packages:
openssl 1.0.1j
zlib 1.2.7
liburiparser 0.7.5
libavcodec 55.34.1
libavutil 53.3.0
libavformat 55.12.0
libswscale 2.1.2
libavresample 1.1.0
dbus-1 1.6.8

Installation paths:
Prefix: /usr
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man

Final Binary:
/home/hts/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
/usr/share/tvheadend

Receiving data/dvb-scan/dvb-t from http://linuxtv.org/git/dtv-scan-tables.git
CC src/version.o
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o
CC src/idnode.o
CC src/prop.o
CC src/utils.o
CC src/wrappers.o
CC src/access.o
CC src/tcp.o
CC src/udp.o
CC src/url.o
CC src/http.o
CC src/notify.o
CC src/file.o
CC src/epg.o
CC src/epgdb.o
CC src/epggrab.o
CC src/spawn.o
CC src/packet.o
CC src/streaming.o
CC src/channels.o
CC src/subscriptions.o
CC src/service.o
CC src/htsp_server.o
CC src/htsmsg.o
CC src/htsmsg_binary.o
CC src/htsmsg_json.o
CC src/htsmsg_xml.o
CC src/misc/dbl.o
CC src/misc/json.o
CC src/settings.o
CC src/htsbuf.o
CC src/trap.o
CC src/avg.o
CC src/htsstr.o
CC src/tvhpoll.o
CC src/huffman.o
CC src/filebundle.o
CC src/config.o
CC src/lang_codes.o
CC src/lang_str.o
CC src/imagecache.o
CC src/tvhtime.o
CC src/service_mapper.o
CC src/input.o
CC src/httpc.o
CC src/rtsp.o
CC src/fsmonitor.o
CC src/cron.o
CC src/esfilter.o
CC src/intlconv.o
CC src/profile.o
CC src/bouquet.o
CC src/api.o
CC src/api/api_status.o
CC src/api/api_idnode.o
CC src/api/api_input.o
CC src/api/api_channel.o
CC src/api/api_service.o
CC src/api/api_mpegts.o
CC src/api/api_epg.o
CC src/api/api_epggrab.o
CC src/api/api_imagecache.o
CC src/api/api_esfilter.o
CC src/api/api_intlconv.o
CC src/api/api_access.o
CC src/api/api_dvr.o
CC src/api/api_caclient.o
CC src/api/api_profile.o
CC src/api/api_bouquet.o
CC src/parsers/parsers.o
CC src/parsers/bitstream.o
CC src/parsers/parser_h264.o
CC src/parsers/parser_latm.o
CC src/parsers/parser_avc.o
CC src/parsers/parser_teletext.o
CC src/epggrab/module.o
CC src/epggrab/channel.o
CC src/epggrab/module/pyepg.o
CC src/epggrab/module/xmltv.o
CC src/plumbing/tsfix.o
CC src/plumbing/globalheaders.o
CC src/dvr/dvr_db.o
CC src/dvr/dvr_rec.o
CC src/dvr/dvr_autorec.o
CC src/dvr/dvr_timerec.o
CC src/dvr/dvr_config.o
CC src/dvr/dvr_cutpoints.o
CC src/webui/webui.o
CC src/webui/comet.o
CC src/webui/extjs.o
CC src/webui/simpleui.o
CC src/webui/statedump.o
CC src/webui/html.o
CC src/webui/webui_api.o
CC src/muxer.o
CC src/muxer/muxer_pass.o
CC src/muxer/muxer_tvh.o
CC src/muxer/tvh/ebml.o
CC src/muxer/tvh/mkmux.o
CC src/upnp.o
CC src/descrambler/descrambler.o
CC src/descrambler/caclient.o
CC src/input/mpegts.o
CC src/input/mpegts/mpegts_input.o
CC src/input/mpegts/mpegts_network.o
CC src/input/mpegts/mpegts_mux.o
CC src/input/mpegts/mpegts_service.o
CC src/input/mpegts/mpegts_table.o
CC src/input/mpegts/dvb_support.o
CC src/input/mpegts/dvb_charset.o
CC src/input/mpegts/dvb_psi.o
CC src/input/mpegts/fastscan.o
CC src/input/mpegts/tsdemux.o
CC src/input/mpegts/mpegts_mux_sched.o
CC src/input/mpegts/mpegts_network_scan.o
CC src/input/mpegts/mpegts_network_dvb.o
CC src/input/mpegts/mpegts_mux_dvb.o
CC src/input/mpegts/scanfile.o
CC src/epggrab/otamux.o
CC src/epggrab/module/eit.o
CC src/epggrab/support/freesat_huffman.o
CC src/epggrab/module/opentv.o
CC src/input/mpegts/linuxdvb/linuxdvb.o
CC src/input/mpegts/linuxdvb/linuxdvb_adapter.o
CC src/input/mpegts/linuxdvb/linuxdvb_frontend.o
CC src/input/mpegts/linuxdvb/linuxdvb_satconf.o
CC src/input/mpegts/linuxdvb/linuxdvb_lnb.o
CC src/input/mpegts/linuxdvb/linuxdvb_switch.o
CC src/input/mpegts/linuxdvb/linuxdvb_rotor.o
CC src/input/mpegts/linuxdvb/linuxdvb_en50494.o
CC src/input/mpegts/satip/satip.o
CC src/input/mpegts/satip/satip_frontend.o
CC src/input/mpegts/satip/satip_satconf.o
CC src/input/mpegts/satip/satip_rtsp.o
CC src/input/mpegts/iptv/iptv.o
CC src/input/mpegts/iptv/iptv_mux.o
CC src/input/mpegts/iptv/iptv_service.o
CC src/input/mpegts/iptv/iptv_http.o
CC src/input/mpegts/iptv/iptv_udp.o
CC src/input/mpegts/tsfile/tsfile.o
CC src/input/mpegts/tsfile/tsfile_input.o
CC src/input/mpegts/tsfile/tsfile_mux.o
CC src/timeshift.o
CC src/timeshift/timeshift_filemgr.o
CC src/timeshift/timeshift_writer.o
CC src/timeshift/timeshift_reader.o
CC src/dvr/dvr_inotify.o
CC src/libav.o
CC src/muxer/muxer_libav.o
CC src/plumbing/transcoding.o
CC src/descrambler/tvhcsa.o
CC src/descrambler/cwc.o
CC src/descrambler/capmt.o
CC src/descrambler/constcw.o
CC src/descrambler/ffdecsa/ffdecsa_interface.o
CC src/descrambler/ffdecsa/ffdecsa_int.o
CC src/descrambler/ffdecsa/ffdecsa_mmx.o
CC src/descrambler/ffdecsa/ffdecsa_sse2.o
CC src/descrambler/libaesdec/libaesdec.o
CC src/dbus.o
MKBUNDLE bundle.c
Traceback (most recent call last):
File "/home/hts/tvheadend/support/mkbundle", line 164, in <module>
idx = add_entry(ents)
File "/home/hts/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/home/hts/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/home/hts/tvheadend/support/mkbundle", line 137, in add_entry
output_file(d, k, idx+1, p)
File "/home/hts/tvheadend/support/mkbundle", line 84, in output_file
z = gzip.GzipFile(filename=name, mode='w', compresslevel=l, fileobj=t)
File "/usr/lib/python2.7/gzip.py", line 131, in init
self._write_gzip_header()
File "/usr/lib/python2.7/gzip.py", line 160, in _write_gzip_header
self.fileobj.write('\037\213') # magic header
TypeError: unicode argument expected, got 'str'
make: * [/home/hts/tvheadend/build.linux/bundle.c] Błąd 1
[sudo] password for hts:
[ ok ] Stopping Tvheadend: tvheadend.
MKBUNDLE bundle.c
Traceback (most recent call last):
File "/home/hts/tvheadend/support/mkbundle", line 164, in <module>
idx = add_entry(ents)
File "/home/hts/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/home/hts/tvheadend/support/mkbundle", line 143, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/home/hts/tvheadend/support/mkbundle", line 137, in add_entry
output_file(d, k, idx+1, p)
File "/home/hts/tvheadend/support/mkbundle", line 84, in output_file
z = gzip.GzipFile(filename=name, mode='w', compresslevel=l, fileobj=t)
File "/usr/lib/python2.7/gzip.py", line 131, in init
self._write_gzip_header()
File "/usr/lib/python2.7/gzip.py", line 160, in _write_gzip_header
self.fileobj.write('\037\213') # magic header
TypeError: unicode argument expected, got 'str'
make: *
[/home/hts/tvheadend/build.linux/bundle.c] Błąd 1
[ ok ] Starting Tvheadend: tvheadend.
[email protected]:~$

Also available in: Atom PDF