Coder Social home page Coder Social logo

Error with gist create about gist HOT 4 CLOSED

lambdamusic avatar lambdamusic commented on June 20, 2024 1
Error with gist create

from gist.

Comments (4)

jdowner avatar jdowner commented on June 20, 2024 1

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.

jdowner avatar jdowner commented on June 20, 2024

Sorry about that! Can you tell me what version you have installed?

from gist.

jdowner avatar jdowner commented on June 20, 2024

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.

lambdamusic avatar lambdamusic commented on June 20, 2024

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)

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.