Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qupload 报错 #12

Closed
anythink-wx opened this issue Dec 10, 2015 · 7 comments
Closed

qupload 报错 #12

anythink-wx opened this issue Dec 10, 2015 · 7 comments

Comments

@anythink-wx
Copy link

ubuntu@pt-bj-bgp3:/data/qiniu$ ./qshell qupload 10 sync.conf
Listing local sync dir, this can take a long time, please wait patiently...
2015/12/10 20:10:59 [ERROR][qshell] qupload.go:240: Invalid cache line `33 14449019115095594'

-------Upload Result-------
Total: 0
Success: 0
Failure: 0
Skipped: 0

Duration: 3.575149ms

@jemygraw
Copy link
Contributor

请提供一下sync.conf的内容,去掉ak和sk贴出来看下,另外提供下系统相关信息。另外使用 ./qshell -v提供下版本号。

@anythink-wx
Copy link
Author

shell v1.6.5
ubuntu 12.04

{
"src_dir" : "/data/attach",
"access_key" : "_",
"secret_key" : "
_",
"bucket" : "gaoneng",
"ignore_dir" : false,
"key_prefix" : "attach/",
"up_host" : "http://up.qiniu.com/",
"overwrite" : false,
"check_exists" : true,
"skip_file_prefixes" : ".git,bin,.qrsignore",
"skip_path_prefixes" : "catchimage/,1242x621/,w640.bak/,160x120/2015/04/10/,160x120/2015/04/11/,160x120/2015/04/12/,img/tmp,img/2015/04/10,img/2015/04/09,img/2015/04/08",
"skip_suffixes" : ".DS_Store,.exe"
}

@anythink-wx
Copy link
Author

@jemygraw 请快点解决一下吧

@jemygraw
Copy link
Contributor

这个错误一般是不会出现的,除非手动修改了~/.qshell/qupload 目录下面的临时列表文件,所以

2037014430 加QQ

@jemygraw
Copy link
Contributor

经过交流,发现是把 src_dir 写为了软链接了,将src_dir指定为实际的路径就可以了。

@LHshooter
Copy link

2020/10/12 19:50:01.551 [I] Listing local sync dir, this can take a long time for big directory, please wait patiently
2020/10/12 19:50:01.552 [I] Walk C:\Users\20803860\Desktop\xmlRelease\upload\1602503398856 start from 2020-10-12 19:50:01.552647 +0800 CST m=+0.091950801
你好,我这边同样遇到了这个问题。
使用的命令如下:
qshel.exe qupload2 --src-dir=C:\Users\20803860\Desktop\xmlRelease\upload\1602503398856 --bucket=smartwatch --ignore-dir=true --rescan-local=true --overwrite=true --log-file=upload.log --log-rotate=1

@forrest-mao
Copy link

2020/10/12 19:50:01.551 [I] Listing local sync dir, this can take a long time for big directory, please wait patiently
2020/10/12 19:50:01.552 [I] Walk C:\Users\20803860\Desktop\xmlRelease\upload\1602503398856 start from 2020-10-12 19:50:01.552647 +0800 CST m=+0.091950801
你好,我这边同样遇到了这个问题。
使用的命令如下:
qshel.exe qupload2 --src-dir=C:\Users\20803860\Desktop\xmlRelease\upload\1602503398856 --bucket=smartwatch --ignore-dir=true --rescan-local=true --overwrite=true --log-file=upload.log --log-rotate=1

这个不是报错,这个只是信息的提醒,主要是表示需要扫描本地目录来获取要上传文件的文件列表。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants