Comments (9)
远程也要升级到30.6版本吧
from funboost.
我之前用的30.4, 刚刚从这里下载了,好像还是30.5,不是30.6.... , 远程依然不行
因为我要改文件,所以只能手动安装。 这个repo什么时候更新到30.6
from funboost.
远程也要升级到30.6版本吧
我找到问题了,
当我注释掉 fabric_deploy_helper.py, line 95 -97后, fabric_deploy能够正常使用了。 估计是这个kill进程有问题。
`
# kill_shell = f'''ps -aux|grep {process_mark}|grep -v grep|awk '{{print $2}}' |xargs kill -9'''
# logger.warning(f'{kill_shell} 命令杀死 {process_mark} 标识的进程')
# uploader.ssh.exec_command(kill_shell)
`
from funboost.
当我改成这样, 也可以运行。 不知道什么问题,单独运行paramiko,也是可以。 合起来就报错
`
# uploader.ssh.exec_command(kill_shell)
conn.run(kill_shell, encoding='utf-8',warn=True) # 不想提示,免得烦扰用户以为有什么异常了。所以用上面的paramiko包的ssh.exec_command
`
from funboost.
pip 升级30.6是要使用官方源的,国内源是异步pypi官网的,又不是立即同步,是定时同步,你想第一时间安装最新的python三方包版本,就要 pip install funboost --upgrade -i https://pypi.org/simple ,
估计是你为了下载python包速度快,替换成了国内源
from funboost.
我也试了一下30.6, 还是不能远程。 我自己改了源码就通了。。 就很奇怪
fabric_deploy_helper.py
`
line97 - line 98
# uploader.ssh.exec_command(kill_shell)
conn.run(kill_shell, encoding='utf-8',warn=True) # 不想提示,免得烦扰用户以为有什么异常了。所以用上面的paramiko包的ssh.exec_command
`
from funboost.
我是可以的,kill命令就是正常的linux命令,你自己可以打印出kill的linux命令
from funboost.
估计你系统不一样,那就用conn操作呗
from funboost.
下面这个可能适应性强一些吧,我不知道你系统设置了什么类型的鉴权
from funboost.
Related Issues (20)
- 建议:项目工程可以搞的正式一点,readme和文档默认成英语,这样能更好的推广到全球 HOT 3
- sqlite作为中间件例子在mac/linux运行,报错 read-only [用户文件夹权限问题,自己修改个文件夹] HOT 4
- 如何快捷的停止multi_process_consume 这个消费函数的所有进程 HOT 3
- base_publisher的publish函数好像有点问题[用户没了解python字典是可变对象] HOT 8
- 发现一个有趣的问题 HOT 3
- 如果两个booster嵌套使用的话,多进程好像运行会阻塞? HOT 21
- delay
- delay 任务支持retry的时候设置countdown吗? HOT 3
- django的模块引入和启动 HOT 16
- pip包太厚重了, 能不能搞精简一点的, 比如我就只需要redis跟异步就可以了, 其他的完全不需要 HOT 10
- 接受非booster传过来的消息,没有extra, 导致consume 失败 HOT 1
- result_web. index.html 中 其中的一个css文件无法下载了 “bootstrap.min.css” HOT 1
- 姑且提醒下这个repo错别字连篇
- [BUG]ModuleNotFoundError: No module named 'db_libs' [contrib里面是作者额外贡献的功能,需要用户自己安装相关三方包] HOT 3
- 请教: 如何使用 nb_log 打印task_id HOT 19
- BUG: AttributeError("'_thread._local' object has no attribute 'function_result_status'" HOT 7
- 【bug】可能存在的bug- 在线急等修复(我就不用再加猴子补丁了~~)[用户自己写法错误问题] HOT 8
- windows上的脚本到linux上远程执行时的路径不正确 HOT 9
- 你好,我想请教一下使用Rocketmq作为中间件时自定义消费者类的问题 HOT 5
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 funboost.