duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] Fwd: webdav in trunk broken


From: edgar . soldin
Subject: [Duplicity-talk] Fwd: webdav in trunk broken
Date: Sun, 04 May 2014 19:02:47 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

just had a deeper look. seems like the python builtin urlparse works 
differently than the one you removed from duplicity.. ede


-------- Original Message --------
Subject: [Duplicity-talk] webdav in trunk broken
Date: Sun, 04 May 2014 18:48:43 +0200

Mike,

trying to add another fix i stumbled over the following error which seems to be 
introduced by your latest backend reworks. 0.6.23 works fine.


User error detail: Traceback (most recent call last):
  File "/srv/www/vhosts/host/dupl-trunk.webdav/bin/duplicity", line 1501, in 
<module>
    with_tempdir(main)
  File "/srv/www/vhosts/host/dupl-trunk.webdav/bin/duplicity", line 1495, in 
with_tempdir
    fn()
  File "/srv/www/vhosts/host/dupl-trunk.webdav/bin/duplicity", line 1328, in 
main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File 
"/srv/www/vhosts/host/dupl-trunk.webdav/bin/../duplicity/commandline.py", line 
1046, in ProcessCommandLine
    globals.backend = backend.get_backend(args[0])
  File "/srv/www/vhosts/host/dupl-trunk.webdav/bin/../duplicity/backend.py", 
line 224, in get_backend
    obj = get_backend_object(url_string)
  File "/srv/www/vhosts/host/dupl-trunk.webdav/bin/../duplicity/backend.py", 
line 187, in get_backend_object
    if not is_backend_url(url_string):
  File "/srv/www/vhosts/host/dupl-trunk.webdav/bin/../duplicity/backend.py", 
line 171, in is_backend_url
    pu = ParsedUrl(url_string)
  File "/srv/www/vhosts/host/dupl-trunk.webdav/bin/../duplicity/backend.py", 
line 321, in __init__
    "" % (url_string))
InvalidBackendURL: Missing hostname in a backend URL which requires an explicit 
hostname: webdavs://address@hidden/share/user/test2


note that the url definitely contains a hostname.. a quick check show that 
urlparse might be sensitive about the scheme, same url with http get's properly 
parsed.

could you please have a look? .. thx ede


_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]