Please, post any bugs you encounter here...
Paint of Persia is a rotoscoping pixel-art tool · By
Hmmm I cannot get this working on mac:
if I run my nwjs project without the zipped Painted Of Persia it will just run the default start screen of nwjs so the setup seems legit. But if I add the zipped Paint of persia folder to as app.nw to Contens/Resources/app.nw. It will exit with this stacktrace:
I had to remove somethings because it was too long I've just added (...) where I've removed part of the call stack.
2016-06-25 08:45:29.725 nwjs[3177:224112] NSWindow warning: adding an unknown subview: <WebContentsViewCocoa: 0x7f91e9ce1360>. Break on NSLog to debug.
2016-06-25 08:45:29.727 nwjs[3177:224112] Call stack:
(...)
2016-06-25 08:45:29.920 nwjs[3177:224112] +[NSMenu menu]: unrecognized selector sent to class 0x7fff76e0e4a8
2016-06-25 08:45:29.921 nwjs[3177:224112] An uncaught exception was raised
2016-06-25 08:45:29.921 nwjs[3177:224112] +[NSMenu menu]: unrecognized selector sent to class 0x7fff76e0e4a8
2016-06-25 08:45:29.921 nwjs[3177:224112]
(...)
2016-06-25 08:45:29.922 nwjs[3177:224112] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSMenu menu]: unrecognized selector sent to class 0x7fff76e0e4a8'
*** First throw call stack:
(...)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
extensions::sendRequest:157
return natives.StartRequestSync(functionName,
Thx, I got it one step further with your fix. Now the app crashes when I created a new project, or click on "Quick Tour". It it related to the menu also
"Item to be inserted into menu already is in another menu", some more details here:
2016-06-26 21:51:31.393 nwjs[4320:293985] *** Assertion failure in -[NSMenu insertItem:atIndex:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1404.46/Menus.subproj/NSMenu.m:713
2016-06-26 21:51:31.394 nwjs[4320:293985] An uncaught exception was raised
2016-06-26 21:51:31.394 nwjs[4320:293985] Item to be inserted into menu already is in another menu
Ah, it's a bug, normally shorcuts are disabled during export... What kind of export did you do?
That said, shortcuts are enabled even you don't have focus on app, maybe that's what you are talking?
I do this because when I used this tool, I did "Ctrl S" always even when I changed something on my browser... So I made this choice and let the possibility to disabled shorcuts on Edit menu... I don't sure it's the right choice, I wait feedback and will try to polish the shorcuts controls...
(WINDOWS 7 Pro x64) If you use the select tool, then you want to use the rectangle (or ellipse) tool it always draw dashed line and I can't figure out how to restore (program restart helps) you can even change the width of the dashed line which is very nice! but no option to get back to normal rectangle.
Also shortcuts seems very aggressive, I cannot even write comment here, because it swallows my U,E,I letters and the spaces
Hi and thanks!
bug 1: I'm working on rethink the shortcut implementation, the next build should fix it.
bug 2: I don't understand the second bugs? If your image is fully transparent, this is normal, if not, was it a completely close shape and it fill an other transparent area? or is it fill even allready draw area? Is there any error.log file in the app folder?
Hello!
It is possible I am doing something wrong, of course, but the window is never transparent here.
I am using Windows 7 (64 bit). I do have Visual Studio installed, so theoretically, it might be referencing debug runtime DLLs, but that seems unlikely. The video card is Intel 4 Series Express, which may be incompatible with the GLES library you are using, but I do not have enough to test that. It is not throwing an error, it believes it is running correctly and does not generate an error.log file.
Thank you for the cool idea, appreciate any help you might have in getting it to run here.
- d
Hi,
If you don't show any bug report, the simple solution I think, and i hope that's the good one, is to change your theme (Control Panel -> Apparence and Personalization -> Change the theme) and don't choose a classic theme.
If it is not working, search if there is an error.log near the .exe.
If there is nothing, problem may be on nwjs. So we had to understand what do that, and let an issue on their github...
Hi, I just posted a short tutorial here: https://itch.io/t/28706/linux-and-mac-users
Hi, [Windows 7 x64]
Hi, I've been having some troubles with the tool. My main SO is windows 8.1, when I first started the tool the quick guide worked fine, but since then everytime I start it it shows the windows in white and just doesn't start. I tried using it in windows 7 in a virtual machine. There it starts without problem but the transparency doesn't work. I tried changing the theme but it didn't work either. I've triying everything this pass days, I'm despeared to use this great tool but I don't know what else to do. In the error file that it creates in windows 8 it says that it cannot charge the setting.json and when i try to force close it, it says that njws stopped working. Hope you can help. Please don't stop developing this tool, It has great possibilities.
Hi, that windows 8 bug is really annoying, I'm sorry, I have to investigate more on it...
Maybe if you want to help, you can download this version: https://framadrive.org/index.php/s/CtCk7uq0Qr7A2dV that opens a console at start and send me ( dunin(at)laposte.net ) what's this console show when the bug arrives...
Sure, I'll help you out. I think this tool has great possibilities. It would be my pleasure to help you as a tester. I'll pass to you the bugs and errors I encounter. I have tried it in windows 8 and 7 but I can try it in other OS's (except 10 because I can configure it right in the virtual box). Hope the tool grows in popularity ;)
Hi, sorry for that strange bug, I have to investigate...
But normally if you could save, animations aren't lost (check if save files aren't empty, you can open it with a text editor)
What are your configuration and the version you use? Did you use a sandbox?
And just to be sure I understand well: can you tell me exactly when you get the error, after browsing and choosing a file I guess?
Hi, Thank you for the quick reply! I had been using 0.3 on mac, placing the nwj in it's folder and it worked fine. I spent a few hours making an animation at 128x128. I Saved as, and exited. (no export as i wanted to finish later) Coming back the next day I have not been able to open recent, or open the file by searching for it. I'll click the file and nothing will happen, but I'll get an error log like this,
failed to load chrome-extension://dnlcphfbppfamdbgagjjeakmghplikll/Users/mstoneking1/Documents/baikin.ptop
or any path I place the saved ptop file in. I was able to open the file i animated in text edit and it definitely still has content!
Any help would be appreciated!
thanks
(Also, i must note that all versions of Ptop have ran on my mac, so I went to the older ones and they could not open the file as well. Perhaps my setup for saving is incorrect?)
Wow, really weird, I can't reproduce it. But sorry for the bug, I will try to fix it...
Can you give-me more precision:
Uh, strange. Maybe it's the file settings.json (that keeps the swatches) that's corrupted...
You can try to delete it (after send it to me (dunin(at)laposte.net) so I can debug the program). The location of the file depends on the OS and whether you use the itch application.
For example, on windows, it is C:\Users\yourUserName\AppData\Local\Paint Of Persia\User Data\Default\settings.json
Deleting settings.json did nothing. I completely wiped Paint of Persia including everything in Appdata and then re-installed it and that seemed to fix the problem for a bit, but then it started again. It seems that everytime i run the application the Colour palette gets smaller. after opening the application about 15 times the colour palette becomes unusable.
was it setting.json file that you wanted me to send?
thanks
Hi, here is an attempt to fix it: https://framadrop.org/r/Ow4Xg909c4#1PRrWInaRR24oDG0egaTHu0mN/n2SphNyNFZGGWukUI=
Can you try it and tell me if it solves the problem for the palette window or for all windows or for none?
If none, you can try to press f12 with the focus on the main window (the one with the menus) and see if there are any error messages in the console....