Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43929 - [python2-dropbox] Official package does not work

Attached to Project: Community Packages
Opened by Ngoc-Thuan Tran (bigeyes0x0) - Tuesday, 24 February 2015, 14:13 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 17 April 2016, 06:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Official package does not work for python2 as it's built on a machine with both python-urllib3 and python2-urllib3, resulting in a package that actually depending on python-urllib3 as found in line 15 of file /usr/lib/python2.7/site-packages/dropbox/session.py:

import urllib.request, urllib.parse, urllib.error

These are actually modules in python 3 as described here https://docs.python.org/2/library/urllib.html. This is the same bug https://bugs.launchpad.net/duplicity/+bug/1318065 .

I fixed in on my machine by rebuilding the package without python3 installed.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Sunday, 17 April 2016, 06:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.0.0-1.
Comment by Ram Bhamidipaty (vavaavav) - Wednesday, 29 April 2015, 14:32 GMT
A simple fix for this would be to split the dropbox PKGBUILD files - one for python and the other for python2.

The attached PKGBUILD file works for python2.
   PKGBUILD (0.8 KiB)
Comment by Lukas Fleischer (lfleischer) - Monday, 18 January 2016, 19:09 GMT
Should be fixed in 4.0.0-1.
Comment by Lukas Fleischer (lfleischer) - Thursday, 14 April 2016, 05:35 GMT
Status?

Loading...