Bug 1302173

Summary: [abrt] eric: HelpWindow.py:3682:__userStyleSheet:TypeError: arguments did not match any overloaded call:
Product: [Fedora] Fedora Reporter: yucef sourani <youssef.m.sourani>
Component: ericAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dennis, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c9fdd5453d323dd3ff3ac50f2c4412653a69ab4a
Whiteboard: abrt_hash:5c31e3191273a866b07c665df3292c6f3879f169;VARIANT_ID=workstation;
Fixed In Version: eric-6.1.2-2.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-11 12:56:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description yucef sourani 2016-01-27 02:25:59 UTC
Version-Release number of selected component:
eric-6.0.7-1.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 /usr/lib/python3.4/site-packages/eric6/eric6_webbrowser.py
executable:     /usr/lib/python3.4/site-packages/eric6/eric6_webbrowser.py
kernel:         4.2.6-301.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
HelpWindow.py:3682:__userStyleSheet:TypeError: arguments did not match any overloaded call:
  QByteArray(): too many arguments
  QByteArray(int, str): argument 1 has unexpected type 'str'
  QByteArray(QByteArray): argument 1 has unexpected type 'str'

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/eric6/eric6_webbrowser.py", line 102, in <module>
    main()
  File "/usr/lib/python3.4/site-packages/eric6/eric6_webbrowser.py", line 98, in main
    installErrorHandler=True)
  File "/usr/lib/python3.4/site-packages/eric6/Toolbox/Startup.py", line 241, in simpleAppStartup
    w = mwFactory(argv)
  File "/usr/lib/python3.4/site-packages/eric6/eric6_webbrowser.py", line 73, in createMainWidget
    help = HelpWindow(home, '.', None, 'help viewer', searchWord=searchWord)
  File "/usr/lib/python3.4/site-packages/eric6/Helpviewer/HelpWindow.py", line 220, in __init__
    self.__initWebSettings()
  File "/usr/lib/python3.4/site-packages/eric6/Helpviewer/HelpWindow.py", line 335, in __initWebSettings
    settings.setUserStyleSheetUrl(self.__userStyleSheet(styleSheet))
  File "/usr/lib/python3.4/site-packages/eric6/Helpviewer/HelpWindow.py", line 3682, in __userStyleSheet
    encodedStyle = bytes(QByteArray(userStyle).toBase64()).decode()
TypeError: arguments did not match any overloaded call:
  QByteArray(): too many arguments
  QByteArray(int, str): argument 1 has unexpected type 'str'
  QByteArray(QByteArray): argument 1 has unexpected type 'str'

Local variables in innermost frame:
styleSheetFile: ''
userStyle: '{display:none !important;}'
self: <Helpviewer.HelpWindow.HelpWindow object at 0x7f94d209f708>

Comment 1 yucef sourani 2016-01-27 02:26:05 UTC
Created attachment 1118653 [details]
File: backtrace

Comment 2 yucef sourani 2016-01-27 02:26:06 UTC
Created attachment 1118654 [details]
File: environ

Comment 3 yucef sourani 2016-03-11 12:46:29 UTC
The problem is fixed ,Thank you .