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

AttributeError: 'ydItem' object has no attribute 'public_url' #57

Closed
dukzcry2 opened this issue Jun 24, 2024 · 0 comments
Closed

AttributeError: 'ydItem' object has no attribute 'public_url' #57

dukzcry2 opened this issue Jun 24, 2024 · 0 comments
Assignees
Labels

Comments

@dukzcry2
Copy link

dukzcry2 commented Jun 24, 2024

Sometimes there is an error when using command share. Occurs at random times

Publish: disk:/<removed>
--> PUT https://cloud-api.yandex.net/v1/disk/resources/publish?path=<removed>
--> Connected to cloud-api.yandex.net:443 (TLSv1.3 TLS_AES_256_GCM_SHA384)
--> GET https://cloud-api.yandex.net/v1/disk/resources?path=<removed>&offset=0&limit=0
--> Connected to cloud-api.yandex.net:443 (TLSv1.3 TLS_AES_256_GCM_SHA384)
Traceback (most recent call last):
  File "/run/current-system/sw/bin/ydcmd", line 2692, in <module>
    yd_share_cmd(options, args)
  File "/run/current-system/sw/bin/ydcmd", line 2127, in yd_share_cmd
    yd_print("{0} -> {1}".format(info.path, info.public_url))
                                            ^^^^^^^^^^^^^^^
AttributeError: 'ydItem' object has no attribute 'public_url'
@abbat abbat added the bug label Sep 23, 2024
@abbat abbat self-assigned this Sep 23, 2024
@abbat abbat closed this as completed in b7a2709 Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants