Giter Site home page Giter Site logo

pprofile's People

Contributors

iddl avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pprofile's Issues

Clicking 'Settings' doesn't work under Windows 10

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"
    ]

Run yields error (Python3)

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.

enable_profile_all does not exist in line_profiler

Hello.

The following error happens (exact version: line-profiler==2.1.2 and line_profiler==1.0):

imagen

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.

Python profiler in Atom, I get an error

Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'line_profiler'

Appears in UI above call to the function to profile.
screen shot 2017-12-12 at 4 08 28 pm

But, if I pip install line_profiler in the virtual environment I have set for the plugin, I no longer get this error.

Deprecated selector in `python-line-profiler/styles/cprofile.less`

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.