iddl / pprofile Goto Github PK
View Code? Open in Web Editor NEWPython line profiler for atom
License: MIT License
Python line profiler for atom
License: MIT License
I get this error when clicking the 'Settings' button on Atom for Windows 10. This only happens when clicking the pprofile settings (not with other packages). Might it therefore be a pprofile-caused bug?
As a workaround, I set the windows python path by editing my settings.cson and inserting
"*":
"python-line-profiler":
shellCmd: [
"python"
]
After applying a small workaround, I can run
from my_module import main
profile(main)
The main function successfully runs (judging from its side-effects), but upon main finishing, I see 'Line profiler - Error':
Traceback (most recent call last):
File "<stdin>". line 23, in <module>
AttributeError: 'dict' object has no attribute 'iteritems'
Could this be a Python3 related problem? I am using Python 3.6.
Hello.
The following error happens (exact version: line-profiler==2.1.2 and line_profiler==1.0):
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from line_profiler import LineProfiler
>>> lp = LineProfiler()
>>> lp
<line_profiler.LineProfiler object at 0x0000000003A8D3A8>
>>> lp.enable_profile_all()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'LineProfiler' object has no attribute 'enable_profile_all'
Thanks.
In python-line-profiler/styles/cprofile.less
:
Starting from Atom v1.13.0, the contents of atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host
and ::shadow
pseudo-selectors, and prepend all your syntax selectors with syntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
.pprofile-launcher atom-text-editor::shadow .gutter
=> .pprofile-launcher atom-text-editor.editor .gutter
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.