-
Notifications
You must be signed in to change notification settings - Fork 39
[PyQt] Fix None pixmap, USING_PYQT for PyQt5 #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
Traceback (most recent call last):
Traceback (most recent call last):
File "/home/linters/.local/bin/flake8", line 11, in
sys.exit(main())
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/cli.py", line 18, in main
app.run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 393, in run
self._run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 381, in _run
self.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 300, in run_checks
self.file_checker_manager.run()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 331, in run
self.run_serial()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 315, in run_serial
checker.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 598, in run_checks
self.run_ast_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 502, in run_ast_checks
for (line_number, offset, text, check) in runner:
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 56, in run
parser.visit(self.tree)
File "/usr/lib/python3.6/ast.py", line 253, in visit
return visitor(node)
File "/usr/lib/python3.6/ast.py", line 261, in generic_visit
self.visit(item)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 39, in visit_ClassDef
self.capture_issues_visitor('ClassDef', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
self.generic_visit(node)
File "/usr/lib/python3.6/ast.py", line 263, in generic_visit
self.visit(value)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 36, in visit_Call
self.capture_issues_visitor('Call', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
issues = checker.run(node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checkers/render.py", line 22, in run
if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'
9fc027f to
41a1fe6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
Traceback (most recent call last):
Traceback (most recent call last):
File "/home/linters/.local/bin/flake8", line 11, in
sys.exit(main())
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/cli.py", line 18, in main
app.run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 393, in run
self._run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 381, in _run
self.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 300, in run_checks
self.file_checker_manager.run()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 331, in run
self.run_serial()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 315, in run_serial
checker.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 598, in run_checks
self.run_ast_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 502, in run_ast_checks
for (line_number, offset, text, check) in runner:
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 56, in run
parser.visit(self.tree)
File "/usr/lib/python3.6/ast.py", line 253, in visit
return visitor(node)
File "/usr/lib/python3.6/ast.py", line 261, in generic_visit
self.visit(item)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 39, in visit_ClassDef
self.capture_issues_visitor('ClassDef', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
self.generic_visit(node)
File "/usr/lib/python3.6/ast.py", line 263, in generic_visit
self.visit(value)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 36, in visit_Call
self.capture_issues_visitor('Call', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
issues = checker.run(node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checkers/render.py", line 22, in run
if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
Traceback (most recent call last):
Traceback (most recent call last):
File "/home/linters/.local/bin/flake8", line 11, in
sys.exit(main())
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/cli.py", line 18, in main
app.run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 393, in run
self._run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 381, in _run
self.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 300, in run_checks
self.file_checker_manager.run()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 331, in run
self.run_serial()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 315, in run_serial
checker.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 598, in run_checks
self.run_ast_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 502, in run_ast_checks
for (line_number, offset, text, check) in runner:
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 56, in run
parser.visit(self.tree)
File "/usr/lib/python3.6/ast.py", line 253, in visit
return visitor(node)
File "/usr/lib/python3.6/ast.py", line 261, in generic_visit
self.visit(item)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 39, in visit_ClassDef
self.capture_issues_visitor('ClassDef', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
self.generic_visit(node)
File "/usr/lib/python3.6/ast.py", line 263, in generic_visit
self.visit(value)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 36, in visit_Call
self.capture_issues_visitor('Call', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
issues = checker.run(node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checkers/render.py", line 22, in run
if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'
…x' and 'qt5-screen-grab' See in order on https://github.com: - shotgunsoftware/pull/92 to match wwfxuk/tk-framework-qtwidgets/tree/v2.8.3%2Bwwfx.1.0.0 - /pull/2 to match wwfxuk/tk-framework-qtwidgets/tree/v2.8.3%2Bwwfx.1.1.0 - shotgunsoftware/pull/105 to match wwfxuk/tk-framework-qtwidgets/tree/v2.8.5%2Bwwfx.1.0.2
764a4a2 to
ca3bd7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
Traceback (most recent call last):
Traceback (most recent call last):
File "/home/linters/.local/bin/flake8", line 11, in
sys.exit(main())
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/cli.py", line 18, in main
app.run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 393, in run
self._run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 381, in _run
self.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 300, in run_checks
self.file_checker_manager.run()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 331, in run
self.run_serial()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 315, in run_serial
checker.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 598, in run_checks
self.run_ast_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 502, in run_ast_checks
for (line_number, offset, text, check) in runner:
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 56, in run
parser.visit(self.tree)
File "/usr/lib/python3.6/ast.py", line 253, in visit
return visitor(node)
File "/usr/lib/python3.6/ast.py", line 261, in generic_visit
self.visit(item)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 39, in visit_ClassDef
self.capture_issues_visitor('ClassDef', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
self.generic_visit(node)
File "/usr/lib/python3.6/ast.py", line 263, in generic_visit
self.visit(value)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 36, in visit_Call
self.capture_issues_visitor('Call', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
issues = checker.run(node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checkers/render.py", line 22, in run
if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'
ca3bd7f to
4dd3f11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
Traceback (most recent call last):
Traceback (most recent call last):
File "/home/linters/.local/bin/flake8", line 11, in
sys.exit(main())
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/cli.py", line 18, in main
app.run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 393, in run
self._run(argv)
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 381, in _run
self.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 300, in run_checks
self.file_checker_manager.run()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 331, in run
self.run_serial()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 315, in run_serial
checker.run_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 598, in run_checks
self.run_ast_checks()
File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 502, in run_ast_checks
for (line_number, offset, text, check) in runner:
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 56, in run
parser.visit(self.tree)
File "/usr/lib/python3.6/ast.py", line 253, in visit
return visitor(node)
File "/usr/lib/python3.6/ast.py", line 261, in generic_visit
self.visit(item)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 39, in visit_ClassDef
self.capture_issues_visitor('ClassDef', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
self.generic_visit(node)
File "/usr/lib/python3.6/ast.py", line 263, in generic_visit
self.visit(value)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 36, in visit_Call
self.capture_issues_visitor('Call', node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
issues = checker.run(node)
File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checkers/render.py", line 22, in run
if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'
Also added
tk-metadatatogitignore.This patch fixes the following errors encountered as we try implement
tk-multi-workfiles2"File Open..." dialogtk-katanafor Katana 3.1 (PyQt5):[ERROR python.root]: A TypeError occurred in "shotgun_overlay_widget.py": setPixmap(self, QPixmap): argument 1 has unexpected type 'NoneType'USING_PYQTis incorrectly determined, resulting in[ERROR python.root]: A TypeError occurred in "widget_delegate.py": arguments did not match any overloaded call: