Comments (5)
@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.
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.
@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.
@stjernegard Hey, I'm just wondering if release 0.2.2 fixed your issue.
from sublime-commando.
Yea, it works now, thanks 👍
from sublime-commando.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime-commando.