ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Python​Traceback

by kedder ALL

Easy navigation in your python tracebacks

Details

Installs

  • Total 12K
  • Win 6K
  • Mac 3K
  • Linux 3K
Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17
Windows 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0
Mac 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0
01234Apr 2Mar 30Mar 27Mar 24Mar 21Mar 18Mar 15Mar 12Mar 9Mar 6Mar 3Feb 28Feb 25Feb 22Feb 19Apr 2 Linux: 0 Mac: 0 Windows: 0Apr 1 Linux: 0 Mac: 0 Windows: 0Mar 31 Linux: 0 Mac: 0 Windows: 0Mar 30 Linux: 0 Mac: 1 Windows: 0Mar 29 Linux: 0 Mac: 1 Windows: 0Mar 28 Linux: 0 Mac: 1 Windows: 0Mar 27 Linux: 1 Mac: 0 Windows: 0Mar 26 Linux: 0 Mac: 0 Windows: 0Mar 25 Linux: 1 Mac: 0 Windows: 1Mar 24 Linux: 0 Mac: 0 Windows: 0Mar 23 Linux: 0 Mac: 0 Windows: 0Mar 22 Linux: 0 Mac: 0 Windows: 0Mar 21 Linux: 0 Mac: 0 Windows: 0Mar 20 Linux: 1 Mac: 0 Windows: 1Mar 19 Linux: 0 Mac: 1 Windows: 0Mar 18 Linux: 0 Mac: 0 Windows: 0Mar 17 Linux: 0 Mac: 0 Windows: 1Mar 16 Linux: 0 Mac: 0 Windows: 0Mar 15 Linux: 0 Mac: 0 Windows: 0Mar 14 Linux: 0 Mac: 1 Windows: 0Mar 13 Linux: 0 Mac: 0 Windows: 1Mar 12 Linux: 0 Mac: 0 Windows: 0Mar 11 Linux: 0 Mac: 1 Windows: 0Mar 10 Linux: 1 Mac: 0 Windows: 0Mar 9 Linux: 0 Mac: 0 Windows: 1Mar 8 Linux: 0 Mac: 0 Windows: 0Mar 7 Linux: 0 Mac: 0 Windows: 0Mar 6 Linux: 0 Mac: 0 Windows: 0Mar 5 Linux: 0 Mac: 0 Windows: 0Mar 4 Linux: 0 Mac: 0 Windows: 1Mar 3 Linux: 0 Mac: 0 Windows: 1Mar 2 Linux: 0 Mac: 0 Windows: 1Mar 1 Linux: 1 Mac: 0 Windows: 0Feb 28 Linux: 0 Mac: 0 Windows: 0Feb 27 Linux: 0 Mac: 1 Windows: 0Feb 26 Linux: 0 Mac: 0 Windows: 0Feb 25 Linux: 0 Mac: 0 Windows: 0Feb 24 Linux: 1 Mac: 0 Windows: 0Feb 23 Linux: 0 Mac: 0 Windows: 0Feb 22 Linux: 0 Mac: 0 Windows: 1Feb 21 Linux: 0 Mac: 0 Windows: 0Feb 20 Linux: 0 Mac: 0 Windows: 0Feb 19 Linux: 1 Mac: 0 Windows: 1Feb 18 Linux: 0 Mac: 0 Windows: 0Feb 17 Linux: 0 Mac: 0 Windows: 0Apr 2 Linux: 0 Mac: 0 Windows: 0Apr 1 Linux: 0 Mac: 0 Windows: 0Mar 31 Linux: 0 Mac: 0 Windows: 0Mar 30 Linux: 0 Mac: 1 Windows: 0Mar 29 Linux: 0 Mac: 1 Windows: 0Mar 28 Linux: 0 Mac: 1 Windows: 0Mar 27 Linux: 1 Mac: 0 Windows: 0Mar 26 Linux: 0 Mac: 0 Windows: 0Mar 25 Linux: 1 Mac: 0 Windows: 1Mar 24 Linux: 0 Mac: 0 Windows: 0Mar 23 Linux: 0 Mac: 0 Windows: 0Mar 22 Linux: 0 Mac: 0 Windows: 0Mar 21 Linux: 0 Mac: 0 Windows: 0Mar 20 Linux: 1 Mac: 0 Windows: 1Mar 19 Linux: 0 Mac: 1 Windows: 0Mar 18 Linux: 0 Mac: 0 Windows: 0Mar 17 Linux: 0 Mac: 0 Windows: 1Mar 16 Linux: 0 Mac: 0 Windows: 0Mar 15 Linux: 0 Mac: 0 Windows: 0Mar 14 Linux: 0 Mac: 1 Windows: 0Mar 13 Linux: 0 Mac: 0 Windows: 1Mar 12 Linux: 0 Mac: 0 Windows: 0Mar 11 Linux: 0 Mac: 1 Windows: 0Mar 10 Linux: 1 Mac: 0 Windows: 0Mar 9 Linux: 0 Mac: 0 Windows: 1Mar 8 Linux: 0 Mac: 0 Windows: 0Mar 7 Linux: 0 Mac: 0 Windows: 0Mar 6 Linux: 0 Mac: 0 Windows: 0Mar 5 Linux: 0 Mac: 0 Windows: 0Mar 4 Linux: 0 Mac: 0 Windows: 1Mar 3 Linux: 0 Mac: 0 Windows: 1Mar 2 Linux: 0 Mac: 0 Windows: 1Mar 1 Linux: 1 Mac: 0 Windows: 0Feb 28 Linux: 0 Mac: 0 Windows: 0Feb 27 Linux: 0 Mac: 1 Windows: 0Feb 26 Linux: 0 Mac: 0 Windows: 0Feb 25 Linux: 0 Mac: 0 Windows: 0Feb 24 Linux: 1 Mac: 0 Windows: 0Feb 23 Linux: 0 Mac: 0 Windows: 0Feb 22 Linux: 0 Mac: 0 Windows: 1Feb 21 Linux: 0 Mac: 0 Windows: 0Feb 20 Linux: 0 Mac: 0 Windows: 0Feb 19 Linux: 1 Mac: 0 Windows: 1Feb 18 Linux: 0 Mac: 0 Windows: 0Feb 17 Linux: 0 Mac: 0 Windows: 0Apr 2 Linux: 0 Mac: 0 Windows: 0Apr 1 Linux: 0 Mac: 0 Windows: 0Mar 31 Linux: 0 Mac: 0 Windows: 0Mar 30 Linux: 0 Mac: 1 Windows: 0Mar 29 Linux: 0 Mac: 1 Windows: 0Mar 28 Linux: 0 Mac: 1 Windows: 0Mar 27 Linux: 1 Mac: 0 Windows: 0Mar 26 Linux: 0 Mac: 0 Windows: 0Mar 25 Linux: 1 Mac: 0 Windows: 1Mar 24 Linux: 0 Mac: 0 Windows: 0Mar 23 Linux: 0 Mac: 0 Windows: 0Mar 22 Linux: 0 Mac: 0 Windows: 0Mar 21 Linux: 0 Mac: 0 Windows: 0Mar 20 Linux: 1 Mac: 0 Windows: 1Mar 19 Linux: 0 Mac: 1 Windows: 0Mar 18 Linux: 0 Mac: 0 Windows: 0Mar 17 Linux: 0 Mac: 0 Windows: 1Mar 16 Linux: 0 Mac: 0 Windows: 0Mar 15 Linux: 0 Mac: 0 Windows: 0Mar 14 Linux: 0 Mac: 1 Windows: 0Mar 13 Linux: 0 Mac: 0 Windows: 1Mar 12 Linux: 0 Mac: 0 Windows: 0Mar 11 Linux: 0 Mac: 1 Windows: 0Mar 10 Linux: 1 Mac: 0 Windows: 0Mar 9 Linux: 0 Mac: 0 Windows: 1Mar 8 Linux: 0 Mac: 0 Windows: 0Mar 7 Linux: 0 Mac: 0 Windows: 0Mar 6 Linux: 0 Mac: 0 Windows: 0Mar 5 Linux: 0 Mac: 0 Windows: 0Mar 4 Linux: 0 Mac: 0 Windows: 1Mar 3 Linux: 0 Mac: 0 Windows: 1Mar 2 Linux: 0 Mac: 0 Windows: 1Mar 1 Linux: 1 Mac: 0 Windows: 0Feb 28 Linux: 0 Mac: 0 Windows: 0Feb 27 Linux: 0 Mac: 1 Windows: 0Feb 26 Linux: 0 Mac: 0 Windows: 0Feb 25 Linux: 0 Mac: 0 Windows: 0Feb 24 Linux: 1 Mac: 0 Windows: 0Feb 23 Linux: 0 Mac: 0 Windows: 0Feb 22 Linux: 0 Mac: 0 Windows: 1Feb 21 Linux: 0 Mac: 0 Windows: 0Feb 20 Linux: 0 Mac: 0 Windows: 0Feb 19 Linux: 1 Mac: 0 Windows: 1Feb 18 Linux: 0 Mac: 0 Windows: 0Feb 17 Linux: 0 Mac: 0 Windows: 0

Readme

Source
raw.​githubusercontent.​com

PythonTraceback

PythonTraceback is a plug-in for Sublime Text, that allows easy navigation in your python tracebacks. Copy a traceback from your terminal to clipboard, switch to Sublime Text and press Ctrl+t, Ctrl+v. New scratch buffer will be opened with the traceback. Place the cursor on a line you want to navigate to and press Alt+d: file will be opened at the line, specified in traceback.

While traceback window is open (but not necessarily active), you can navigate up and down in traceback by pressing Alt-k and Alt-j respectively.

Pressing Ctrl+t, Ctrl+v again will replace traceback buffer with new traceback from the clipboard.

If you are working on a project, traceback lines, that match your project' files, will be specially marked by little dots in gutter to make it simple to spot “own” files.

PythonTraceback will try hard to find local file that matches one, specified in traceback, even if it does not exists directly. If at least partial path can be found in one of your project folders, PythonTraceback will open the file for you. This is very useful for analyzing tracebacks from remote machines, where application is located in different directory.

Defined commands

PythonTraceback defines the following commands:

Command Title Default Key Binding
traceback_paste Traceback: Paste Traceback Ctrl+t, Ctrl+v on PC or ⌘-t, ⌘+v on OSX
traceback_goto_line Traceback: Go To Line Alt+d
traceback_go_up Traceback: Go Up Alt+k
traceback_go_down Traceback: Go Down Alt+j

Installation

To install this plugin, you have two options:

  1. Package Control (recommended). If you have Sublime Package Control installed, simply search for PythonTraceback to install.

  2. Manual. Clone source code to Sublime Text Packages folder:

$ git clone https://github.com/kedder/sublime-python-traceback PythonTraceback