azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

file.append_data throws Typeerror "element indices must be integers"

Open sfoxover opened this issue 5 years ago • 3 comments

  • Package Name: azure-storage-file-datalake
  • Package Version: 12.2.0
  • Operating System: Ubunut 20.04
  • Python Version: 3.8.5

Describe the bug I am unable to get even a simple Python example to create a file or directory.

To Reproduce Steps to reproduce the behavior: file_system = "testfs" file = DataLakeFileClient.from_connection_string(url_with_secret, file_system_name=file_system, file_path="cities.txt") data = b"abc" file.append_data(data, 0) file.flush_data(len(data))

Expected behavior File gets created

Screenshots If applicable, add screenshots to help explain your problem.

Additional context file.append_data call throws Exception has occurred: TypeError element indices must be integers

sfoxover avatar Jan 12 '21 19:01 sfoxover

Hi @sfoxover, I will try to reproduce this and get back to you! Thank you.

tasherif-msft avatar Jan 26 '21 06:01 tasherif-msft

Hi @sfoxover, I was unable to repro this. Which blob version are you running?

tasherif-msft avatar Jan 27 '21 00:01 tasherif-msft

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

ghost avatar Feb 03 '21 02:02 ghost