Comments (4)
Thanks @lambdamusic ! The issue with the filename is something that I also noticed recently (#90) and hopefully has been addressed in master
. However, I have not pushed that fix to pypi with a new version yet. There are a few other changes that I would like to push with a new version.
from gist.
Sorry about that! Can you tell me what version you have installed?
from gist.
I don't have access to OSX but I think I have a fix for you. The problem here is that gist
has to wait for the editor to finish writing the file before it sends anything to github. By default, the /usr/bin/code
command opens a separate process. However, there is a command line option you can pass to VC telling it to wait for the process to terminate. Just append --wait
to the command in the configuration file,
editor: /usr/bin/code --wait
This should open a tab in VC and wait for you to close the tab before trying to send the contents to github.
This works on ubuntu but would you mind trying it out to make sure it works for you before I close this issue?
from gist.
Thanks! It does work indeed (and sorry for the late reply)
A couple of comments FYI
- the vscode file buffer needs to be saved&closed for the script to continue (as expected)
- the file is uploaded with name
null
from gist.
Related Issues (20)
- How to run tests? HOT 2
- used to work well but can't get through after token updated HOT 7
- Switch CI to github actions
- Remove support for python3.{3,4}
- Discontinue use of 'python setup.py test'
- Fixed unit test that fails when run using github actions
- Switch to using github action badges
- ValueError: Unable to load configuration file: readfp() got an unexpected keyword argument 'source' HOT 1
- Use Authorization HTTP header, since access_token is deprecated HOT 4
- List required arguments after options HOT 7
- Should not advise users to install with `sudo` HOT 1
- ValueError: Unable to load configuration file: readfp() got an unexpected keyword argument 'source' HOT 3
- Switch from docopt to argparse
- Filename is not being properly set
- `gist archive` should decrypt encrypted files
- gist edit fails with ERROR[gist] handle_gist_edit() takes 2 positional arguments but 4 were given HOT 6
- Switch to using poetry
- Use `unittest.mock.auto_spec` in `test_cli_parser.py`
- Add unit tests to cover `client.py`
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 gist.