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

Problem with soup. #7

Open
M0tix opened this issue Mar 7, 2023 · 1 comment
Open

Problem with soup. #7

M0tix opened this issue Mar 7, 2023 · 1 comment

Comments

@M0tix
Copy link

M0tix commented Mar 7, 2023

Hello,
before I describe my issue, let me say that I am using Kali Linux with the 6.1.13-surface kernel and GNOME 43.1 as my DE, which I know is not the distro @tarelda uses, but if you have an instant Idea for a fix, please let me know. In return, I am willing to do some translation work for German.
I have installed the App like instructed, but when I open the extension window, I get the error
"Soup.form_request_new_from_hash is not a function". I
got a fix once using a replacement in todoist.js
"let message = Soup.Message.new_from_encoded_form('GET', MY_URL, Soup.form_encode_hash(params));"

After that, I got
"this._session.queue_message is not a function"
after which I decided to post this issue and start understanding your code instead of fixing singular error messages. If I find a solution, I will post it here.

@tarelda
Copy link
Owner

tarelda commented May 4, 2023

@M0tix Excuse me my late response, but my inbox was flooded with evcc messages and I didn't notice this one.
It seems that GNOME 43 has migrated from soup 2 to soup 3. There is migration guide, but I think new code should be guarded with GNOME version check. Fortunately AFAIR everything Soup related is in todoist.js, so adjusting it should be sufficient.

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

2 participants