Coder Social home page Coder Social logo

btsync-deb's People

Contributors

beardicus avatar cpbotha avatar flexiondotorg avatar ifireball avatar leoetlino avatar marxjohnson avatar misuzu avatar pilin avatar richard-bt avatar silvenga avatar tuxpoldo avatar willpapper avatar ywrac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

btsync-deb's Issues

btsync-user: indicator icon not appearing

I installed btsync on Debian-wheezy,
run btsync start with verbose on,
No icon appears, but the core program is running.

This is the only message I could find:
$ BitTorrent Sync forked to background. pid = 17941
/usr/lib/btsync-user/btsyncindicator.py:106: Warning: /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:2459: signal child-added' is invalid for instance0x179b010'
self.ind.set_menu(self.menu)

EDIT: I guessed the port number and loaded the webpage.
I added a folder to sync, and THEN the icon appeared.
However, it has no colour, only a shadow, so its hard to see.

EDIT 2: I then tried out the icon.
I opened the web interface (that worked),
then I paused it (that worked)
then I resumed it -- now the icon has vanished again, with this message on the command line:

WARNING:requests.packages.urllib3.connectionpool:Retrying (0 attempts remain) after connection broken by 'BadStatusLine("''",)': /gui/?action=getsyncfolders&token=RNhHUjTy6GnbIzDOi4kK2kJP1yhsiMF3NmC4cLHLOqfoM0B4WWXOuGYEhFIAAAAA
WARNING:root:Status request failed, attempting to re-initialise session
BitTorrent Sync forked to background. pid = 20579

EDIT 3: and then after about 30-60 seconds, the icon appeared again.

btsync: Alignment Error on ARM Architecture

btsync fails to start on some ARM based systems. It is documented in the official FAQ, that this can be solved by issuing the following command:

echo 2 > /proc/cpu/alignment

If a system is not able to execute by default the btsync executable, it should perform automatically all needed steps in order to run btsync.

Package installs modified btsync binaries

The binary of BitTorrent btsync installed by both the packages are not identical to the packages distributed by BitTorrent. This seems not to affect the functionality but causes discussions and may lower the confidence into the packaging.

btsync: Any config on .conf file support for debug logging?

I think also, that this is a good idea for the package btsync and because of this, I have already implemented it. It will be release with the next version of the btsync server package (today). See #44 more more details.

In btsync-user this is not really needed, since the included btsyncindicator applet already offers the possibility to enable/disable debug logging in the menu.

I will close this issue as soon as the packages are released.

btsync-common: Installation and execution failures on ARM systems

In addition to the well known alignment problem, an additional problem was reported on some ARM based systems that prevented the btsync executable to be started. Additionally this may result in a failure during the installation of btsync-common since the btsync executable is called during the configure phase in order to generate the sample configuration file /usr/share/doc/btsync-common/btsync.conf.sample

See: http://forum.bittorrent.com/topic/18974-debian-and-ubuntu-server-packages-for-bittorrent-sync/?p=72101

btsync-user: logging stopped working correctly after update to 1.2.x

See http://forum.bittorrent.com/topic/24890-where-does-bittorrent-12xxx-store-its-log-files/

vadimt, on 13 Nov 2013 - 10:09 AM, said:
You run btsync with "no-daemon" flag. In this case logs will be written to stdout only in 1.2 version.
Thanks!

sergey@bt, on 13 Nov 2013 - 2:44 PM, said:
The reason why we switched to stdout in no-daemon mode is to be compatible with runsv and to allow log rotation. We didn't expect to break anything. Is there any easy way to redirect stdout to file in start-stop-daemon? If not, we will provide an option to force logging into file.

Installation fails because /etc/init.d/btsync start returns failure

Reported by User fogbav in BitTorrent Sync Forum

Unpacking btsync (from .../btsync_1.1.70-4~wheezy_armhf.deb) ...
Setting up btsync (1.1.70-4~wheezy) ...
[....] Autostarting btsync instance 'debconf-default':invoke-rc.d: initscript btsync, action "start" failed.
dpkg: error processing btsync (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 btsync
E: Sub-process /usr/bin/dpkg returned an error code (1)

btsync: separate package from btsync-user

The separation of btsync from btsync-user will permit to release these fundamental different packages separately in order to have a more transparent communication towards users.

Improved and documented native components retrieval

The native component package should be able to generate the upstream source archive by downloading the distributed binaries from the vendor. In order to make this process more reliable, an alternate archiving and distribution point may be created since BitTorrent Inc. currently has no versioned repository except the direct links communicated through the forum that makes it impossible to write a reliable debian/watch file.

AttributeError: 'Response' object has no attribute 'text'

I think the indicator code uses version specific functionality of some libraries.

Traceback (most recent call last):
  File "/usr/lib/btsync-user/btsyncindicator.py", line 96, in setup_session
    html = tokenresponse.text
AttributeError: 'Response' object has no attribute 'text'

BTW: I have python-requests 0.8.2-1

lintian warnings regarding templates

The strings in the templates still create lintian warnings:

W: btsync: malformed-prompt-in-templates btsync/bind-port
W: btsync: malformed-prompt-in-templates btsync/limit-download
W: btsync: malformed-prompt-in-templates btsync/limit-upload
W: btsync: malformed-prompt-in-templates btsync/webgui-bindaddr
W: btsync: malformed-prompt-in-templates btsync/webgui-bindport
W: btsync: malformed-question-in-templates btsync/disk_low_priority
W: btsync: malformed-question-in-templates btsync/lan_encrypt_data
W: btsync: malformed-question-in-templates btsync/lan_use_tcp
W: btsync: malformed-question-in-templates btsync/rate_limit_local_peers
W: btsync: spelling-error-in-readme-debian allows to allows one to
W: btsync: missing-debconf-dependency-for-preinst

btsync-user: indicator starts twice

Reported by user alexball

See forum message http://forum.bittorrent.com/topic/19560-debian-and-ubuntu-desktop-packages-for-bittorrent-sync/page-7#entry73071

I have found that on faster computers the indicator gets loaded twice, once as a child of init and once as a child of btsync-starter.

It took me a while to work out what was wrong (I had wondered if it was an issue with KDE's session management, for example) but what seems to have solved it for me is to introduce an extra delay in the btsync-starter script.

In the definition of agent_runner(), I inserted a 'sleep 1' line just before 'start_frontend', and that seems to have done the trick.

Dependency version constraints make it unnecessarily hard to install btsync

Currently all btsync packages specify very strict dependency version constraints with the consequence that a specific btsync package is needed for every distribution release (lucid, precise, quantal, raring, saucy and squeeze, wheezy, sid).

Since the real requirements of btsync are very low, and the constraints are only computed by the automatic dependency detector of debhelper, it is unnecessarily hard for several people to install btsync on some distributions because the package refuses to install also if the software would work for sure.

btsync-user: default configuration insecure

The default configuration file ~/.btsync.conf created for every user does not define a username and password for the web interface. This is a potential security issue, since other users logged in on the computer may access the web interface of a user, if they know the port number on which the agent is listening.
The script should always secure the web interface of a user with a randomly generated password and the personal desktop shortcuts should pass username and password in the URL.
This change can only be implemented, if btsyncindicator.py will be able to read username and password from the config file and use it when creating the Token and invoking the web interface (See marxjohnson/btsyncindicator#22 )

Create a package containing only the native components from BitTorrent Inc.

In order to improve the interaction between our applications and all future developments, Iain Lowe proposed to carve out the distribution of the native components from BitTorrent Inc. and make all other projects dependant upon this package. This is a very good idea, since it would reduce the complexity and make things easier for everybody willing to develop additional components for btsync.

This package will be named btsync-common and will be versioned based on the original btsync version number.

btsync-user: Alignment Error on ARM Architecture

btsync fails to start on some ARM based systems. It is documented in the official FAQ, that this can be solved by issuing the following command:

echo 2 > /proc/cpu/alignment

If a system is not able to execute by default the btsync executable, it should perform automatically all needed steps in order to run btsync.

btsync: logging stopped working correctly after update to 1.2.x

See http://forum.bittorrent.com/topic/24890-where-does-bittorrent-12xxx-store-its-log-files/

vadimt, on 13 Nov 2013 - 10:09 AM, said:
You run btsync with "no-daemon" flag. In this case logs will be written to stdout only in 1.2 version.
Thanks!

sergey@bt, on 13 Nov 2013 - 2:44 PM, said:
The reason why we switched to stdout in no-daemon mode is to be compatible with runsv and to allow log rotation. We didn't expect to break anything. Is there any easy way to redirect stdout to file in start-stop-daemon? If not, we will provide an option to force logging into file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.