andrewrk / andrewrk/pyedsdk

int too long to convert

Đang mở
#2 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
21
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.