andrewrk / andrewrk/pyedsdk

int too long to convert

Offen
#2 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
21
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I know this is probably a long shot since this repository hasn't undergone any changes in many years, but I just discovered this repository and tried it with the most recent Canon SDK under python3.9. With some small syntax changes (python 2->3) it actually seems to work but I get some errors that I don't quite understand.
```
Exception ignored on calling ctypes callback function:
Traceback (most recent call last):
File "c:\PyEDSDK.py", line 56, in ObjectHandler_py
DownloadImage(object)
File "c:\PyEDSDK.py", line 92, in DownloadImage
Call(edsdk.EdsGetDirectoryItemInfo(image, byref(dirinfo)))
ctypes.ArgumentError: argument 1: : int too long to convert
```
Do you have any ideas what it could be and do you maybe have any updated code or idea reference to another python library that interfaces with the Canon SDK? I'd be grateful for some pointers / help! Thanks!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.