You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to print a source code file. When I go to File->Print in Spyder I see the error message that I presume is linked to this in some manner.
What steps will reproduce the problem?
It doesn't seem reproducible in that I've now closed and re-opened the file and the print function works as expected. To get this issue I opened the source file, and then I highlight items near the top of the file like "from utilities import *" and right-clicked on utilities to choose go to definition, as I wanted to also view those files. I then went to File->Print and this error was generated. I can't supply any of the files for commericial-in-confidence reasons.
What is the expected output? What do you see instead?
I expected to see a file dialog, instead I got the error below.
Please provide any additional information below
File "C:\Users\fra256\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyder\plugins\editor.py", line 1932, in print_file
printDialog.addEnabledOption(QAbstractPrintDialog.PrintSelection)
AttributeError: 'QPrintDialog' object has no attribute 'addEnabledOption'
Description
I want to print a source code file. When I go to File->Print in Spyder I see the error message that I presume is linked to this in some manner.
What steps will reproduce the problem?
It doesn't seem reproducible in that I've now closed and re-opened the file and the print function works as expected. To get this issue I opened the source file, and then I highlight items near the top of the file like "from utilities import *" and right-clicked on utilities to choose go to definition, as I wanted to also view those files. I then went to File->Print and this error was generated. I can't supply any of the files for commericial-in-confidence reasons.
What is the expected output? What do you see instead?
I expected to see a file dialog, instead I got the error below.
Please provide any additional information below
File "C:\Users\fra256\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyder\plugins\editor.py", line 1932, in print_file
printDialog.addEnabledOption(QAbstractPrintDialog.PrintSelection)
AttributeError: 'QPrintDialog' object has no attribute 'addEnabledOption'
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: