找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: falleaves

SyncY同步软件V2版发布,支持多任务多线程

[复制链接]
 楼主| 发表于 2015-1-23 11:54 | 显示全部楼层
shenyz 发表于 2015-1-22 15:01
强大的V2,刚才在x86上面试了,百兆满速同步了。谢谢作者

不客气,大家能用好就发挥了软件的价值了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-1-24 16:26 | 显示全部楼层
本帖最后由 aa65535 于 2015-1-24 17:07 编辑
falleaves 发表于 2015-1-22 09:08
你好,我今天看了下我以前的make文件,里面有这个节,但好像每次卸载的时候配置文件也会被卸载掉,是因为 ...

至少将这段贴出来看看,要注意的是 /etc/config/syncy 前面不能有空格。
按照我上面提供的写法应该是没问题。

看了一下 control 目录,发现没 conffiles 这个文件,那么要检查一下是不是有错别字了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-1-24 17:06 | 显示全部楼层
这个是根据楼主提供的 ipk 写的 Makefile (含files,可以直接编译)


这个编译出的 ipk 文件,是有 conffiles 的


如果编译不出 conffiles 的话,建议换个 SDK。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

好厉害  详情 回复 发表于 2015-3-1 15:02
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-1-25 12:04 | 显示全部楼层
2015-01-25 12:03:32 ERROR: Transfer thread exception error occurred, error: No JSON object could be decoded .
Traceback (most recent call last):
  File "/usr/bin/syncy.py", line 1602, in run
    responses = json.loads(responses)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

2015-01-25 12:03:32 ERROR: Download file "/apps/syncy/baidu/openwrt-ar71xx-generic-wndr3800-squashfs-sysupgrade(1).bin" failed.
2015-01-25 12:03:34 ERROR: Sync path: "/mnt/sda1/baidu/:/baidu/:download+" failed, 0 files success, 1 files failed, 0 errors occurred.

老大求救 这是什么原因啊
换了好几个op版本都不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-1-25 14:23 | 显示全部楼层
老大 你看看 这个错误日志是怎么回事
2015-01-25 14:05:31 ERROR: Transfer thread exception error occurred, error: No JSON object could be decoded .
Traceback (most recent call last):
  File "/usr/bin/syncy.py", line 1602, in run
    responses = json.loads(responses)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

2015-01-25 14:05:31 ERROR: Download file "/apps/syncy/baidu/openwrt-ar71xx-generic-wndr3800-squashfs-sysupgrade(1).bin" failed.
2015-01-25 14:05:33 ERROR: Sync path: "/mnt/sda1/baidu/:/baidu/:download+" failed, 0 files success, 1 files failed, 0 errors occurred.
2015-01-25 14:15:13 ERROR: Transfer thread exception error occurred, error: No JSON object could be decoded .
Traceback (most recent call last):
  File "/usr/bin/syncy.py", line 1602, in run
    responses = json.loads(responses)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

2015-01-25 14:15:13 ERROR: Download file "/apps/syncy/baidu/openwrt-ar71xx-generic-wndr3800-squashfs-sysupgrade(1).bin" failed.
2015-01-25 14:15:15 ERROR: Sync path: "/mnt/sda1/baidu/:/baidu/:download+" failed, 0 files success, 1 files failed, 0 errors occurred.


已经执行过
opkg update
opkg install libcurl
opkg install libopenssl
opkg install kmod-nls-utf8
opkg install python
opkg install python-curl
可以绑定帐号

硬盘也挂载了

缓过好几个op固件都不行

明月版op带的是1.07的版本
想试试py v2的 结果在这上面卡了2天
{:soso_e183:}




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-1-31 22:00 | 显示全部楼层
MT7620 支持吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-2-26 13:21 | 显示全部楼层
opkg install python-curl
Installing python-curl (7.19.0-1) to root...
Downloading http://entware.wl500g.info/binar ... 9.0-1_mipselsf.ipk.
Installing python (2.7.3-2) to root...
Downloading http://entware.wl500g.info/binar ... 7.3-2_mipselsf.ipk.
Installing zlib (1.2.8-1) to root...
Downloading http://entware.wl500g.info/binar ... 2.8-1_mipselsf.ipk.
Installing libffi (3.0.13-1) to root...
Downloading http://entware.wl500g.info/binar ... .13-1_mipselsf.ipk.
Installing python-mini (2.7.3-2) to root...
Downloading http://entware.wl500g.info/binar ... 7.3-2_mipselsf.ipk.
Installing libcurl (7.40.0-3) to root...
Downloading http://entware.wl500g.info/binar ... 0.0-3_mipselsf.ipk.
Installing libopenssl (1.0.2-2) to root...
Downloading http://entware.wl500g.info/binar ... 0.2-2_mipselsf.ipk.
Configuring zlib.
Configuring libopenssl.
Configuring libcurl.
Configuring libffi.
Configuring python-mini.
Configuring python.
Configuring python-curl.

python2.7 syncy.py
Traceback (most recent call last):
  File "syncy.py", line 30, in <module>
    import pycurl
ImportError: No module named pycurl
root@unknown:/tmp/mnt/sdb5/syncy#



还是不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-2-27 09:32 | 显示全部楼层
第一次接触py楼主就写出这个应用 厉害!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-2-27 10:44 | 显示全部楼层
定!!!!!!!!!!!!!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-3-1 15:02 | 显示全部楼层
aa65535 发表于 2015-1-24 17:06
这个是根据楼主提供的 ipk 写的 Makefile (含files,可以直接编译)

好厉害
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-3-2 14:26 来自手机 | 显示全部楼层
感谢提供这么好的宝贝
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-3-17 09:53 | 显示全部楼层
这个好像技术看起来蛮高端的哦
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-4-7 13:41 | 显示全部楼层
楼主啊,我还是找不hg255d能用的 python-curl,求帮助啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-4-10 19:45 | 显示全部楼层
我也是:
root@OpenWrt:/usr/lib/python2.7/site-packages# /usr/bin/syncy.py
Traceback (most recent call last):
  File "/usr/bin/syncy.py", line 31, in <module>
    import pycurl
ImportError: File not found

root@OpenWrt:/usr/lib/python2.7/site-packages# python
Python 2.7.9 (default, Apr  8 2015, 05:09:00)
[GCC 4.8.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages']
>>>

root@OpenWrt:/usr/lib/python2.7/site-packages# ls
README                        curl                          pycurl-7.19.0-py2.7.egg-info  pycurl.so
root@OpenWrt:/usr/lib/python2.7/site-packages#
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-5-14 22:58 | 显示全部楼层
mark,,不用买百度的路由了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-19 21:46

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表