[Fixed]2.0.2b13 Save scene with title including \n

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

[Fixed]2.0.2b13 Save scene with title including \n

Postby tatt61880 » Sat Mar 17, 2012 4:00 am

Edit: (by tatt61880 on 2012.03.23 02:19)
Fixed in 2.0.2b14. Thanks :clap:
-Tatt
----

== Issue ==
The easiest way to input unicode into scene info is to copy&paste.
When you copy&paste, you can input \n in the title and failed to save the scene.

== How to reproduce bug ==
a
b
You can copy two line above and paste into title, and when you saved the scene, and message tells a lie.Image
In console window, it says the save failed.
105930 ms: - ERROR - Failed to close zip archive at "Algodoo/scenes/a
b.phz": Failure to create temporary file: Bad file descriptor, ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。 (error code 0000007B)
106000 ms: - WARNING - The current font (Verdana) cannot display the given text, looking for fallback font... Switching to fallback "Tahoma"
106026 ms: Scene saved to "Algodoo/scenes/a
b.phz"
Last edited by tatt61880 on Thu Mar 22, 2012 7:20 pm, edited 1 time in total.
Reason: Fixed!
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
User avatar
tatt61880
[Most Helpful Person 2010]
 
Posts: 1150
Joined: Mon Aug 31, 2009 5:45 pm
Location: Tokyo, Japan

Re: 2.0.2b13 Save scene with title including \n

Postby emilk » Tue Mar 20, 2012 10:41 am

This is two bugs - failure to save with new-line-character, and failure to report on failure. Both will be fixed.
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden

Re: 2.0.2b13 Save scene with title including \n

Postby tatt61880 » Tue Mar 20, 2012 3:55 pm

emilk wrote:This is two bugs - failure to save with new-line-character, and failure to report on failure. Both will be fixed.


In title, prohibiting '\n' might be better than handling '\n'.
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
User avatar
tatt61880
[Most Helpful Person 2010]
 
Posts: 1150
Joined: Mon Aug 31, 2009 5:45 pm
Location: Tokyo, Japan

Re: 2.0.2b13 Save scene with title including \n

Postby emilk » Tue Mar 20, 2012 6:09 pm

'\n' are converted into spaces now upon paste.
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 5 guests