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#51630 - [python2-dropbox] Not working after upgrade to 7.1.1-1

Attached to Project: Community Packages
Opened by Miguel (mmf1902) - Tuesday, 01 November 2016, 17:12 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 23 January 2018, 02:14 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:
New python2-dropbox package stopped working after upgrade.

Additional info:
* package version: 7.1.1-1

Steps to reproduce:
1. Enter python2 in terminal
2. Import dropbox module

Output:

$ python2
Python 2.7.12 (default, Jun 28 2016, 08:31:05)
[GCC 6.1.1 20160602] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dropbox
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/dropbox/__init__.py", line 3, in <module>
from .dropbox import __version__, Dropbox, DropboxTeam, create_session
File "/usr/lib/python2.7/site-packages/dropbox/dropbox.py", line 19, in <module>
from . import files, stone_serializers
File "/usr/lib/python2.7/site-packages/dropbox/files.py", line 8, in <module>
from . import stone_validators as bv
File "/usr/lib/python2.7/site-packages/dropbox/stone_validators.py", line 21, in <module>
from typing import Optional
ImportError: No module named typing
>>>
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 23 January 2018, 02:14 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Wednesday, 02 November 2016, 04:58 GMT
Looks like the typing module is only available in python 3.5+. There is a version available for other versions, but it doesn't appear to be packaged in Arch.
Comment by Rikard Falkeborn (Herk) - Monday, 22 January 2018, 22:49 GMT
This seems to be fixed. I can not reproduce this in 8.5.0.

Loading...