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

2021-04-04 Thread John
As others have reported, using the version (5.14 by now) here fixes this 
problem (on Ubuntu 20.04).
https://calibre-ebook.com/download_linux

However, Leo Herzog wrote that he purged Calibre. I didn't want to do
this because I did not want to deal with rebuilding my library, so I
simply used the command at that link "To install or upgrade" and it
worked (without needing to purge or uninstall anything).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-29 Thread Anurag
Comment #6 by Leo Herzog solved the issue.
Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-15 Thread Ufos92
Honestly, guys, I am not sure what's the correct solution here, but `apt
get install calibre` getting me a buggy version, while there's a fix
released half a year ago, is not ok!

Using the latest version from here worked flawlessly. 
https://calibre-ebook.com/download_linux

Could you package this one and push it into the repository?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-02-03 Thread Linda
Comment #6 by Leo Herzog fixed it for me, also on Ubuntu 20.04.  It
installed the current calibre release (5.10.1).  Thank you, Leo!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-12-28 Thread G.M.
** Description changed:

  Trying to convert a book to pdf with calibre 4.99.4 results in error:
  
  ebook-convert TMcGrath-Clean\ Code\ Summary_Agile\ Software\ Craftmanship\ 
Guidelines-Developer\ Deconstructed\ \(2016\).azw3 TMcGrath-Clean\ Code\ 
Summary_Agile\ Software\ Craftmanship\ Guidelines-Developer\ Deconstructed\ 
\(2016\).pdf
  1% Converting input to HTML...
  InputFormatPlugin: MOBI Input running
- on /home/gmuller/Downloads/TOPRINT/TMcGrath-Clean Code Summary_Agile Software 
Craftmanship Guidelines-Developer Deconstructed (2016).azw3
+ on /home/user/Downloads/TOPRINT/TMcGrath-Clean Code Summary_Agile Software 
Craftmanship Guidelines-Developer Deconstructed (2016).azw3
  Found KF8 MOBI of type 'standalone'
  Parsing all content...
  34% Running transforms on e-book...
  Merging user specified metadata...
  Detecting structure...
  Flattening CSS and remapping font sizes...
  Source base font size is 11.95425pt
  Removing fake margins...
  Cleaning up manifest...
  Trimming unused files from manifest...
  Trimming 'images/3.jpeg' 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
  Link anchor: text/part.html#1-f22ab0014c924831a14cdb6c59d26a4e not found, 
linking to top of file instead
  Link anchor: text/part0001.html#UGI1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0002.html#1T141-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0003.html#2RHM1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0004.html#3Q281-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0005.html#4OIQ1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0006.html#5N3C1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0007.html#6LJU1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0008.html#7K4G1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0009.html#8IL21-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0010.html#9H5K1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0011.html#AFM61-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0012.html#BE6O1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0013.html#CCNA1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0014.html#DB7S1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0015.html#E9OE1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0016.html#F8901-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0017.html#G6PI1-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0018.html#H5A41-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0019.html#I3QM2-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  Link anchor: text/part0020.html#J2B81-f22ab0014c924831a14cdb6c59d26a4e not 
found, linking to top of file instead
  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)
+   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
+ sel

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

2020-11-12 Thread Leo Herzog
Just wanted to confirm that I had this bug with 4.99.4 on Ubuntu 20.04
as well. Fixed it by apt purging that version and installing the version
5.4.2 binary from calibre-ebook.com/download_linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-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 Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-07 Thread Eli Schwartz
It is "fix released" for calibre upstream, not Ubuntu. Which is an
incorrect status, upstream doesn't support your qt version and there is
no fix. Upstream uses newer qt.

** No longer affects: calibre

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-07 Thread Roland Orre
How do I reach this new Fix?

I'm running Ubuntu 20.04, and my version of calibre is 4.99.4, and I still get 
this bug.
Do I need to add some specific repository?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/calibre/+bug/1884295/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-09-25 Thread shreelochan das
** Also affects: calibre
   Importance: Undecided
   Status: New

** Changed in: calibre
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/calibre/+bug/1884295/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-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 Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-08-05 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: calibre (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs