The actual patch is to replace the os.read(f.fileno(), 4096) with
f.read(4096)

On Mon, Jun 25, 2012 at 1:10 PM, Raphaël Hertzog <hert...@debian.org>
wrote:

> On Mon, 25 Jun 2012, David Euresti wrote:
> > So it turns out it has to do with redirecting http to https and the
> > downloader is actually trying to read the encrypted data.  We're working
> > on a workaround that won't redirect to https so that the current code
> > will work. And we'll also put out a new package that will fix the
> > problem soon.  Sorry about that.
>
> Weird, I tried to patch the wrapper to download directly using https URL
> but this doesn't seem to help.
>
> And strangely using https URL directly with curl returns 404 errors?
>
> $ curl -I https://www.dropbox.com/download?plat=x86
> HTTP/1.1 404 NOT FOUND
> Server: nginx/1.0.14
> Date: Mon, 25 Jun 2012 20:07:06 GMT
> Content-Type: text/html; charset=utf-8
> Connection: keep-alive
> set-cookie: gvc=MTIzNzE2MTEyMDQ2OTUyOTI0MjQ0MjgyMTgyMTk2NTA4MTczNjYy;
> expires=Sat, 24-Jun-2017 20:07:06 GMT; Path=/; httponly
> x-frame-options: SAMEORIGIN
> pragma: no-cache
> cache-control: no-cache
>
> Cheers,
> --
> Raphaël Hertzog ◈ Debian Developer
>
> Get the Debian Administrator's Handbook:
> → http://debian-handbook.info/get/
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1016559
>
> Title:
>   nautilus-dropbox installation hangs while downloading
>
> Status in “nautilus-dropbox” package in Ubuntu:
>   Confirmed
>
> Bug description:
>   When trying to install nautilus-dropbox in Ubuntu 12.04, the
> installation hangs while showing the message "Downloading Dropbox... 99%".
>   I just confirmed that this happens on a fresh install of Ubuntu 12.04.
>
>   To recreate:
>   - Install Ubuntu 12.04
>   - Enter command: sudo apt-get install nautilus-dropbox
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nautilus-dropbox/+bug/1016559/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1016559

Title:
  nautilus-dropbox installation hangs while downloading

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus-dropbox/+bug/1016559/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to