Skip to content
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

[GLOBAL] --get-linked-panos not working #39

Open
shmugoh opened this issue Nov 14, 2023 · 0 comments
Open

[GLOBAL] --get-linked-panos not working #39

shmugoh opened this issue Nov 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@shmugoh
Copy link
Owner

shmugoh commented Nov 14, 2023

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Python311\Scripts\sv-dlp.exe\__main__.py", line 7, in <module>
  File "C:\Python311\Lib\site-packages\sv_dlp\__main__.py", line 131, in main
    sv_dlp.get_metadata(pano_id=pano, lat=lat, lng=lng, get_linked_panos=args.linked_panos)
  File "C:\Python311\Lib\site-packages\sv_dlp\__init__.py", line 239, in get_metadata
    md = self.service.metadata.get_metadata(pano_id=pano_id, lat=lat, lng=lng, get_linked_panos=get_linked_panos)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\site-packages\sv_dlp\services\google\__init__.py", line 125, in get_metadata
    md = metadata._parse_panorama(md, raw_md, output="linked_panos")
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\site-packages\sv_dlp\services\google\__init__.py", line 150, in _parse_panorama
    md["linked_panos"] = {}
    ~~^^^^^^^^^^^^^^^^
TypeError: 'MetadataStructure' object does not support item assignment
@shmugoh shmugoh added the bug Something isn't working label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant