eric ide


Title: web browser crash in matchThirdParty
Type: crash Product: eric6
Priority: critical    
Status: closed Resolution: fixed
Superseder: Nosy List: detlev, shao.lo
Assigned to: detlev Keywords:

Created on 2016-12-18.17:30:13 by shao.lo, last changed by detlev.

File Name Uploaded Description Remove shao.lo, 2016-12-18.17:30:13 Fix empty string decode error.
Messages (3.0)
msg801 (view) Author: shao.lo Date: 2016-12-18.18:07:46
Submitted changes fix problem.  Thanks!
msg800 (view) Author: detlev Date: 2016-12-18.17:50:45
Please check, if the fix just done in the repository fixes it.
msg799 (view) Author: shao.lo Date: 2016-12-18.17:30:13
Traceback (most recent call last):                                             
  File "/eric6-16.12/eric/Helpviewer/Network/", line
82, in createRequest                                                           
    op, pageRequest, outgoingData)                                             
  File "/eric6-16.12/eric/Helpviewer/Network/", line 162,
in createRequest                                                               
    reply = self.__adblockNetwork.block(req)                                   
  File "/eric6-16.12/eric/Helpviewer/AdBlock/", line 45, in
    blockedRule = subscription.match(request, urlDomain, urlString)            
  File "/eric6-16.12/eric/Helpviewer/AdBlock/", line 539,
in match     
    if rule.networkMatch(req, urlDomain, urlString):                           
  File "/eric6-16.12/eric/Helpviewer/AdBlock/", line 298, in
    if self.__thirdParty and not self.matchThirdParty(request):                
  File "/eric6-16.12/eric/Helpviewer/AdBlock/", line 368, in
    referer = bytes(req.attribute(QNetworkRequest.User + 200, "")).decode()    
TypeError: string argument without an encoding                                 
Aborted (core dumped)                                                          
Traceback (most recent call last):
  File "/usr/lib/python3.5/", line 91, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
TypeError: string argument without an encoding
Date User Action Args
2016-12-18 18:41:23detlevsetresolution: fixed
status: open -> closed
2016-12-18 18:07:46shao.losetmessage_count: 2.0 -> 3.0
messages: + msg801
2016-12-18 17:50:45detlevsetassignedto: detlev
message_count: 1.0 -> 2.0
messages: + msg800
nosy: + detlev
status: new -> open
2016-12-18 17:30:13shao.locreate