XBMC Subtitles - Legendas.TV not working properly.

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gfjardim Offline
Junior Member
Posts: 41
Joined: Dec 2009
Reputation: 1
Post: #21
(2012-03-07 09:10)amet Wrote:  I have notified gfjardim who made this service, lets see if he can do something about it.

Sorry about the delay, I didn't saw the private message.
I found the bug to be related to the extract function of XBMC. If you try to remove the compressed file while it's handled by that function, it crashes and there's no coming back.
I built a workaround to this behavior and requested a pull at Github.
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #22
(2012-04-02 21:50)gfjardim Wrote:  
(2012-03-07 09:10)amet Wrote:  I have notified gfjardim who made this service, lets see if he can do something about it.

Sorry about the delay, I didn't saw the private message.
I found the bug to be related to the extract function of XBMC. If you try to remove the compressed file while it's handled by that function, it crashes and there's no coming back.
I built a workaround to this behavior and requested a pull at Github.

thx a lot, I have pulled it in... will release to official repo soon


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
Killer-JoeBR Offline
Junior Member
Posts: 26
Joined: Sep 2011
Reputation: 0
Post: #23
Just wanted to say that it's working great now. THANK YOU!
find quote
isselin Offline
Junior Member
Posts: 3
Joined: Apr 2012
Reputation: 0
Post: #24
(2012-04-05 16:07)Killer-JoeBR Wrote:  Just wanted to say that it's working great now. THANK YOU!

How did you fix it ?

I am still having this issue.
find quote
YShin Offline
Junior Member
Posts: 14
Joined: Jan 2012
Reputation: 0
Post: #25
(2012-04-02 21:50)gfjardim Wrote:  
(2012-03-07 09:10)amet Wrote:  I have notified gfjardim who made this service, lets see if he can do something about it.

Sorry about the delay, I didn't saw the private message.
I found the bug to be related to the extract function of XBMC. If you try to remove the compressed file while it's handled by that function, it crashes and there's no coming back.
I built a workaround to this behavior and requested a pull at Github.

Thank you. It seems to work perfectly now.

Awesome!
find quote
couto27 Offline
Member+
Posts: 30
Joined: Apr 2012
Reputation: 0
Post: #26
for does of you that cannot download subtitles make sure that

network > services > use proxy services > is set to off
find quote
cidus Offline
Junior Member
Posts: 13
Joined: Apr 2011
Reputation: 0
Post: #27
Hey everyone,

I'm having problems downloading some subtitles from legendas.tv. I think the problem occurs with subtitles that have a dash "/" character in the name, like this one:
Smash.S01E11.HDTV.x264-LOL/2HD/AFG/DIMENSION/CtrlHD
http://legendas.tv/info.php?d=c102f3aa08...da442a2ff6


Here's the error from xbmc.log
Code:
00:03:10 T:2422770544   ERROR: Exception in python script callback execution
00:03:10 T:2422770544   ERROR: Traceback (most recent call last):
00:03:10 T:2422770544   ERROR:   File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 494, in onClick
00:03:10 T:2422770544   ERROR: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
00:03:10 T:2422770544   ERROR:   File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 303, in Download_Subtitles
00:03:10 T:2422770544   ERROR: zipped, language, file = self.Service.download_subtitles(self.subtitles_list, pos, zip_subs, self.tmp_sub_dir, self.sub_folder,self.session_id)
00:03:10 T:2422770544   ERROR:   File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/services/LegendasTV/service.py", line 61, in download_subtitles
00:03:10 T:2422770544   ERROR: for root, dirs, files in os.walk(extract_path, topdown=False):
00:03:10 T:2422770544   ERROR:   File "/usr/lib/python2.7/os.py", line 284, in walk
00:03:10 T:2422770544   ERROR: if isdir(join(top, name)):
00:03:10 T:2422770544   ERROR:   File "/usr/lib/python2.7/posixpath.py", line 71, in join
00:03:10 T:2422770544   ERROR: path += '/' + b
00:03:10 T:2422770544   ERROR: UnicodeDecodeError
00:03:10 T:2422770544   ERROR: :
00:03:10 T:2422770544   ERROR: 'ascii' codec can't decode byte 0xa3 in position 6: ordinal not in range(128)
find quote
Mock Offline
Junior Member
Posts: 11
Joined: Jul 2010
Reputation: 0
Post: #28
(2012-04-22 11:50)couto27 Wrote:  for does of you that cannot download subtitles make sure that

network > services > use proxy services > is set to off

Thanks. i just downloaded a Nighty build and thought that the problem was here. but this solved the problem for me.

it make sense that proxy should be turned off. but don´t understand why opensubtitles can find the results but not download
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #29
(2012-05-12 15:41)Mock Wrote:  ... but don´t understand why opensubtitles can find the results but not download

thats cos we search using xmlrpclib, and download using http


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
gfjardim Offline
Junior Member
Posts: 41
Joined: Dec 2009
Reputation: 1
Post: #30
(2012-04-26 03:10)cidus Wrote:  Hey everyone,

I'm having problems downloading some subtitles from legendas.tv. I think the problem occurs with subtitles that have a dash "/" character in the name, like this one:
Smash.S01E11.HDTV.x264-LOL/2HD/AFG/DIMENSION/CtrlHD
http://legendas.tv/info.php?d=c102f3aa08...da442a2ff6


Here's the error from xbmc.log
Code:
00:03:10 T:2422770544   ERROR: Exception in python script callback execution
00:03:10 T:2422770544   ERROR: Traceback (most recent call last):
00:03:10 T:2422770544   ERROR:   File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 494, in onClick
00:03:10 T:2422770544   ERROR: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
00:03:10 T:2422770544   ERROR:   File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 303, in Download_Subtitles
00:03:10 T:2422770544   ERROR: zipped, language, file = self.Service.download_subtitles(self.subtitles_list, pos, zip_subs, self.tmp_sub_dir, self.sub_folder,self.session_id)
00:03:10 T:2422770544   ERROR:   File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/services/LegendasTV/service.py", line 61, in download_subtitles
00:03:10 T:2422770544   ERROR: for root, dirs, files in os.walk(extract_path, topdown=False):
00:03:10 T:2422770544   ERROR:   File "/usr/lib/python2.7/os.py", line 284, in walk
00:03:10 T:2422770544   ERROR: if isdir(join(top, name)):
00:03:10 T:2422770544   ERROR:   File "/usr/lib/python2.7/posixpath.py", line 71, in join
00:03:10 T:2422770544   ERROR: path += '/' + b
00:03:10 T:2422770544   ERROR: UnicodeDecodeError
00:03:10 T:2422770544   ERROR: :
00:03:10 T:2422770544   ERROR: 'ascii' codec can't decode byte 0xa3 in position 6: ordinal not in range(128)

Can you post your OS and version?
find quote