onedrivecmd icon indicating copy to clipboard operation
onedrivecmd copied to clipboard

Trouble with PYINSTALLER

Open ALEERQUESON2DIAS opened this issue 7 years ago • 0 comments

I have managed to operate this program according to my access needs to OneDrive. It works perfectly by running the sources with the python interpreter 3.7.2.

Now I am trying to generate an executable package through the PYINSTALLER program. The generated executable works correctly in the authentication and access, but when you want to obtain or list files the following error occurs

CMD------> odacce.exe a:/odparm.json GET od:/DAT/A/file.txt RESULTS--> Traceback (most recent call last): File "odacce.py", line 556, in File "odacce.py", line 442, in do_get File "odacce.py", line 274, in get_remote_item AttributeError: 'OneDriveClient' object has no attribute 'item' [5864] Failed to execute script odacce

The instruction that fails is f = client.item(drive = 'me', path = path).get()

I am investigating this error and the way to solve it. It could be a problem of PYINSTALLER, ONEDRIVEDSK or ONEDRIVECMD.

If any person has any suggestions on the matter I would be very grateful

Sincerely

Ángel[ALQS2D]

ALEERQUESON2DIAS avatar Jan 16 '19 06:01 ALEERQUESON2DIAS