Skip to content

argument of type 'NoneType' is not iterable iPhone or iOS #84

@ghost

Description

Short Information

  • Used Toolkit version: 1.0.4
  • Operating System: Windows

Problem Definition Briefly (might be explained in steps)

  • argument of type 'NoneType' is not iterable is shown when uploading tracks with Unclear

Expected Output

  • Upload normally

Actual Output

  • argument of type 'NoneType' is not iterable

Extra information (can contain screen shots)

[2024-10-08 08:20:04,882] ERROR in app: Exception on /download-sequence [POST]
Traceback (most recent call last):
File "C:\Users\cgeek\AppData\Roaming\Python\Python312\site-packages\flask\app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cgeek\AppData\Roaming\Python\Python312\site-packages\flask\app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cgeek\AppData\Roaming\Python\Python312\site-packages\flask\app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cgeek\AppData\Roaming\Python\Python312\site-packages\flask\app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\site-packages\MapSyncer\app.py", line 344, in download_sequence
download_user_images(IMAGES_PATH, user_name, sequence_id)
File "C:\Program Files\Python312\Lib\site-packages\MapSyncer\components\download.py", line 174, in download_user_images
get_exif(sequence.online_id, sequence_path, lth_images)
File "C:\Program Files\Python312\Lib\site-packages\MapSyncer\components\get_exif.py", line 188, in get_exif
if platform == "iOS" or "iPhone" in platform:
^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions