Giter Site home page Giter Site logo

Comments (5)

ericpridham avatar ericpridham commented on May 24, 2024

@stjernegard I can only seem to reproduce this error if I explicitly translate "$input" to None, so I'm curious about the exact commands. Can you open up the console and enter sublime.log_commands(True) then re-run the command above and paste to me the relevant command log?

from sublime-commando.

stjernegard avatar stjernegard commented on May 24, 2024

@ericpridham

The relevant part of the log:

command: show_overlay {"overlay": "command_palette"}
command: commando {"commands": [["commando_input_panel", {"caption": "Branch name: ", "initial_text": "master", "on_done": [["commando_exec", {"cmd": ["git", "checkout", "$input"]}]]}]]}
command: commando_input_panel {"context": {"args": {"caption": "Branch name: ", "initial_text": "master", "on_done": [["commando_exec", {"cmd": ["git", "checkout", "$input"]}]]}, "commands": [], "input": null, "view_id": 20, "window_id": 2}}
command: commando_exec {"context": {"args": {"cmd": ["git", "checkout", "$input"]}, "commands": [], "input": null, "view_id": 20, "window_id": 2}}
Exception in thread Thread-13:
Traceback (most recent call last):
  File "./threading.py", line 901, in _bootstrap_inner
  File "commands in /Users/dannistjernegard/Library/Application Support/Sublime Text 3/Installed Packages/Commando.sublime-package", line 274, in run
  File "./subprocess.py", line 824, in __init__
  File "./subprocess.py", line 1386, in _execute_child
TypeError: Can't convert 'NoneType' object to str implicitly

Traceback (most recent call last):
  File "commands in /Users/dannistjernegard/Library/Application Support/Sublime Text 3/Installed Packages/Commando.sublime-package", line 86, in watch_proc
  File "commands in /Users/dannistjernegard/Library/Application Support/Sublime Text 3/Installed Packages/Commando.sublime-package", line 308, in poll
AttributeError: 'NoneType' object has no attribute 'poll'

from sublime-commando.

ericpridham avatar ericpridham commented on May 24, 2024

@stjernegard Excellent, thanks for that. Looks like I had this fixed in master but never did a release for it. I just did a 0.2.2 release which should hit package control shortly.

from sublime-commando.

ericpridham avatar ericpridham commented on May 24, 2024

@stjernegard Hey, I'm just wondering if release 0.2.2 fixed your issue.

from sublime-commando.

stjernegard avatar stjernegard commented on May 24, 2024

Yea, it works now, thanks 👍

from sublime-commando.

Related Issues (3)

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.