KIOExec MIME type error
Closed, ResolvedPublic

Description

On Arch with Kube 0.7.0 a click on any message results in what seems to be a conflict with the standard application for the data:text/html MIME type. It tries to open the default navigator and results in an error by KIOExec:

File not found: data:text/html;charset=UTF-8,%3C%21DOCTYP…3C%2Fbody%3E%0A%3C%2Fhtml%3E%0A%3C%2Fbody%3E%3C%2Fhtml%3E

I have the same or a similar problem. If I select a "conversation" with more than one mail (e.g. a mail I send and one reply) kube starts to load my browser and fails with an error with the title "Error -- KIOExec" and text that starts with "File not found: data:text/html;charset=UTF-8,%3C%21DOCTYPE HTML PUBLIC %22-" and followed by the rest of the mail. In the kube window the first mail is shown correctly but the second one misses the text of the mail. The subject, sender and time are shown correctly.

Part of the log:

Log:     {7ddae250-8447-494d-b493-78adbf75f298}.synchronizer       : Done Synchronizing 
Log:     {7ddae250-8447-494d-b493-78adbf75f298}.synchronizer       : All requests processed. 
Log:     kube.sinkfabric                                            : Received notification:  Notification(Type: "status" , Id: "" , Code: 2 , Message: "Synchronization has ended." , Entities: () )  
Log:     kube.sinkfabric                                            : Received notification:  Notification(Type: "info" , Id: "" , Code: 3 , Message: "" , Entities: () )  
Log:     kube.sinkfabric                                            : Received message:  "currentMail" QMap(("mail", QVariant(Sink::ApplicationDomain::Mail::Ptr, ))) 
Running mail query:  "{7ddae250-8447-494d-b493-78adbf75f298}" "{1f865ba5-dd9a-4aed-ac6c-9bcdb8623b19}"
Log:     kube.messageparser                                         : Message parsing took:  2 
Log:     kube.messageparser                                         : Message parsing and decryption/verification:  2 
Log:     kube.messageparser                                         : Message parsing took:  0 
Log:     kube.messageparser                                         : Message parsing and decryption/verification:  1 
Log:     kube.messageparser                                         : Message parsing took:  1 
Log:     kube.messageparser                                         : Message parsing and decryption/verification:  1 
Log:     kube.messageparser                                         : Message parsing took:  0 
Log:     kube.messageparser                                         : Message parsing and decryption/verification:  0 
qml: Nav request  QQuickWebEngineNavigationRequest(0x7ffe6ef92120) data:text/html;ch

followed by the rest of the mail

ghost45 added a subscriber: ghost45.
cmollekopf closed this task as Resolved.Dec 25 2018, 10:41 AM
cmollekopf claimed this task.
cmollekopf added a subscriber: cmollekopf.

I believe this is fixed as of 70fa84e2f23995fa79830c7a9961e101832f8cc6

I can confirm the same problem. For testing I have used both the current version from Arch AUR and I have built it from git source today. Both ways show the same error:

qml: Nav request  QQuickWebEngineNavigationRequest(0x7ffffc551e90) data:text/html;charset=UTF-8,%3C%21DOCTYPE HTML PUBLIC %22-%2F%2FW3C%2F%2FDTD HTML 4.01 Transitiona

Please note that the above commit is only in the kube develop (not master) branch and will only be part of the coming 0.8.0 release.