#warrior 2018-08-26,Sun

↑back Search

Time Nickname Message
10:14 πŸ”— chferfa has joined #warrior
13:16 πŸ”— Manus has joined #warrior
13:17 πŸ”— Manus hi
13:18 πŸ”— arkiver hi
13:19 πŸ”— Manus i get python errors in my scrapers. should i post them here?
13:20 πŸ”— arkiver sure, post one of them here
13:20 πŸ”— arkiver and what project?
13:20 πŸ”— arkiver or which scripts?
13:20 πŸ”— Manus URLTeam 2
13:21 πŸ”— Manus Traceback (most recent call last): File "/data/data/projects/urlteam2-f4db6c4/terroroftinytown/terroroftinytown/client/tracker.py", line 28, in wrapper return func(*args, **kwargs) File "/data/data/projects/urlteam2-f4db6c4/terroroftinytown/terroroftinytown/client/tracker.py", line 64, in get_item response.raise_for_status() File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 939, in raise_for_status raise HTTP
13:21 πŸ”— Manus Traceback (most recent call last): File "scraper.py", line 76, in <module> main() File "scraper.py", line 32, in main item_info = try_with_tracker(tracker_client.get_item) File "scraper.py", line 60, in try_with_tracker return func(*args, **kwargs) File "/data/data/projects/urlteam2-f4db6c4/terroroftinytown/terroroftinytown/client/tracker.py", line 30, in wrapper six.raise_from(TrackerError(str(error)), error) File "<stri
13:21 πŸ”— Manus difficult to post here it looks like
13:22 πŸ”— JAA The web chat is cutting of your lines, and it's difficult to read like this. Can you put it on a pastebin please?
13:22 πŸ”— JAA cutting off*
13:23 πŸ”— Manus https://pastebin.com/wryJxFxY
13:26 πŸ”— JAA Manus: Ah, that's normal. I'm not entirely sure why they're printed like this sometimes. The reason is that URLTeam limits the number of items that can be processed concurrently to avoid hammering the URL shortener services. There are more warriors than available items, so you'll frequently get the "no items available" message/"error".
13:27 πŸ”— JAA Normally, it should just be printed like this:
13:27 πŸ”— JAA "Error communicating with tracker: 404 Client Error: No items available currently. Don't worry; more items will be made soon. Try again later. for url: http://tracker.archiveteam.org:1337/api/get."
13:28 πŸ”— Manus You mean the "404 Client Error: No items available currently."? This one i get all the time. My scrapers barely do anything the whole day because of this. The error i meant was the
13:28 πŸ”— Manus File "scraper.py", line 76, in <module> main() File "scraper.py", line 32, in main item_info = try_with_tracker(tracker_client.get_item) File "scraper.py", line 60, in try_with_tracker return func(*args, **kwargs)
13:29 πŸ”— Manus After that error there's a 10 seconds delay, the scraper closes and a new one pops up.
13:32 πŸ”— Manus since the urlteam2 seems to have too many helpers - why does the warrior not switch to another project where my bandwidth can be put to use? or is there seldom any project like that?
13:36 πŸ”— JAA Well, the warrior does not automatically switch to a different project simply because that's not implemented. There's one default project, which is currently URLTeam, so that's what it'll run by default.
13:37 πŸ”— JAA You can switch it to another project manually, but I'm not sure if any projects are currently active (though JamiiForums should hopefully start later today).
13:38 πŸ”— JAA And both errors in your paste are the same thing, just triggered in different contexts, I think.
14:09 πŸ”— chr1sm has joined #warrior
14:11 πŸ”— Manus JAA: i put the warrior on project "ArchiveTeam’s Choice". So there are really no other projects. Pity.
14:13 πŸ”— JAA Manus: Yeah, "ArchiveTeam's Choice" is the default project, which is currently URLTeam. There might be a new project in a few hours. :-)
14:13 πŸ”— Manus then i will check back later. thanks!
14:18 πŸ”— Manus has quit IRC (Ping timeout: 260 seconds)
18:39 πŸ”— chferfa has quit IRC ()
21:57 πŸ”— GitHub126 has joined #warrior
21:57 πŸ”— GitHub126 has left

irclogger-viewer