icdance's recent timeline updates
icdance

icdance

V2EX member #115882, joined on 2015-05-08 14:11:57 +08:00
icdance's recent replies
不能编辑自己的帖子也是醉了。。
卸载旧版本stino(如果安装了的话)
新版本安装方法
sublime- preference - browser package 打开文件夹
下载 github 上的zip 解压到上面的文件夹内

新版本在我这里编译时还有些问题
目前通过修改 arduino_compiler.py 中 exec_cmd 可以解决这个问题


def exec_cmd(working_dir, cmd):
os.environ['CYGWIN'] = 'nodosfilewarning'
if cmd:
os.chdir("/")
cmd = formatCommand(cmd)

if "avr-" in cmd:
cmd = "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/" + cmd;

cmd = cmd.replace("{runtime.tools.avrdude.path}", "/Applications/Arduino.app/Contents/Java/hardware/tools/avr")

compile_proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, shell=True)
result = compile_proc.communicate()
return_code = compile_proc.returncode
stdout = result[0].decode(base.sys_info.get_sys_encoding())
stderr = result[1].decode(base.sys_info.get_sys_encoding())
else:
return_code = 0
stdout = ''
stderr = ''
return (return_code, stdout, stderr)
原因可能是因为最新版本的 插件(stino)只支持 手动安装 不支持命令行
手动安装方法见https://github.com/Robot-Will/Stino
May 13, 2015
Replied to a topic by larsenlouis Linux zimuzu.tv 自动签到脚本
requests get /user/sign
15秒后 get /user/sign/dosign
签到完成
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2529 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 02:58 · PVG 10:58 · LAX 19:58 · JFK 22:58
♥ Do have faith in what you're doing.