[RELEASE] Project xbmc-addons-chinese (Chinese addons/support Dharma)

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
taxigps Offline
Team-XBMC Python Developer
Posts: 443
Joined: Jan 2009
Reputation: 1
Post: #496
just use:
m3u = os.path.join( __temp__, u"pptvvideo.%d.m3u" % (i))
find quote
Huuh Offline
Member
Posts: 53
Joined: Feb 2013
Reputation: 0
Post: #497
(2014-07-26 01:30)taxigps Wrote:  just use:
m3u = os.path.join( __temp__, u"pptvvideo.%d.m3u" % (i))

I still get the error.

22:33:28 67926.507812 T:2739926096 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xe4 in position 1: ordinal not in range(128)
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.pptv/default.py", line 821, in <module>
playVideo(name, url, thumb)
File "/storage/.xbmc/addons/plugin.video.pptv/default.py", line 737, in playVideo
shutil.rmtree(__temp__)
File "/home/neil/projects/OpenELEC.tv/build.OpenELEC_Helix-RPi.arm-devel/Python-2.7.3/.install_pkg/usr/lib/python2.7/shutil.py", line 239, in rmtree
File "/home/neil/projects/OpenELEC.tv/build.OpenELEC_Helix-RPi.arm-devel/Python-2.7.3/.install_pkg/usr/lib/python2.7/posixpath.py", line 71, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1: ordinal not in range(128)
-->End of Python script error report<--
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 443
Joined: Jan 2009
Reputation: 1
Post: #498
(2014-07-26 04:34)Huuh Wrote:  
(2014-07-26 01:30)taxigps Wrote:  just use:
m3u = os.path.join( __temp__, u"pptvvideo.%d.m3u" % (i))

I still get the error.

22:33:28 67926.507812 T:2739926096 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xe4 in position 1: ordinal not in range(128)
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.pptv/default.py", line 821, in <module>
playVideo(name, url, thumb)
File "/storage/.xbmc/addons/plugin.video.pptv/default.py", line 737, in playVideo
shutil.rmtree(__temp__)
File "/home/neil/projects/OpenELEC.tv/build.OpenELEC_Helix-RPi.arm-devel/Python-2.7.3/.install_pkg/usr/lib/python2.7/shutil.py", line 239, in rmtree
File "/home/neil/projects/OpenELEC.tv/build.OpenELEC_Helix-RPi.arm-devel/Python-2.7.3/.install_pkg/usr/lib/python2.7/posixpath.py", line 71, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1: ordinal not in range(128)
-->End of Python script error report<--

need remove path .xbmc\userdata\addon_data\plugin.video.pptv\temp manual once
(This post was last modified: 2014-07-26 06:28 by taxigps.)
find quote
Huuh Offline
Member
Posts: 53
Joined: Feb 2013
Reputation: 0
Post: #499
(2014-07-26 06:28)taxigps Wrote:  need remove path .xbmc\userdata\addon_data\plugin.video.pptv\temp manual once

It works! Thanks for everything. Will you be pushing an update?
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 443
Joined: Jan 2009
Reputation: 1
Post: #500
(2014-07-26 06:46)Huuh Wrote:  
(2014-07-26 06:28)taxigps Wrote:  need remove path .xbmc\userdata\addon_data\plugin.video.pptv\temp manual once

It works! Thanks for everything. Will you be pushing an update?

Updated code already. Just not change version number in repo.Smile
find quote
Post Reply