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 |