sciapp / github-binary-upload Goto Github PK
View Code? Open in Web Editor NEWgithub-binary-upload is a utility for publishing releases from tags with attached files on GitHub.
License: MIT License
github-binary-upload is a utility for publishing releases from tags with attached files on GitHub.
License: MIT License
it is giving error file not found although I gave full path to the file.zip. I am new and could not find a single example on how to use this so I have been facing many errors too.
`
from github_binary_upload import publish_release_from_tag
project = "slarti-com/slarti-electron-wrapper"
tag = "v1.0.2"
assets = "C:\Users\Farhan Ahmed\Desktop\code\f1"
github_server = "github.com"
username = ""
password = ""
publish_release_from_tag(
project, tag, assets, github_server, username, password
)
`
I can not import the module gives me error file not found. I dont know why this error is showing up.
`
File "c:\Users\Farhan Ahmed\Desktop\code\f1\main.py", line 1, in
from github_binary_upload import publish_release_from_tag
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\site-packages\github_binary_upload.py", line 18, in
from yacl import setup_colored_stderr_logging
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\site-packages\yacl.py", line 271, in
class ColoredFormatter(logging.Formatter):
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\site-packages\yacl.py", line 273, in ColoredFormatter
"funcName": TerminalColorCodes.blue,
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\site-packages\yacl.py", line 160, in blue
cls._init_terminal_codes()
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\site-packages\yacl.py", line 107, in _init_terminal_codes
has_terminal_color = cls.has_terminal_color()
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\site-packages\yacl.py", line 129, in has_terminal_color
or (is_stderr_tty() and int(cls._query_terminfo_database("colors")) >= 8)
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\site-packages\yacl.py", line 123, in _query_terminfo_database
return str(subprocess.check_output(["tput"] + capname.split(), universal_newlines=True))
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Farhan Ahmed\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.