You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now the issue is observed with python 2.7.12 also. With this version, it sometimes upload successfully and sometimes it throws error. It is in-consistent, it uploads one file but if tried to upload once again after deleting it from central, it throws error.
Was able to upload classic A and B bundles.
Never able to upload classic C bundle and mini A bundle.
With version 3.5.2, it never uploaded successfully even once.
ucscentralsdk version: Latest from github
Python version: 3.5.2
Operating System: Windows 10 VM
Description
Trying to upload firmware using firmware_add_local API. It is throwing memory error.
What I Did
Ran the following command-
firmware_add_local(handle=handle, local_path=local_dir_path, file_name="ucs-k9-bundle-infra.3.1.2b.A.bin")
The output is -
c:\users\tanmay\appdata\local\programs\python\python35-32\lib\site-packages\ucscentralsdk-0.9.0.0-py3.5.egg\ucscentralsdk\ucscentralgenutils.py in encode_file_data(file_path)
227 def encode_file_data(file_path):
228 with open(file_path, "rb") as f:
--> 229 mmapped_file = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
230 return mmapped_file.read(mmapped_file.size())
231
OSError: [WinError 8] Not enough storage is available to process this command
The text was updated successfully, but these errors were encountered: