Giter Club home page Giter Club logo

Comments (7)

Sweepr avatar Sweepr commented on September 22, 2024

Unable to reproduce this issue, seems to work accordingly, also Images and NZB are stored in cache during retrieve.

Started with a fresh install and clean DB, set setting like below, and ran a retrieve.

Untitled

2

from spotweb.

Diniboy1123 avatar Diniboy1123 commented on September 22, 2024

I am not sure what am I doing wrong then. I am using a mariadb container and spotweb also runs in its own container. Cleared the mariadb volume and restarted mariadb to confirm that there was indeed no data there.

Then started up spotweb, logged in and set up my provider + the same config like you had.

It scraped all the history, but the db (spots table) only has a count with 3 digits. Spotweb interface also only shows today's spots.

If I redo the same thing without querying full spots it all works fine, I see all the spots.

I am thinking that I am maybe lacking the on disk cache config/mount for the images?

Or maybe its my provider (usenetserver)?

EDIT: This time I accidentally set the starting time in the calendar to the 24th of November 2010, but I assume that should be fine too.

from spotweb.

Diniboy1123 avatar Diniboy1123 commented on September 22, 2024

With 2013 March I am getting further, but I encounter a fatal error:

getHeader(): Failed to retrieve article: <[email protected]>
PHP Warning:  Trying to access array offset on value of type null in /app/lib/services/Retriever/Services_Retriever_Spots.php on line 505
PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /app/lib/services/Format/Services_Format_Parsing.php on line 86
PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /app/lib/services/Format/Services_Format_Parsing.php on line 29
PHP Warning:  gzinflate(): data error in /app/lib/services/Nntp/Services_Nntp_SpotReading.php on line 164
PHP Warning:  preg_match(): Compilation failed: unrecognized character follows \ at offset 1 in /app/lib/services/Providers/Services_Providers_HttpNzb.php on line 278
PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /app/lib/services/Providers/Services_Providers_HttpNzb.php:281
Stack trace:
#0 /app/lib/services/Providers/Services_Providers_HttpNzb.php(243): Services_Providers_HttpNzb->downloadNzbFromBinsearch()
#1 /app/lib/services/Providers/Services_Providers_HttpNzb.php(84): Services_Providers_HttpNzb->downloadNzbFrom()
#2 /app/lib/services/Providers/Services_Providers_HttpNzb.php(29): Services_Providers_HttpNzb->getNzb()
#3 /app/lib/services/Providers/Services_Providers_Nzb.php(58): Services_Providers_HttpNzb->hasNzb()
#4 /app/lib/services/Retriever/Services_Retriever_Spots.php(537): Services_Providers_Nzb->fetchNzb()
#5 /app/lib/services/Retriever/Services_Retriever_Base.php(238): Services_Retriever_Spots->process()
#6 /app/lib/services/Retriever/Services_Retriever_Base.php(339): Services_Retriever_Base->loopTillEnd()
#7 /app/retrieve.php(142): Services_Retriever_Base->perform()
#8 {main}
  thrown in /app/lib/services/Providers/Services_Providers_HttpNzb.php on line 281
run-parts: /etc/periodic/5min/spotweb: exit status 255

Should I open a separate issue for this?

from spotweb.

mesa57 avatar mesa57 commented on September 22, 2024

May I ask which php version is used ?
It looks like an invalid NZB is retrieved. Could you set prefetch NZB's off ?

from spotweb.

Diniboy1123 avatar Diniboy1123 commented on September 22, 2024

Sure, I am using PHP 8.1.16.

It looks like an invalid NZB is retrieved. Could you set prefetch NZB's off ?

Indeed that seems to be the case. I have disabled it and doing a clean retrieval right now.

from spotweb.

mesa57 avatar mesa57 commented on September 22, 2024

Btw. I strongly advise NOT to prefetch spots (retrieve full spots) unless you have a large shared user base.
Data is more then often invalid depending on you're USP and the age of spots.
Moreover, retrieve will take exponential more time.

from spotweb.

Diniboy1123 avatar Diniboy1123 commented on September 22, 2024

Seems to be all fine from March 18, 2013.

from spotweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.