网云科技

标题: 13.6KB,下载次数:2 [打印本页]

作者: cpiztvg9    时间: 2016-3-27 23:07
标题: 13.6KB,下载次数:2
    文章简介:固件v04.01......






固件v04.01.02-417的syncy.py,百度云同步生效了,之前一向普通使用,是不是最新版本有成绩,就教大神。




syncy.zip
13.6 KB, 下载次数: 2

作者: bo4lc3s    时间: 2016-3-27 23:07
ERROR Sync path: "/nfs/baiduyun:/apps/SyncY/baiduyun:upload" failed, this path is set to encryption, but "Crypto.Cipher" library is not import.
------------------網上去查查是什么意思


作者: 9zxhsffn    时间: 2016-3-27 23:07



MyCloud:~# /usr/bin/syncy.py
2015-09-14 16:18:43 INFO: PCS quota is 5727G,used 594G.
2015-09-14 16:18:43 INFO: Start sync path "/nfs/baiduyun:/apps/SyncY/baiduyun:upload".
2015-09-14 16:18:45 ERROR Sync path: "/nfs/baiduyun:/apps/SyncY/baiduyun:upload" failed, this path is set to encryption, but "Crypto.Cipher" library is not import.
2015-09-14 16:18:46 INFO: PCS quota is 5727G,used 594G.
^CTraceback (most recent call last):
  File "/usr/bin/syncy.py", line 2218, in <module>
    sy.start()
  File "/usr/bin/syncy.py", line 1541, in start
    time.sleep(SyncY.config['syncinterval'])
KeyboardInterrupt
Exception TypeError: TypeError('coercing to Unicode: need string or buffer, NoneType found',) in <bound method SyncY.__del__ of <__main__.SyncY instance at 0x473cea80>> ignored
MyCloud:~#




作者: r6jhhfhf    时间: 2016-3-27 23:07
syncy軟件下載地址:
http://pan.baidu.com/s/1ntsODjr
現在要下載最新版本的才可以同步使用


作者: pemq440    时间: 2016-3-27 23:07
回的人少,我來小頂一下


作者: 2i1bl0x    时间: 2016-3-27 23:07
ERROR Sync path: "/nfs/baiduyun:/apps/SyncY/baiduyun:upload" failed
錯誤同步路徑: "/nfs/baiduyun:/apps/SyncY/baiduyun:upload"失敗。

this path is set to encryption,
此路徑設置為加密

but "Crypto.Cipher" library is not import.
但“密碼。密碼“圖書館不是進口


作者: t57zze    时间: 2016-3-27 23:07



已更新最新版,修改配置syncy,新問題了出現了,運行 syncy.py后,出現
MyCloud:~# /usr/bin/syncy.py
2015-09-14 16:16:18 INFO: PCS quota is 5727G,used 594G.
2015-09-14 16:16:18 INFO: Start sync path "/nfs/baiduyun:/apps/SyncY/baiduyun:upload".
2015-09-14 16:16:20 INFO: Start upgrade sync info data(/nfs/baiduyun/.syncy.info.db).
Traceback (most recent call last):
  File "/usr/bin/syncy.py", line 2218, in <module>
    sy.start()
  File "/usr/bin/syncy.py", line 1539, in start
    self.__start_sync()
  File "/usr/bin/syncy.py", line 1231, in __start_sync
    if self.__check_upgrade_syncdata(SyncY.syncydb, localpath, remotepath) != 0:
  File "/usr/bin/syncy.py", line 1425, in __check_upgrade_syncdata
    ret = self.__upgrade_syncdata(ldir, rdir, syncdata, sydbnew)
  File "/usr/bin/syncy.py", line 1481, in __upgrade_syncdata
    sydbnew.write('%s%s%s' % (fnmd5, struct.pack('>qqqq', struct.unpack('>I', syncdata[oldfnmd5][16:20])[0], struct.unpack('>I', syncdata[oldfnmd5][20:24])[0], rfnlist['mtime'], rfnlist['size']), syncdata[0:16]))
TypeError: unhashable type
Exception TypeError: TypeError('coercing to Unicode: need string or buffer, NoneType found',) in <bound method SyncY.__del__ of <__main__.SyncY instance at 0x49e8ea80>> ignored

請問大神是哪里設置錯誤了嗎?



2015-9-14 16:22 上傳


作者: nsgqoi5    时间: 2016-3-27 23:07

謝謝。..............



作者: u74z2lz9    时间: 2016-3-27 23:07
搞定了,原來是參數沒有設置對。謝謝大神。
@nasyunbreeze
@zyyysxd


config syncy
        
option syncylog ''
        
option blocksize '10'
        
option ondup 'rename'
        
option datacache 'on'
        
option excludefiles '*/Thumbs.db'
        
option listnumber '100'
        
option retrytimes '3'
        
option retrydelay '3'
        
option maxsendspeed '0'
        
option maxrecvspeed '0'
        
option speedlimitperiod '0-0'
        
option syncperiod '0-24'
        
option syncinterval '3600'
        
option tasknumber '2'
        
option threadnumber '2'



config syncpath
        

option localpath '/nfs/baiduyun'
        
option remotepath '/baiduyun'
        
option enable '1'
        
option synctype 'upload'
        
#option encryption '0'        
#0 is disable encryption
        
#option encryptkey 'This is a encrypt key'

config syncytoken




作者: doewdcl    时间: 2016-3-27 23:07
回的人少,我來小頂一下






欢迎光临 网云科技 (http://k.8x6x.com/) Powered by Discuz! X3.2