Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fontconfig error: Cannot load default config file #45

Closed
JamzumSum opened this issue Jun 6, 2022 · 2 comments · Fixed by #57
Closed

Fontconfig error: Cannot load default config file #45

JamzumSum opened this issue Jun 6, 2022 · 2 comments · Fixed by #57
Labels
documentation Improvements or additions to documentation

Comments

@JamzumSum
Copy link
Collaborator

Fontconfig error: Cannot load default config file was raised when collecting data using node-canvas.

Log details here
Traceback (most recent call last):
  File "/app/app.pyz/aioqzone/api/loginman.py", line 50, in _new_cookie
    cookie = await login.login(await login.check())
  File "/app/app.pyz/qqqr/up/__init__.py", line 107, in login
    cookie = await self.login(await self.passVC(r), StatusCode.NeedCaptcha)
  File "/app/app.pyz/qqqr/up/__init__.py", line 167, in passVC
    d = await c.verify()
  File "/app/app.pyz/qqqr/up/captcha/__init__.py", line 263, in verify
    collect = await self.tdc.get_data()
  File "/app/app.pyz/qqqr/up/captcha/vm.py", line 56, in get_data
    return unquote((await self._js.eval("window.TDC.getData(!0)")).strip())
  File "/app/app.pyz/jssupport/execjs.py", line 121, in exec
    raise JsRuntimeError(p.returncode or 1, node, removesuffix(stderr.decode()))
jssupport.exception.JsRuntimeError: Fontconfig error: Cannot load default config file
@JamzumSum JamzumSum added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Jun 6, 2022
@JamzumSum
Copy link
Collaborator Author

apt install fontconfig may fix.

@JamzumSum
Copy link
Collaborator Author

apt install fontconfig may fix.

maybe we should document this

@JamzumSum JamzumSum reopened this Jun 25, 2022
@JamzumSum JamzumSum added documentation Improvements or additions to documentation and removed bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Jun 25, 2022
JamzumSum added a commit that referenced this issue Jun 25, 2022
@JamzumSum JamzumSum linked a pull request Jun 25, 2022 that will close this issue
JamzumSum added a commit that referenced this issue Jun 25, 2022
* fix: KeyError of tasks on stop (removed twice)
* doc: #45

* ci: use pr_template instead of pr_body

try to fix changelog again

* fix: wrong checkout ref

Co-authored-by: JamzumSum <zzzzss990315@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant