Package Details: mapillary_tools-git r1442.92624cc-1

Git Clone URL: (read-only, click to copy)
Package Base: mapillary_tools-git
Description: Library for processing and uploading geotagged images to Mapillary
Upstream URL:
Licenses: BSD
Provides: mapillary_tools
Submitter: jose1711
Maintainer: gileri
Last Packager: gileri
Votes: 0
Popularity: 0.000000
First Submitted: 2018-07-09 15:01 (UTC)
Last Updated: 2022-07-31 14:44 (UTC)

Latest Comments

gileri commented on 2022-07-31 14:44 (UTC)

Thank you @gangelop, I aligned the dependencies with the current requirements.txt

gangelop commented on 2022-07-30 19:26 (UTC) (edited on 2022-07-30 19:26 (UTC) by gangelop)

Please add dependency python-jsonschema.

$ mapillary_tools --help                                                                                                                                                                                                                                           
Traceback (most recent call last):                                                                                                                                                                                                                                                
  File "/usr/bin/mapillary_tools", line 33, in <module>                                                                                                                                                                                                                           
    sys.exit(load_entry_point('mapillary-tools==0.9.0', 'console_scripts', 'mapillary_tools')())                                                                                                                                                                                  
  File "/usr/bin/mapillary_tools", line 25, in importlib_load_entry_point                                                                                                                                                                                                         
    return next(matches).load()                                                                                                                                                                                                                                                   
  File "/usr/lib/python3.10/importlib/metadata/", line 171, in load                                                                                                                                                                                                    
    module = import_module('module'))                                                                                                                                                                                                                                 
  File "/usr/lib/python3.10/importlib/", line 126, in import_module                                                                                                                                                                                                    
    return _bootstrap._gcd_import(name[level:], package, level)                                                                                                                                                                                                                   
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import                                                                                                                                                                                                                 
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load                                                                                                                                                                                                              
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked                                                                                                                                                                                                      
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed                                                                                                                                                                                                    
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import                                                                                                                                                                                                                 
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load                                                                                                                                                                                                              
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked                                                                                                                                                                                                     
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked                                                                                                                                                                                                               
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module                                                                                                                                                                                                         
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed                                                                                                                                                                                                    
  File "/usr/lib/python3.10/site-packages/mapillary_tools/commands/", line 1, in <module>                                                                                                                                                                              
    from . import authenticate                                                                                                                                                                                                                                                    
  File "/usr/lib/python3.10/site-packages/mapillary_tools/commands/", line 4, in <module>                                                                                                                                                                          
    from ..authenticate import authenticate                                                                                                                                                                                                                                       
  File "/usr/lib/python3.10/site-packages/mapillary_tools/", line 5, in <module>                                                                                                                                                                                   
    import jsonschema                                                                                                                                                                                                                                                             
ModuleNotFoundError: No module named 'jsonschema'                                                           

gileri commented on 2022-07-09 19:15 (UTC)

Hi @dreieck,

Good idea, thanks ! I added the generic provides=("mapillary_tools"). As per the wiki I left out conflicts, it should not be required :

Please note that I removed python-pymp4 from dependencies, as they implemented an internal parser.

dreieck commented on 2022-07-09 18:03 (UTC)


can you please add provides=("mapillary_tools") and conflicts=("mapillary_tools")?

Thanks for maintaining!

gileri commented on 2021-12-25 16:47 (UTC)

Thank you for the notice.

That is sadly an upstream problem, as mapillary_tools requires python-pymp4 [1], which requires construct < 2.9 [2].

contruct 2.8 does not support Python 3.10, the package tests are failing due to this :

"DeprecationWarning: Using or importing the ABCs from 'collections' instead of from '' is deprecated since Python 3.3, and in 3.10 it will stop working"

However, disabling check during makepkg allows to build it, and I managed to start mapillary_tools without the error you shared. Do you have any idea how your setup differs to mine ?

[1] [2]

jose1711 commented on 2021-12-14 22:40 (UTC)

seems to be broken atm:

Traceback (most recent call last):
  File "/usr/bin/mapillary_tools", line 33, in <module>
    sys.exit(load_entry_point('mapillary-tools==0.8.0', 'console_scripts', 'mapillary_tools')())
  File "/usr/lib/python3.10/site-packages/mapillary_tools/", line 124, in main
AttributeError: 'Namespace' object has no attribute 'func'

gileri commented on 2021-07-13 07:03 (UTC)

Done, thank you @jose1711 for the reminder !

jose1711 commented on 2021-07-12 08:35 (UTC)

please update maintainer/contributor info in the header. thank u

jose1711 commented on 2021-03-11 13:25 (UTC)

@gileri, thank you too. it's now available for adoption. have fun, j

gileri commented on 2021-03-10 17:07 (UTC)

@jose1711 Yeah totally ! Thanks.

jose1711 commented on 2021-03-09 20:36 (UTC)

@gileri hey, to be honest i don't currently have time to maintain this. any interest in adopting?

gileri commented on 2021-03-06 20:50 (UTC)

You're right, python-pymp4 has an hard dependency on python-construct 2.8.8.

There is a small (undocumented on the project) dependency from mapillary_tools on python-construct (the exceptions I cited). In addition, mapillary_tools depends on python-pymp4.

Right now, this AUR packages requires python-construct=2.8.10, while pymp4 depends on 2.8.8, so mapillary-tools is not installable as of now.

I created python-construct-288 and pushed an update to python-pymp4 to depend on it.

I think the best avenue would be to pin python-construct to >=2.8,<2.9 on this package. What do you think ?

jose1711 commented on 2021-02-28 11:20 (UTC)

With the latest python-construct I am getting:

  File "/usr/lib/python3.9/site-packages/pymp4/", line 86, in <module>
    "major_brand" / String(4),
NameError: name 'String' is not defined

Can you please detail your suggestion (maybe removing option to import gpx from blackvue)? Thanks

gileri commented on 2021-02-28 09:06 (UTC)

Hi, thanks for the quick update !

'python-construct=2.8.10' is listed as a dependency (twice), that prevents building the package as the current version in arch repos is 2.10.61-1.

As the library usage seems really limited, I think that the risks of API breakage are low :

So I would suggest removing the version pinning on python-construct.

gileri commented on 2021-02-27 11:26 (UTC)

Python 3 support has been implemented, and python 2 dropped :

jose1711 commented on 2020-07-25 12:13 (UTC) (edited on 2020-07-25 20:19 (UTC) by jose1711)

At this moment this requires pymp4's dependency python-construct to be in a specific version (hence updated dependencies). Here's how I do this on my system:

svn checkout --depth=empty svn://
cd community
svn update python-construct
cd python-construct/trunk/

svn update -r r203452
makepkg --nocheck -si

Add python-construct and python2-construct into IgnorePkg (/etc/pacman.conf).

Self-Perfection commented on 2020-07-02 21:24 (UTC)

Does not start after install:

from pymp4.parser import Box

ImportError: No module named pymp4.parser