Repository navigation
Closed
Labels
bugSomething isn't working.Something isn't working.t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.
Description
Before
- Before
browserforge(Crawlee < 0.6)
2025-03-04T09:35:42.108Z ACTOR: Pulling Docker image of build vbJ3dgYm28POtiN1j from repository.
2025-03-04T09:35:42.311Z ACTOR: Creating Docker container.
2025-03-04T09:35:42.358Z ACTOR: Starting Docker container.
2025-03-04T09:35:44.092Z [apify] INFO Initializing Actor...
2025-03-04T09:35:44.094Z [apify] INFO System info ({"apify_sdk_version": "2.3.1", "apify_client_version": "1.9.2", "crawlee_version": "0.6.1", "python_version": "3.13.2", "os": "linux"})
2025-03-04T09:35:44.119Z [apify] DEBUG Debug message
2025-03-04T09:35:44.123Z [apify] INFO Info message
2025-03-04T09:35:44.124Z [apify] WARN Warning message
2025-03-04T09:35:44.126Z [apify] ERROR Error message
2025-03-04T09:35:44.128Z [apify] ERROR Exception message
2025-03-04T09:35:44.131Z Traceback (most recent call last):
2025-03-04T09:35:44.133Z File "/usr/src/app/src/main.py", line 25, in main
2025-03-04T09:35:44.134Z raise ValueError('Dummy ValueError')
2025-03-04T09:35:44.136Z ValueError: Dummy ValueError
2025-03-04T09:35:44.139Z [apify] INFO Multi
2025-03-04T09:35:44.141Z line
2025-03-04T09:35:44.142Z log
2025-03-04T09:35:44.144Z message
2025-03-04T09:35:44.146Z [apify] ERROR Actor failed with an exception
2025-03-04T09:35:44.147Z Traceback (most recent call last):
2025-03-04T09:35:44.149Z File "/usr/src/app/src/main.py", line 33, in main
2025-03-04T09:35:44.150Z raise RuntimeError('Dummy RuntimeError')
2025-03-04T09:35:44.152Z RuntimeError: Dummy RuntimeError
2025-03-04T09:35:44.154Z [apify] INFO Exiting Actor ({"exit_code": 91})
After
- With
browserforge(Crawlee ~= 0.6)
2025-03-04T09:35:42.108Z ACTOR: Pulling Docker image of build vbJ3dgYm28POtiN1j from repository.
2025-03-04T09:35:42.311Z ACTOR: Creating Docker container.
2025-03-04T09:35:42.358Z ACTOR: Starting Docker container.
2025-03-04T09:35:43.463Z Downloading model definition files...
2025-03-04T09:35:43.725Z input-network.zip OK!
2025-03-04T09:35:43.727Z browser-helper-file.json OK!
2025-03-04T09:35:43.729Z header-network.zip OK!
2025-03-04T09:35:43.731Z headers-order.json OK!
2025-03-04T09:35:43.732Z fingerprint-network.zip OK!
2025-03-04T09:35:44.092Z [apify] INFO Initializing Actor...
2025-03-04T09:35:44.094Z [apify] INFO System info ({"apify_sdk_version": "2.3.1", "apify_client_version": "1.9.2", "crawlee_version": "0.6.1", "python_version": "3.13.2", "os": "linux"})
2025-03-04T09:35:44.119Z [apify] DEBUG Debug message
2025-03-04T09:35:44.123Z [apify] INFO Info message
2025-03-04T09:35:44.124Z [apify] WARN Warning message
2025-03-04T09:35:44.126Z [apify] ERROR Error message
2025-03-04T09:35:44.128Z [apify] ERROR Exception message
2025-03-04T09:35:44.131Z Traceback (most recent call last):
2025-03-04T09:35:44.133Z File "/usr/src/app/src/main.py", line 25, in main
2025-03-04T09:35:44.134Z raise ValueError('Dummy ValueError')
2025-03-04T09:35:44.136Z ValueError: Dummy ValueError
2025-03-04T09:35:44.139Z [apify] INFO Multi
2025-03-04T09:35:44.141Z line
2025-03-04T09:35:44.142Z log
2025-03-04T09:35:44.144Z message
2025-03-04T09:35:44.146Z [apify] ERROR Actor failed with an exception
2025-03-04T09:35:44.147Z Traceback (most recent call last):
2025-03-04T09:35:44.149Z File "/usr/src/app/src/main.py", line 33, in main
2025-03-04T09:35:44.150Z raise RuntimeError('Dummy RuntimeError')
2025-03-04T09:35:44.152Z RuntimeError: Dummy RuntimeError
2025-03-04T09:35:44.154Z [apify] INFO Exiting Actor ({"exit_code": 91})
Result
- As a result test
test_actor_loggingis skipped.
Possible solutions
- Remove the
browserforgeoutput and rm skip flag fromtest_actor_logging. - Leave it as it is and rm (or update) the
test_actor_loggingtest.- in case of updating - there is no line order guaranteed.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working.Something isn't working.t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.
Activity
vdusek commentedon Mar 4, 2025
It is important to note that during every Actor run, zip files are now downloaded from the apify/fingerprint-suite repository.
Erol444 commentedon Mar 8, 2025
Not sure if related, but I get this error every time I run an actor:
Erol444 commentedon Mar 8, 2025
@vdusek you should look into this asap - new py actors will by default use 2.4.0 apify, which throws the error above when starting the actor on apify platform. Thanks to this issue in actor's
requirements.txtI pinnedapify==2.3.0which fixes the error above (I was messing with Dockerfile at first).Pijukatel commentedon Mar 10, 2025
Proposed solution:
after package is published to Pypi
fix: Temporary workaround for `browserforge` import time code executi…
fix: Update to `browserforge` workaround (#1075)
Pijukatel commentedon Mar 13, 2025
It should be fixed now for new templates that will use new base docker image. It is quite an uggly import-time-patch workaround because the PR in the upstream third party repo did not get merged yet.