question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Symbol navigation unpredictable and slow when using PySide

See original GitHub issue

Issue Type: Bug

  • Save this as a .py file:
from PySide import QtCore, QtGui
class Something():
	def __init__(self):
		pass
def main():
	pass
obj = Something()
  • Press ctrl+shift+O
  • On the first try it usually symbols load fast and as expected
  • Now press ctrl+shift+O again
  • Message ‘no symbol information for the file’ appears in lineEdit but symbols load within 2-6 seconds
  • If you make a change to e.g. the vscode settings at this point it works again once and then you can basically repeat the above pattern
  • If you remove the ‘from PySide import QtCore, QtGui’ line, everything works fine This issue affects code completion as well.

Extension version: 2018.4.0 VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:17.614Z) OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel® Core™ i5-3550 CPU @ 3.30GHz (4 x 3293)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.97GB (9.45GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
brettcannoncommented, Jul 31, 2018

@fynnay specifically what issues with 64-bit Python on Windows? The core dev in charge of the Windows build is a teammate of ours so I’m sure he would like to know. 😄

1reaction
fynnaycommented, May 31, 2018

@DonJayamanne the ‘easiest’ way of installing PySide on Mac seems to change for every major OSX update. Here are a couple of solutions that worked for me on Yosemite and Sierra in the past: A) Use pip and force a version

pip install -U PySide==1.2.2

B) Use homebrew

brew tap-pin cartr/qt4
brew install qt
brew install pyside
Read more comments on GitHub >

github_iconTop Results From Across the Web

Slow initial show performance of QComboBox with large item ...
To obtain each item size, Qt uses a QItemDelegate that is initialized for each item, computes the text size, adds an icon (if...
Read more >
QWidget - Qt for Python
The diagram above shows a QGroupBox widget being used to hold various child widgets in a layout provided by QGridLayout . The QLabel...
Read more >
Handling SQL Databases With PyQt: The Basics - Real Python
In this step-by-step tutorial, you'll learn how to use PyQt's built-in SQL support to create GUI applications that effectively manage SQL databases.
Read more >
Preferences Reference - Wing Python IDE
This chapter documents the entire set of available preferences for Wing Pro. Note that this includes preferences that are ignored and unused in...
Read more >
PlotItem — pyqtgraph 0.13.2.dev0 documentation
Implement a context menu with commonly used display and analysis options. Use plot() to create a new PlotDataItem and add it to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found