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

Calling Sharp inside a worker #2304

Closed
ishigo1987 opened this issue Jul 21, 2020 · 2 comments
Closed

Calling Sharp inside a worker #2304

ishigo1987 opened this issue Jul 21, 2020 · 2 comments
Labels

Comments

@ishigo1987
Copy link

First time Sharp is initialize inside the worker everythings works like charm.
Second time i've this error

(sharp:202758): GLib-GObject-WARNING **: 21:52:58.828: cannot register existing type 'VipsObject'

(sharp:202758): GLib-CRITICAL **: 21:52:58.828: g_once_init_leave: assertion 'result != 0' failed

(sharp:202758): GLib-GObject-CRITICAL **: 21:52:58.828: g_type_register_static: assertion 'parent_type > 0' failed

(sharp:202758): GLib-CRITICAL **: 21:52:58.828: g_once_init_leave: assertion 'result != 0' failed

What is the output of running npx envinfo --binaries --system?

System:
OS: Linux 5.4 Ubuntu 20.04 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
Memory: 429.58 MB / 7.58 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.3.0 - ~/.nvm/versions/node/v14.3.0/bin/node
npm: 6.14.6 - ~/.nvm/versions/node/v14.3.0/bin/npm

@lovell
Copy link
Owner

lovell commented Jul 21, 2020

Hi, did you see #2263?

@lovell lovell added question and removed triage labels Jul 21, 2020
@ishigo1987
Copy link
Author

Nope, i see now and your trick works , thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants