Git Product home page Git Product logo

Comments (26)

gort818 avatar gort818 commented on August 23, 2024 1

I will look into this, it seems they have updated chromium, and changed the way cookies are stored. I would start with removing ~/.local/share/qtwebflix/QtWebEngine/Default and ~/.cache/qtwebflix and see if that helps

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

I can confirm some odd behaviour.. my login data wasn't saved and i had to fill in login every restart. Compiled against new qt version and deleted cache and config, everything is fine again.

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

Removing the cache seemed to stop the crashes but I still get the login page every time I reload.

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

@omni6 can you tell me the steps you took I am still getting a sqlite error and have to log in each time.

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

@gort818 sorry, have to correct myself. The login issue persists.

from qtwebflix.

magicvodi avatar magicvodi commented on August 23, 2024

I will look into this, it seems they have updated chromium, and changed the way cookies are stored. I would start with removing ~/.local/share/qtwebflix/QtWebEngine/Default and ~/.cache/qtwebflix and see if that helps

Crashing stopped, but i have the same login issue.

$ qtwebflix 
js: Refused to apply style from 'https://www.netflix.com/personalization/cl2/freeform/WebsiteDetect?source=wwwhead&fetchType=css&modalView=login' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
normal ua "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.0 Chrome/69.0.3497.128 Safari/537.36"
fixed ua "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.0 Chrome/69.0.3497.128 Safari/537.36"
Transitioning to new MPRIS interface:  21NetflixMprisInterface
[8757:8790:0208/153153.459237:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: PRAGMA auto_vacuum
[8757:8790:0208/153153.459266:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: PRAGMA journal_mode = TRUNCATE
[8757:8790:0208/153153.459298:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: SELECT name FROM sqlite_master WHERE type=? AND name=? COLLATE NOCASE
[8757:8790:0208/153153.459335:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: SELECT name FROM sqlite_master WHERE type=? AND name=? COLLATE NOCASE
[8757:8790:0208/153153.459347:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR)
[8757:8790:0208/153153.459433:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: PRAGMA auto_vacuum
[8757:8790:0208/153153.459447:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: PRAGMA journal_mode = TRUNCATE
[8757:8790:0208/153153.459466:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: SELECT name FROM sqlite_master WHERE type=? AND name=? COLLATE NOCASE
[8757:8790:0208/153153.459489:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: SELECT name FROM sqlite_master WHERE type=? AND name=? COLLATE NOCASE
[8757:8790:0208/153153.459500:ERROR:connection.cc(1862)] Cookie sqlite error 5, errno 0: database is locked, sql: CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR)
js: Refused to apply style from 'https://www.netflix.com/personalization/cl2/freeform/WebsiteDetect?source=wwwhead&fetchType=css&modalView=login' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
normal ua "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.0 Chrome/69.0.3497.128 Safari/537.36"
fixed ua "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.0 Chrome/69.0.3497.128 Safari/537.36"
 write settings: "https://www.netflix.com/at-en/Login?nextpage=https%3A%2F%2Fwww.netflix.com%2Fbrowse%3Flocale%3Den-AT"

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

It is definitely a chromium issue, best thing we can do for now is to downgrade qtwebengine.

sudo pacman -U /var/cache/pacman/pkg/qt5-webengine-5.12.0-1-x86_64.pkg.tar.xz

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

Someone have to file a bug report... But what i dont't understand is that this issue seems to be qtweblix only. Should it be the same if i use falkon/qute to login netflix?

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

@omni6 Have you tested it in Falkon?

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

Yes tested it right now. Falkon stays logged in!

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

@gort818
just a feeling ... build qtwebflix from here

https://github.com/gort818/qtwebflix/tree/1aecbdd1bb929c29c6054c3ba5eb412c9b1af01a

Here login still works

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

OK

When i switch from master to 1aecbdd everything works.
Switching back: crash

[8616:8616:0211/202732.476113:ERROR:binder_registry.h(100)] Failed to locate a binder for interface "media.mojom.PlatformVerification".
Received signal 11 SEGV_ACCERR 7f665c13d1b0
#0 0x7f66dee3fb2e <unknown>
#1 0x7f66dee3ef4b <unknown>
#2 0x7f66dee3f587 <unknown>
#3 0x7f66daee7e00 <unknown>
#4 0x7f665c13d1b0 <unknown>
  r8: 0000000000000007  r9: 0000000000000006 r10: 00007f666e7fa60c r11: 0000000000000000
 r12: 00007f666e7fa750 r13: 00007f666e7fab80 r14: 00000000ffffffff r15: 0000000000000000
  di: 00007f665c09f890  si: 00007f665c14e1d0  bp: 00007f666e7fa940  bx: 00007f665c14e1b0
  dx: 00007f666e7fa750  ax: 00007f665c13d1b0  cx: 0000000000000000  sp: 00007f666e7fa748
  ip: 00007f665c13d1b0 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000015
 trp: 000000000000000e msk: 0000000000000000 cr2: 00007f665c13d1b0
[end of stack trace]
Calling _exit(1). Core file will not be generated.

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

@omni6 can you bisect and find the bad commit? If not I will try later sometime this week.

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

On it!

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

@omni6 did some testing.. it seems setting the useragent causes qtwebflix to crash now. I will have to remove that for the moment.. that sucks.

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

@magicvodi @omni6 Ok I think we are good can you guys give it a test?

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

Ok I think we are good can you guys give it a test?

Done, already catched this commit yesterday but messed up with non deleted config files...anyway full qtwebflix power back again.
Ever thought about a pre config menu where you can choose the streaming service? So you could start the webengine process without changing the useragent in running process... maybe also useful for the mpris interface for different sites!?

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

@gort818

it seems setting the useragent causes qtwebflix to crash now. I will have to remove that for the moment.. that sucks.

Ah, i see you have found alternative to simply remove the ua-switcher...

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

@omni6 so the problem appears when changing the user agent after a page has loaded while using the Qt library this was doable before 5.12.1, So it still changes the ua when using amazon prime but uses javascript instead.

I do have command line options where you can set the provider and ua before rendering the web page that still works fine.

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

Can this be closed? Anyone still having issues?

from qtwebflix.

magicvodi avatar magicvodi commented on August 23, 2024

I made a new build from master and it seems to work now.

from qtwebflix.

JuBan1 avatar JuBan1 commented on August 23, 2024

Hi there. I've had the same issue and can confirm that building from master fixes it for me too. Thanks for you work!

I've flagged the aur package as out-of-date so the maintainer knows to update the package.

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

@JuBan1
I am the maintainer. Please do not mark git packages ood unless they doesn't build. Do not worry, i removed the ood flag already.

from qtwebflix.

omni6 avatar omni6 commented on August 23, 2024

@gort818
I think this can be closed.

from qtwebflix.

gort818 avatar gort818 commented on August 23, 2024

fixed with bf7dee5

from qtwebflix.

The-Compiler avatar The-Compiler commented on August 23, 2024

I've seen this in my own project as well - reported upstream as QTBUG- 75884.

from qtwebflix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.