[BUG?] Is Scraper cache loading working as intended?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bambi73 Offline
Senior Member
Posts: 195
Joined: Jan 2010
Reputation: 0
Location: Czech Republic
Post: #1
Hello,

today I tried (after 3/4 year of hibernation) to use my AniDB scraper and got some really weird results in some cases. After some debugging I found that all my problem lies in values passed in $$1 (content of specified URL or cache) to subfunctions. In case content of specified URL is loaded directly (not cached) by CFileCurl::Get() everything is fine because it clears buffer internally, but when content is loaded from cache by CScraperUrl::Get() it's simply appended to the end of existing buffer. So after few subsequent subfunction calls $$1 is filled with a lot of crap (regexp engine slowdown is quite noticable) and unfortunately most recent cache content is at very end which results in wrong parses. I know that my parameter buffers aren't cleared because of use clearbuffers="no" almost everywhere but from my point of view cache reads should result only in requested content (as in case of direct web site access) and not whole "history".
Is this known bug? Can't find it in trac.

Regards
Bambi
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 25,672
Joined: Oct 2003
Reputation: 169
Post: #2
Is what is in the cached files what you expect? Check the scraper cache and figure out exactly what's going wrong. Then post a ticket on trac and cc vdrfan, spiff + me.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 25,672
Joined: Oct 2003
Reputation: 169
Post: #3
Is what is in the cached files what you expect? Check the scraper cache and figure out exactly what's going wrong. Then post a ticket on trac and cc vdrfan, spiff + me.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
bambi73 Offline
Senior Member
Posts: 195
Joined: Jan 2010
Reputation: 0
Location: Czech Republic
Post: #4
Content of cached files is correct, it was first what i checked Smile
I posted ticket #11377.
find quote