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

Tiled Not Opening - "Tiled Not Responding" #2091

Open
TsaEIT opened this issue Mar 21, 2019 · 14 comments
Open

Tiled Not Opening - "Tiled Not Responding" #2091

TsaEIT opened this issue Mar 21, 2019 · 14 comments
Labels

Comments

@TsaEIT
Copy link

@TsaEIT TsaEIT commented Mar 21, 2019

Sorry to bother you,

But, recently whenever I attempt to open a .tmx or even open Tiled normally (from the Windows Menu) the window shows up white, waits for 3-5 seconds and closes (don't use that exactly). I attempted reinstalling Tiled, with no luck, I've rebooted my computer, and I can't think of anything else.

Some specs that I could give you would be:
OS: Windows 10 Pro
Version: 1803
Processor:
Manufacturer: Intel
Core: i5-3450
Installed RAM: 8 GB (7.89 usable)
64-bit

@bjorn
Copy link
Member

@bjorn bjorn commented Mar 21, 2019

Recently there have been a few reports like this, and it appears to be related to the Python plugin, which crashes on load when certain versions of Python are installed. Can you please tell me:

  • The exact version of Tiled you installed (including architecture)
  • Which Python versions you have installed (including architecture)

With this information I may be able to reproduce the problem to see if I can find a solution. Please also try to delete the python.dll that is part of your Tiled install, and tell me whether it fixes the problem.

If I can't find a solution I will at least disable the Python plugin by default.

@bjorn bjorn added the bug label Mar 21, 2019
@TsaEIT
Copy link
Author

@TsaEIT TsaEIT commented Mar 22, 2019

My Current Tiled Version Is 1.2.2
I currently have Python 2.7.11 and 3.6.5
but due to Tiled working earlier, I assume it was running 3.6.5.

@TsaEIT
Copy link
Author

@TsaEIT TsaEIT commented Mar 22, 2019

Python 2 being 32-bit
Python 3 being 64-bit

@TsaEIT
Copy link
Author

@TsaEIT TsaEIT commented Mar 22, 2019

Once again sorry for the string of comments, but deleting python.dll seems to have worked.
Thanks!

@bjorn
Copy link
Member

@bjorn bjorn commented Mar 22, 2019

Python 2 being 32-bit
Python 3 being 64-bit

And Tiled being? :-)

@TsaEIT
Copy link
Author

@TsaEIT TsaEIT commented Mar 23, 2019

1.2.2 I believe.

@TsaEIT
Copy link
Author

@TsaEIT TsaEIT commented Mar 23, 2019

I tried removing the python.dll file, and it seems to work perfectly, thanks for the help.

@bjorn
Copy link
Member

@bjorn bjorn commented Mar 24, 2019

1.2.2 I believe.

I was wondering whether it was the 32-bit or 64-bit version.

@TsaEIT
Copy link
Author

@TsaEIT TsaEIT commented Mar 25, 2019

64-bit

@ASB2
Copy link

@ASB2 ASB2 commented Apr 28, 2019

I had this same issue, it was resolved by deleting python.dll. Im using tiled Version 1.2.3 64bit with python version 3.7.3

bjorn added a commit that referenced this issue Apr 29, 2019
Depending on which version of Python may be installed on the system,
trying to load the Python plugin can cause a crash. Until we figure out
what's causing this and how to prevent it from happening, it's better to
disable the Python plugin by default.

Issue #2091
@bjorn
Copy link
Member

@bjorn bjorn commented Apr 29, 2019

I've pushed a change that will disable the Python plugin by default in Tiled 1.2.4 (not sure when I'll release this yet). Though ideally we'd find out how to avoid this crash from happening in the first place...

@albin-johansson
Copy link
Contributor

@albin-johansson albin-johansson commented Jul 9, 2021

Hi!

I recently ran into this annoying issue, so I thought that I'd share what I did to solve it locally. The problem first arose when I upgraded my Tiled version (I believe from 1.5.0 to 1.7.0, but the issue remained when I tried 1.6.0 as well).

So I tried the aforementioned workaround of removing the python.dll file from .../Tiled/plugins/tiled, but that didn't help. So I eventually got around to removing the entire Tiled entry from the registry, which seems to have solved issue. Since my issues arose when I upgraded the Tiled version, the problem might have something to do with registry entries getting corrupted somehow? Even if it admittedly does sound like a strange cause of "Not Responding..." errors, but I don't know enough about how Qt handles registry data through QSettings.

tl;dr I did not have to remove python.dll file to solve the issue, I simply removed the Tiled entry from the registry and booted the application.

  • OS: 64-bit Windows 10 Home (Version 20H2 Build 19042.1083)
  • Tiled 1.7.0 (64-bit)
  • Python: 3.9.6 (64-bit)

@bjorn
Copy link
Member

@bjorn bjorn commented Jul 9, 2021

@albin-johansson Hmm, that's interesting, but it's the first time I hear about it. Just in case, could it be that you had enabled hardware accelerated rendering (OpenGL)? Because this can also cause hangs on startup I think, and the setting is stored in the registry.

If you try it out and it breaks Tiled, note that you can also start Tiled with the command-line parameter --disable-opengl to disable it again.

@albin-johansson
Copy link
Contributor

@albin-johansson albin-johansson commented Jul 10, 2021

Yeah, I have usually had hardware accelerated rendering enabled, but I don't remember for sure. If I run into the issue again, I'll be sure to try to to disable it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants