browserforge icon indicating copy to clipboard operation
browserforge copied to clipboard

Bug report [ ScreenFingerprint.__init__() missing arguments ]

Open dvrkcoder opened this issue 1 year ago • 7 comments

ScreenFingerprint.init() missing arguments When calling FingerprintGenerator.generate(), the returned fingerprint['screen'] dict is missing required fields like 'availTop', 'screenX', etc., causing ScreenFingerprint() to throw a TypeError.

dvrkcoder avatar Jun 11 '25 15:06 dvrkcoder

A few hours ago, I started facing the same error.

ScreenFingerprint.__init__() missing 6 required positional arguments: 'availTop', 'availLeft', 'pageXOffset', 'pageYOffset', 'screenX', and 'hasHDR'

VitaliiCheporniuk avatar Jun 11 '25 16:06 VitaliiCheporniuk

Root cause from the apify fingerprint. They have broken build/test

https://github.com/apify/fingerprint-suite/actions/runs/15584227627/job/43886434411

VitaliiCheporniuk avatar Jun 11 '25 16:06 VitaliiCheporniuk

Author needs to update python version

The current project's supported Python range (>=3.8,<4.0) is not compatible with some of the required packages Python requirement:
  - apify-fingerprint-datapoints requires Python >=3.9, so it will not be installable for Python >=3.8,<3.9

Because no versions of apify-fingerprint-datapoints match >0.0.1,<0.0.2
 and apify-fingerprint-datapoints (0.0.1) requires Python >=3.9, apify-fingerprint-datapoints is forbidden.
So, because browserforge depends on apify_fingerprint_datapoints (^0.0.1), version solving failed.

  * Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For apify-fingerprint-datapoints, a possible solution would be to set the `python` property to ">=3.9,<4.0

VitaliiCheporniuk avatar Jun 11 '25 17:06 VitaliiCheporniuk

getting the same error guys

tanNicolas avatar Jun 11 '25 18:06 tanNicolas

I Have the same error, I have the python 3.12.2

GermanScrap avatar Jun 11 '25 19:06 GermanScrap

Facing the same error over the last couple of hours:

__init__() missing 6 required positional arguments: 'availTop', 'availLeft', 'pageXOffset', 'pageYOffset', 'screenX', and 'hasHDR'

Observed this after running this command: python3 -m browserforge update. Looks like the latest updates are broken.

This is also impacting the crawls with Camoufox. Observing the same issue while using Camoufox.

charliedelta02 avatar Jun 11 '25 20:06 charliedelta02

yes guys, a temp fix was posted in Camoufox github, it's working.

tanNicolas avatar Jun 11 '25 20:06 tanNicolas