eric ide

Message799

Author: shao.lo
Recipients: shao.lo
Date: 2016-12-18.17:30:13
Content
Traceback (most recent call last):                                             
                                        
  File "/eric6-16.12/eric/Helpviewer/Network/NetworkAccessManagerProxy.py", line
82, in createRequest                                                           
                                                    
    op, pageRequest, outgoingData)                                             
                                        
  File "/eric6-16.12/eric/Helpviewer/Network/NetworkAccessManager.py", line 162,
in createRequest                                                               
                                                    
    reply = self.__adblockNetwork.block(req)                                   
                                        
  File "/eric6-16.12/eric/Helpviewer/AdBlock/AdBlockNetwork.py", line 45, in
block           
    blockedRule = subscription.match(request, urlDomain, urlString)            
                                        
  File "/eric6-16.12/eric/Helpviewer/AdBlock/AdBlockSubscription.py", line 539,
in match     
    if rule.networkMatch(req, urlDomain, urlString):                           
                                        
  File "/eric6-16.12/eric/Helpviewer/AdBlock/AdBlockRule.py", line 298, in
networkMatch      
    if self.__thirdParty and not self.matchThirdParty(request):                
                                        
  File "/eric6-16.12/eric/Helpviewer/AdBlock/AdBlockRule.py", line 368, in
matchThirdParty   
    referer = bytes(req.attribute(QNetworkRequest.User + 200, "")).decode()    
                                        
TypeError: string argument without an encoding                                 
                                        
Aborted (core dumped)                                                          
                                        
...basically
bytes('').decode()
Traceback (most recent call last):
  File "/usr/lib/python3.5/code.py", line 91, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
TypeError: string argument without an encoding
History
Date User Action Args
2016-12-18 17:30:13shao.losetrecipients: + shao.lo
2016-12-18 17:30:13shao.losetmessageid: <1482082213.48.0.0951147310527.issue216@eric-ide.python-projects.org>
2016-12-18 17:30:13shao.lolinkissue216 messages
2016-12-18 17:30:13shao.locreate