TrWebOCR
TrWebOCR copied to clipboard
docker image not working
mmmz/trwebocr itplanes01/trwebocr
missing file
我也是拉取了镜像,运行了,8089端口不通。进去容器,没有进程在跑,log目录的文件也查不到内日
目前刚更新到tr2.0,docker还没来得及测试。建议使用 1.0.0版的images顶一顶先 docker pull mmmz/trwebocr:1.0.0
docker pull mmmz/trwebocr:latest docker pull mmmz/trwebocr:1.0.0 测试了下,这两个都用不了:( 网站页面加载好图片后点识别没反应,直接调用网络接口也不行。。。 系统Ubuntu 18.04 LTS 64-bit,Docker CE 19.03.12
docker pull mmmz/trwebocr:latest docker pull mmmz/trwebocr:1.0.0 测试了下,这两个都用不了:( 网站页面加载好图片后点识别没反应,直接调用网络接口也不行。。。 系统Ubuntu 18.04 LTS 64-bit,Docker CE 19.03.12
我这边测试正常,没反应可能是图片识别失败了,打开控制台看一下什么报错~
1.0.0版本识别报错
xhr.js:178 POST http://localhost:8089/api/tr-run/ net::ERR_EMPTY_RESPONSE (anonymous) @ xhr.js:178 e.exports @ xhr.js:12 e.exports @ dispatchRequest.js:52 Promise.then (async) l.request @ Axios.js:61 (anonymous) @ bind.js:9 handleUpload @ Index.vue:182 nt @ vue.runtime.esm.js:1854 n @ vue.runtime.esm.js:2179 nt @ vue.runtime.esm.js:1854 Ln.e.$emit @ vue.runtime.esm.js:3888 handleClick @ button.js:124 nt @ vue.runtime.esm.js:1854 n @ vue.runtime.esm.js:2179 Ji.r._wrapper @ vue.runtime.esm.js:6917 Index.vue:238 Uncaught (in promise) TypeError: Cannot read property 'msg' of undefined at Index.vue:238
查看错误代码238行 如下: const errorInfo = error.response['msg'] || error.message
1.0.0版本识别报错
xhr.js:178 POST http://localhost:8089/api/tr-run/ net::ERR_EMPTY_RESPONSE (anonymous) @ xhr.js:178 e.exports @ xhr.js:12 e.exports @ dispatchRequest.js:52 Promise.then (async) l.request @ Axios.js:61 (anonymous) @ bind.js:9 handleUpload @ Index.vue:182 nt @ vue.runtime.esm.js:1854 n @ vue.runtime.esm.js:2179 nt @ vue.runtime.esm.js:1854 Ln.e.$emit @ vue.runtime.esm.js:3888 handleClick @ button.js:124 nt @ vue.runtime.esm.js:1854 n @ vue.runtime.esm.js:2179 Ji.r._wrapper @ vue.runtime.esm.js:6917 Index.vue:238 Uncaught (in promise) TypeError: Cannot read property 'msg' of undefined at Index.vue:238
查看错误代码238行 如下: const errorInfo = error.response['msg'] || error.message
这个应该是接口返回有问题,可以检查一下backend/logs目录里的接口日志。