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

Creating Project from Template Causes Application to Close [All-in-One edition] #146

Closed
ChildLearningClub opened this issue Sep 29, 2021 · 18 comments

Comments

@ChildLearningClub
Copy link

Downloaded Phaser Editor 2D All-in-One V3.30 for Windows 10 from official website. Unzipped and pressed the PhaserEditor2D.exe file. Application opens as expected. New Project and select a project template. Create new folder and Select Folder as project destination and the Application then closes. Trying to reopen Application with the PhaserEditor2D.exe file again results in a blank window showing for a brief amount of time and closing again. The only solution to open Application again is to remove the folder that was created for the project that has the template files copied into it.

@PhaserEditor2D
Copy link
Owner

Hi,

Please, can you try with this fix: http://updates.phasereditor2d.com/v3.30.0-fix-1/PhaserEditor2D-allInOne-3.30.0-windows-fix-4.zip

Also, please, try opening it from the CMD and show me here the output.

Thanks

@PhaserEditor2D PhaserEditor2D transferred this issue from PhaserEditor2D/PhaserEditor2D-v3-allInOne Sep 29, 2021
@PhaserEditor2D
Copy link
Owner

Hi @Bellusterra

I transferred the issue here.

@ChildLearningClub
Copy link
Author

It may very well be something I am doing wrong or perhaps changed on my computer to prevent it from working properly as there are no other reports of other people having this same issue. I downloaded the file above and had the same results. here is the output from terminal:
Starting Phaser Editor 2D Core server Saved port: 2153 Spawn: C:/Users/james/Downloads/PhaserEditor2D-allInOne-3.30.0-windows-fix-4/PhaserEditor2D/resources/app/server/PhaserEditor2D.exe [ '-disable-open-browser', '-port', '2153', '-project', 'C:/Users/james/Documents/PhaserEditor2D-Projects/PhaserEditor-Projects/test' ] Process ID: 23760

@PhaserEditor2D
Copy link
Owner

Hi @Bellusterra

There is at least another user with the same problem. You are not along :)

Your GitHub account shows that you are in Japan. Is your OS in the Japanese language? The other user with the same problem also is using a Windows with the Asian language.

Yet I don't know what's causing the problem. Can you check please if your antivirus is stopping the server's PhaserEditor2D.exe file? It is located in /PhaserEditor2D/resources/app/server/.

@ChildLearningClub
Copy link
Author

ChildLearningClub commented Oct 1, 2021

I'm using Windows 10 in English, Windows will initially prompt that application is from unknown publisher, but I run press run anyway for /PhaserEditor2D/resources/app/server/PhaserEditor2D.exe file. Initially everything runs as expected the application opens and I have options to select template to download. only after installing the template and the application attempting to open those files does it fail. As far as antivirus I do not see anything in the windows antivirus settings where it is being blocked or logged as a threat.

@PhaserEditor2D
Copy link
Owner

It stops working at the time it tries to run the server executable. The window is blank because it is waiting for the server's response. Please, in the meantime can you use Phaser Editor 2D Core? I should add more debugging info to the all-in-one distribution for finding what's happening. Thanks!

@ChildLearningClub
Copy link
Author

ChildLearningClub commented Oct 3, 2021

Oh I see, Thank you for the explanation. I’m happy test and send you whatever information that you need.

@ChildLearningClub
Copy link
Author

Did a fresh install of Windows 10, made sure to accept all firewall and network permissions when asked. Neither PhaserEditor2D from the allinOne package or the one from the core package open after importing a new template.

@PhaserEditor2D
Copy link
Owner

Hi!

Thanks so much. I will be back to office soon.
Arian.

@PhaserEditor2D
Copy link
Owner

Hi @Bellusterra

When you run Phaser Editor 2D Core, does it print any error or info? You should run it like this in the CMD:

PhaserEditor2D.exe -project path/to/project

@ChildLearningClub
Copy link
Author

ChildLearningClub commented Oct 5, 2021

okay got it working, the result from your above command was:

C:\Users\James Keller\Downloads\PhaserEditor2D-core-3.30.0-windows\PhaserEditor2D>PhaserEditor2D.exe -project C:\\Users\\James Keller\\Documents\\PhaserEditor2D\\new-project Phaser Editor 2D - v3.30.0 => Running in Free mode (only 70 files per project allowed) => Purchase a license: https://gum.co/phasereditor 2021/10/04 18:30:04 User plugins: C:\Users\James Keller/.phasereditor2d/plugins 2021/10/04 18:30:04 Loading project at directory 'C:\Users\James' does not exists

It's possible the space in my name within the file location was the problem after moving the project file to the root folder everything opened as expected:

C:\Users\James Keller\Downloads\PhaserEditor2D-core-3.30.0-windows\PhaserEditor2D>PhaserEditor2D.exe -project C:\\new-project Phaser Editor 2D - v3.30.0 => Running in Free mode (only 70 files per project allowed) => Purchase a license: https://gum.co/phasereditor 2021/10/04 18:31:22 User plugins: C:\Users\James Keller/.phasereditor2d/plugins 2021/10/04 18:31:22 Loading project at C:\new-project 2021/10/04 18:31:22 Listening at http://127.0.0.1:1959/editor Play IDE online : https://play.phasereditor2d.com/ Documentation : https://help.phasereditor2d.com/v3 File bugs/ideas : https://github.com/PhaserEditor2D/PhaserEditor2D-v3/ Keep in contact : https://twitter.com/PhaserEditor2D => Open the web browser at http://127.0.0.1:1959/editor

If not the space in the name I do not know the cause. fresh install of windows 10 with all things set as default no change in file or folder permissions. Hope this helps. the other people with this problem.

Looking forward to finally getting to try out your program :) Thank you.

@ChildLearningClub
Copy link
Author

ChildLearningClub commented Oct 5, 2021

Oh looks like a spoke to soon... still not opening correctly. By moving the project to the new location the program opened, but when starting over and creating the folder in the root as I mentioned I run into the same problem as before.

Note: it still runs with the command you gave above in the command line, but does not open from within either the core or regular .exe files from the desktop.

@PhaserEditor2D PhaserEditor2D changed the title Creating Project from Template Causes Application to Close Creating Project from Template Causes Application to Close [All-in-One edition] Oct 24, 2021
@PhaserEditor2D
Copy link
Owner

Hi @Bellusterra

Please, can you test this issue with the latest version 3.31.2 of the allInOne?

@ChildLearningClub
Copy link
Author

I'm able to add and remove images and save properly so that seems to be fixed, although the application will still close out when creating a project and requires opening from the command line to use.

@PhaserEditor2D
Copy link
Owner

Hi. Thanks. Another user is getting the same error when creating a new project. Yet I can't reproduce the error.

@PhaserEditor2D
Copy link
Owner

Hi @Bellusterra

Please, if you can check this version: https://updates.phasereditor2d.com/v3.31.2-next/PhaserEditor2D-allInOne-3.31.2-next-windows-20220105.zip

It uses the latest electron.

@ChildLearningClub
Copy link
Author

Yes, that does appear to fix it! It opens now and stays open!

@PhaserEditor2D
Copy link
Owner

Yes, that does appear to fix it! It opens now and stays open!

God! Finally! Let's see what the other users with the same problem say.

Thanks!

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

No branches or pull requests

2 participants