-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConnectionError: read #2
Comments
Тестировал на различных устройствах и на сервере, а так же на Python2.7 |
Кажется исправил. Можете проверить с последней версией с гитхаба? |
@ivknv с радостью) |
@ivknv обновил, но баг не исчез
|
Это не похоже на последнюю версию (судя по строке Попробуйте поставить при помощи следующей команды: pip install git+https://github.com/ivknv/yadisk --upgrade |
Да, тоже заметил, что не обновилась версия, хотя pip показывает обратное
…On Thu, Jun 28, 2018 at 10:55 PM Ivan Konovalov ***@***.***> wrote:
Это не похоже на последнюю версию (судя по строке 110 в
yadisk/functions/resources.py).
Попробуйте поставить при помощи следующей команды:
pip install git+https://github.com/ivknv/yadisk
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANLp57ChUG5lAr-u32xhhn4ro9PzJThIks5uBO54gaJpZM4U7eLs>
.
--
Andrey Sharypov
|
Все работает!
Спасибо большое, библиотека очень полезная
On Thu, Jun 28, 2018 at 10:56 PM Andrey Sharypov <sharypovandrey@gmail.com>
wrote:
… Да, тоже заметил, что не обновилась версия, хотя pip показывает обратное
On Thu, Jun 28, 2018 at 10:55 PM Ivan Konovalov ***@***.***>
wrote:
> Это не похоже на последнюю версию (судя по строке 110 в
> yadisk/functions/resources.py).
>
> Попробуйте поставить при помощи следующей команды:
>
> pip install git+https://github.com/ivknv/yadisk
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#2 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/ANLp57ChUG5lAr-u32xhhn4ro9PzJThIks5uBO54gaJpZM4U7eLs>
> .
>
--
Andrey Sharypov
--
Andrey Sharypov
|
Спасибо, что сообщили о проблеме, а то так бы и не замечал. Проблему, кстати, можно обойти, передав вместо пути к файлу файл-подобный объект: y.download("/folder/file.txt", open("file.txt", "w+b")) # обязательно w+b! |
Ошибка при попытке скачать файл
Ubuntu 16.04
Python 3.5.2
requests 2.19.1
yadisk 1.2.3
Команда
y.download("/folder/file.txt", "file.txt")
Лог:
The text was updated successfully, but these errors were encountered: