Floating

Results issues of Floating

**问题描述** 在`Owner`角色下,`部署管理 - 上线单 - 发布` 页面,`发布`功能,页面卡死在发布界面不动,docker日志显示好像是发布成功,但是界面没反应,然后代码有被拷贝解压到目标机器的仓库路径,但是实际目标机器的部署路径软链是坏的,相对路径问题? 另外我不知道官方文档反复提到的`logs/runtime.log`是怎么查看?文档里面总是重复说 “XX过程出错了,具体日志可以查看logs/runtime.log,别说你在启动walle的时候没注意到?” !!!! **问题描述** 日志堆栈贴上来。 logs/runtime.log ``` runtime... ``` logs/error.log ``` error... ``` **截图** 发布界面截图: ![微信截图_20190319190833](https://user-images.githubusercontent.com/4819251/54601620-715e9400-4a7a-11e9-9bd9-57982a063276.png) docker logs -f walle-python日志捕捉截图: ![微信截图_20190319185232](https://user-images.githubusercontent.com/4819251/54600654-3bb8ab80-4a78-11e9-9061-a2870a55509e.png) 发布仓库路径截图: ![微信截图_20190319185515](https://user-images.githubusercontent.com/4819251/54600884-b4b80300-4a78-11e9-9bc8-7f0c1f062fd5.png)...

bug

project structure: ![image](https://user-images.githubusercontent.com/4819251/145143815-a8670aed-171a-4e05-bfb8-c829c84ef73a.png) pay_interface.proto: ![image](https://user-images.githubusercontent.com/4819251/145143879-59b8d14a-14a0-412c-b377-f7c586cdf65c.png) api/pay/v1/enum/enum.proto: ![image](https://user-images.githubusercontent.com/4819251/145143905-5a913fb3-3e62-4c07-b32c-8ad047ea5c7c.png) api/order/v1/enum/enum.proto: ![image](https://user-images.githubusercontent.com/4819251/145143954-24887ddb-9764-47f5-a5ff-492cfa844557.png) get errors ``` /api/pay/v1/pay_interface.pb.validate.go:22:2: enum redeclared as imported package name ``` ![image](https://user-images.githubusercontent.com/4819251/145144127-f10253a2-d314-4db9-b59b-9edb2d4529c4.png)

Bug
Go

## 版本号 yapi: 由于不方便查看yapi项目的信息,所以版本未知,但是应该是比较新的版本,今年的项目,而且导入的时候显示支持swagger v2.0+ swagger/openapi: "3.0.0" ## 什么问题 两个接口的返回结果schema结构继承了基础的返回结果schema结构,即: `/components/schemas/List1Response`和`/components/schemas/List2Response` 继承了 `/components/schemas/BaseResponse`, 然后导入后,两个接口的都互相包含了对方的接口字段,即接口1包含了接口2的返回字段,接口2包含了接口1的返回字段,在我的示例代码中,即为`get-list1`包含了`p2`字段,`get-list2`包含了`p1`字段,**而期望的结果应该是`get-list1`只包含p1字段,`get-list2`只包含p2字段** ,我看各种资料,想要实现继承好像是用`allof`来实现吧?难道是我搞错了?麻烦yapi的开发人员大佬们帮忙看看!多谢了! 见截图: ![image](https://user-images.githubusercontent.com/4819251/96573738-244f3d80-1301-11eb-9e49-7114b0c79e39.png) ## 什么浏览器 chrome ## 代码 生成的接口文档json文件 ``` { "openapi": "3.0.0", "info": { "title":...

this error occurred when b.proto has import a.proto. /model/a/a.proto ``` package model.a message ma{ } ``` /model/b/b.proto ``` package model.b import "model/a/a.proto" message mb{ api.a.ma a = 1; } ```...

project structure: ![image](https://user-images.githubusercontent.com/4819251/145162064-49925970-83a5-46d9-86f8-3abf2feb240e.png) pay_interface.proto: ![image](https://user-images.githubusercontent.com/4819251/145163713-308f99cf-d2f1-408f-8957-d2be7078a416.png) api/pay/v1/enum/enum.proto: ![image](https://user-images.githubusercontent.com/4819251/145163755-775970f2-7891-435f-9029-81c2ea8006cc.png) api/order/v1/enum/enum.proto: ![image](https://user-images.githubusercontent.com/4819251/145163805-c5a2946b-bbdc-48bc-9869-05f0b8f42e27.png) get errors ``` api/order/v1/order.pb.gorm.go:112:16: undefined: enum ``` api/order/v1/order.pb.gorm.go: ![image](https://user-images.githubusercontent.com/4819251/145164021-95ea4249-31e2-4507-9997-eac6d3f37041.png) ![image](https://user-images.githubusercontent.com/4819251/145164035-eccc5b48-92cf-45ff-88df-ecb0a1890f47.png)

project structure: ![BC350AA55EFD7786F986541542D4A686](https://user-images.githubusercontent.com/4819251/145034968-46c55255-b235-488c-a138-3980c7637043.jpg) shop/v1/shop.proto: ![63103E5C561DD1CAA53D0785AE0B31A2](https://user-images.githubusercontent.com/4819251/145035090-74c0cdc0-4b11-4bdd-935d-f3f027264f74.jpg) shop/v1/service/shop.proto: ![CDFBE1E8BAE14E1B25FD67A30DA038B6](https://user-images.githubusercontent.com/4819251/145035110-b1f03e92-b50c-4be6-9a38-d439bda86f16.jpg) protoc cmd: ``` protoc --proto_path=. \ --proto_path=./third_party \ --go_out=paths=source_relative:. \ --gorm_out=paths=source_relative:. \ --validate_out=paths=source_relative,lang=go:. \ --go-http_out=paths=source_relative:. \ --go-grpc_out=paths=source_relative:. \ --openapiv2_out . \ --openapiv2_opt logtostderr=true...

## Environment Joplin version: 2.12.18 (prod, darwin) Platform: macOS OS specifics: 14.0 (23A344) ## Steps to reproduce The note content: ``` $\frac{1}{2}$ $$ \frac{3}{4} $$ $\frac{1}{2}$ $$ \frac{3}{4} $$ |a|b|...

bug
stale

PHP代码: 里面注册的handleFatal函数未被回调,不管是语法解析错误,还是php执行超时错误,都不会被回调,我搜了相关issue,#2580,以为是swoole版本问题,升级到最新的4.3.4还是一样的情况 ``` $server = new \swoole_server('0.0.0.0', env('SERVICE_PORT', 9002) ); $server->on('receive', function ($server, $fd, $reactor_id, $data) { register_shutdown_function([$this,'handleFatal'],$server,$fd); } public static function handleFatal($server,$fd) { file_put_contents('fatal.log', "into handle\n",FILE_APPEND); $error = error_get_last();...

duplicate

这几天我碰到的swoole传输数据不完整的问题整理了一下,哪位大佬能帮忙看看? 1、swoole服务端返回50k数据 2、swoole客户端为同步模式时,不管有没有设置数据包最大长度和分隔符,也不管是http请求,还是命令行执行,都只能接收到不完整的19k数据 3、swoole客户端为异步模式时,如果有设置包最大长度和分隔符,则命令行执行可以接收到完整的50k数据,如果不设置包最大长度和分隔符则只能接受到40k的不完整的数据,而异步模式是不支持http请求的,所以这里不存在http请求的情况 4、目前客户端使用php的socket函数请求服务端一切正常,能返回服务端的50k完整数据,不需要配置数据包最大长度和分隔符可以正常通信传输 客户端代码: ![QQ图片20190629161910](https://user-images.githubusercontent.com/4819251/60381584-b5096680-9a89-11e9-95b8-d50636d06213.png) 服务端代码: ![QQ图片20190629161923](https://user-images.githubusercontent.com/4819251/60381586-be92ce80-9a89-11e9-8bcf-38deafffc72e.png) 环境信息: swoole: ``` root@1f6fc8c9361e:/var/www/html# php --ri swoole swoole Swoole => enabled Author => Swoole Team Version => 4.3.4 Built => May...

bad question