Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add support for x86 systems #8

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

moth1995
Copy link

@moth1995 moth1995 commented Sep 2, 2022

I know its an old topic, but we need support for x86 system, it would be really useful if you can provide a solution, i saw the binary files from the tkdnd project and tried to replace the ones that are located in the x64 folder but couldnt compile properly, i have this error when i try to run your example

`
py test.py
Traceback (most recent call last):
File "C:\Users\marco\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tkinterdnd2\TkinterDnD.py", line 53, in _require
TkdndVersion = tkroot.tk.call('package', 'require', 'tkdnd')
_tkinter.TclError: couldn't load library "C:\Users\marco\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tkinterdnd2\tkdnd\win64/libtkdnd2.9.2.dll": Bad exe format. Possibly a 32/64-bit mismatch.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "test.py", line 5, in
root = TkinterDnD.Tk() # notice - use this instead of tk.Tk()
File "C:\Users\marco\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tkinterdnd2\TkinterDnD.py", line 285, in init
self.TkdndVersion = _require(self)
File "C:\Users\marco\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tkinterdnd2\TkinterDnD.py", line 55, in _require
raise RuntimeError('Unable to load tkdnd library.')
RuntimeError: Unable to load tkdnd library.

C:\Users\marco\Documents\Visual Studio Code\Skin_Boot_Assigner>

`

thanks a lot

Eliav2 and others added 28 commits June 5, 2021 19:50
Linking to the fork itself minimizes confusion for PyPI users.
Tix was depreciated in Python 3.6 and removed in Python3.13.
In the original code, it would default to importing Tix and if it could not, it would attempt to import tix from tkinter. Instead, we just load tkinter. Further, we no longer create a TixTk class as it is no longer needed.
Tix has been unsupported for 10 years.
Update comments to remove mention of Tix. Tix has not been updated in 10 years and is removed in python3.13.
Reverting ReadMe temporarily for the purpose of a pull request. Couldn't find a quick better way.
Exclude unused platform-specific tkdnd files in pyinstaller hook
This includes some enhancements mentioned in other repositories. Includes all binaries recently built by main Tkdnd project. Includes ARM binaries from "tkinterdnd-universal"
Including win86 support since these binaries are still built by the TkDnd maintainer.
Previous change failed to account for new directories and new directory changes. This resolves the problem.
Accidentally omitted a comma.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants