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

Error trying to run polydock #44

Open
clemencyworld1 opened this issue Apr 18, 2022 · 7 comments
Open

Error trying to run polydock #44

clemencyworld1 opened this issue Apr 18, 2022 · 7 comments

Comments

@clemencyworld1
Copy link

I couldn't detect the required dependencies, so i installed everything containing the mentioned dependencies in their name. However when i try to run polydock i get the following error:

$ ./bin/polydock

(gjs:18188): Gjs-CRITICAL **: 11:54:23.095: JS ERROR: Error: Constructor called as normal method. Use 'new SomeObject()' not 'SomeObject()'
class_1@./bin/polydock:899:46
imports.gi.versions.GdkPixbuf<@./bin/polydock:951:15
@./bin/polydock:955:2

(gjs:18188): Gjs-CRITICAL **: 11:54:23.095: Script ./bin/polydock threw an exception

How do i get past this. Really want to try it.
I am running Antix linux with debian sid sources

@dmaahs2017
Copy link

dmaahs2017 commented Apr 19, 2022

I'm having the Same issue. Only started having this issue after updating. I would guess that GJS or some other dependency updated which caused braking changes. I'm guessing a PR is going to be required.

I'm considering opening and maintaining a fork of this project, since I do like it. It just seems to be unmaintained at the time.

@MintArchit
Copy link

same issue

@dmaahs2017
Copy link

Gutentag @MintArchit, I never got around to building a working fork. And I haven't found a replacement dock that I love. Though I'd have more motivation to do it on the side if I knew someone else wanted to use it too.

@MintArchit
Copy link

Hey @dmaahs2017, up to now I have not found an alternative either.
I would definitely prefer a fixed Polydock.
Last Time I wrote, all versions did not work for me.

Exception Ver 1.4.0
Gjs-Message: 01:12:49.090: JS WARNING: [polydock-bin-1.4.0/bin/polydock 890]: Requiring GdkX11 but it has 2 versions available; use imports.gi.versions to pick one

(gjs:60174): Gjs-CRITICAL **: 01:12:49.090: JS ERROR: Error: Requiring GdkX11, version none: Requiring namespace 'Gdk' version '4.0', but '3.0' is already loaded
@polydock-bin-1.4.0/bin/polydock:890:1


(gjs:60174): Gjs-CRITICAL **: 01:12:49.090: Script polydock-bin-1.4.0/bin/polydock threw an exception
Exception Ver 2.0.2
(gjs:61844): Gjs-CRITICAL **: 01:20:47.079: JS ERROR: Error: Constructor called as normal method. Use 'new SomeObject()' not 'SomeObject()'
class_1@polydock-bin-2.0.2/bin/polydock:884:46
imports.gi.versions.GdkPixbuf<@polydock-bin-2.0.2/bin/polydock:936:15
@polydock-bin-2.0.2/bin/polydock:940:2


(gjs:61844): Gjs-CRITICAL **: 01:20:47.079: Script polydock-bin-2.0.2/bin/polydock threw an exception
Exception Ver 2.0.3
(gjs:62159): Gjs-CRITICAL **: 01:22:12.689: JS ERROR: Error: Constructor called as normal method. Use 'new SomeObject()' not 'SomeObject()'
class_1@polydock-bin-2.0.3/bin/polydock:897:46
imports.gi.versions.GdkPixbuf<@polydock-bin-2.0.3/bin/polydock:949:15
@polydock-bin-2.0.3/bin/polydock:953:2


(gjs:62159): Gjs-CRITICAL **: 01:22:12.689: Script polydock-bin-2.0.3/bin/polydock threw an exception
Exception Ver 2.1.0
(gjs:62269): Gjs-CRITICAL **: 01:22:43.812: JS ERROR: Error: Constructor called as normal method. Use 'new SomeObject()' not 'SomeObject()'
class_1@polydock-bin-2.1.0/bin/polydock:899:46
imports.gi.versions.GdkPixbuf<@polydock-bin-2.1.0/bin/polydock:951:15
@polydock-bin-2.1.0/bin/polydock:955:2


(gjs:62269): Gjs-CRITICAL **: 01:22:43.812: Script polydock-bin-2.1.0/bin/polydock threw an exception

Just out of curiosity i tested them again and Ver. 2.0.0 and 2.0.1 are running !!!

Preview Ver 2.0.1 with default settings

pd_2 0 1

Tomorrow, I'll delve deeper into this.

P.s. current setup ubuntu22lts + i3 + polybar

@dmaahs2017
Copy link

Well that's really cool to hear! Those working versions might be a good starting point for a fork. I'm running arch + bspwm + polybar

@quiltedstars
Copy link

Same issue is happening with me :( 2.0.1 threw some promising code at me, but it didn't launch because

(polydock:18496): Gjs-CRITICAL **: 15:36:39.283: JS ERROR: Error: Function Gdk.property_get() cannot be called: argument 'actual_property_type' with type interface is not introspectable because it has a type not supported for (out caller-allocates)

@AndrewSwerlick
Copy link
Contributor

Was able to fix this issue with #55

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

No branches or pull requests

5 participants