Git Product home page Git Product logo

lftp-mirror's People

Contributors

joedicastro 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lftp-mirror's Issues

Parallel Mirror

Is it possible to parallel mirror with more than one slot? Like I know lftp allow to use more than one to upload a directory,, Is that option available ?

Incorrect padding

When ever I try to run this script this is the error that I get.

Traceback (most recent call last):
File "lftp_mirror.py", line 759, in
main()
File "lftp_mirror.py", line 744, in main
cfg.get(sect, 'options')))
File "lftp_mirror.py", line 686, in parse_parms
base64.b64decode(parms[5]),
File "/usr/lib/python2.7/base64.py", line 76, in b64decode
raise TypeError(msg)
TypeError: Incorrect padding

args password has a bug

use this password base64 == has a problem ,affer decode will become %3D%3D

== after encode is == and affer decode become %3D%3D

urllib.unquote(base64.b64decode(parms[5])) add this solve the problem

Crash on python notification problems

The notification(message) method doesn't catch exceptions thrown by the pynotify module

lftp-mirror should handle that gracefully and either ignore the failing/missing desktop notifications, i.e. simply try/except pass for the show() call, or try to catch them and display a dialog instead.

trace:

Traceback (most recent call last):
File "/home/salon/lftp/src/lftp_mirror.py", line 750, in
main()
File "/home/salon/lftp/src/lftp_mirror.py", line 738, in main
mirror(args, log)
File "/home/salon/lftp/src/lftp_mirror.py", line 616, in mirror
notify('Mirroring with {0}...'.format(args.site), 'sync')
File "/home/salon/lftp/src/lftp_mirror.py", line 541, in notify
note.show()
gio.Error: GDBus.Error:org.freedesktop.Notifications.MaxNotificationsExceeded: Exceeded maximum number of notifications

Problem running script

I got the following error when running the script, I hope you can guide me, greetings.

captura de pantalla de 2014-08-19 16 40 06

dependent of GTK

It's not possible use lftp-mirror without X

TypeError: Notify.Notification.set_icon_from_pixbuf() argument 1 must be gtk.gdk.Pixbuf, not None

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.