[Edubuntu-bugs] [Bug 1884295] Re: AttributeError: 'QWebEngineProfile' object has no attribute 'setUrlRequestInterceptor'

2020-08-05 Thread Todd Allen
I have also encountered this issue:

Parsing all content...
CSSStyleDeclaration: Unexpected token, ignoring upto '$698: False;'. [9:11: $]
CSSStyleDeclaration: Unexpected token, ignoring upto '$698: False;'. [16:12: $]
CSSStyleDeclaration: Unexpected token, ignoring upto '$698: False;'. [18:12: $]
34% Running transforms on e-book...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.0pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating PDF Output...
67% Running PDF Output plugin
The cover image has an id != "cover". Renaming to work around bug in Nook Color
68% Parsed all content for markup transformation
70% Completed markup transformation
WebEngineContext used before QtWebEngine::initialize() or OpenGL context 
creation failed.
Traceback (most recent call last):
  File "/usr/bin/ebook-convert", line 20, in 
sys.exit(main())
  File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 401, in main
plumber.run()
  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1274, in 
run
self.output_plugin.convert(self.oeb, self.output, self.input_plugin,
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 
188, in convert
self.convert_text(oeb_book)
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 
253, in convert_text
convert(
  File "/usr/lib/calibre/calibre/ebooks/pdf/html_writer.py", line 1195, in 
convert
manager = RenderManager(opts, log, container.root)
  File "/usr/lib/calibre/calibre/ebooks/pdf/html_writer.py", line 279, in 
__init__
ans.setUrlRequestInterceptor(self.interceptor)
AttributeError: 'QWebEngineProfile' object has no attribute 
'setUrlRequestInterceptor'

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to calibre in Ubuntu.
https://bugs.launchpad.net/bugs/1884295

Title:
  AttributeError: 'QWebEngineProfile' object has no attribute
  'setUrlRequestInterceptor'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1884295/+subscriptions

___
Mailing list: https://launchpad.net/~edubuntu-bugs
Post to : edubuntu-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~edubuntu-bugs
More help   : https://help.launchpad.net/ListHelp


[Edubuntu-bugs] [Bug 1884295] Re: AttributeError: 'QWebEngineProfile' object has no attribute 'setUrlRequestInterceptor'

2020-10-07 Thread Todd Allen
Seems we need that downstream too, then?

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to calibre in Ubuntu.
https://bugs.launchpad.net/bugs/1884295

Title:
  AttributeError: 'QWebEngineProfile' object has no attribute
  'setUrlRequestInterceptor'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1884295/+subscriptions

___
Mailing list: https://launchpad.net/~edubuntu-bugs
Post to : edubuntu-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~edubuntu-bugs
More help   : https://help.launchpad.net/ListHelp