Salasaga Forum
September 09, 2010, 12:20:46 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: 3rd May 2010 - For new forum members

If you need your account on the forum approved, please please email me directly (justin@salasaga.org) to let me know, and I'll then approve it.

We are getting so many spam forum accounts being generated we can't keep up, and are not bothering to approve new accounts without someone pro-actively emailing us to prove they're a human being.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED] ERROR ED91  (Read 1783 times)
0 Members and 1 Guest are viewing this topic.
robertmaynord
Newbie
*
Posts: 3


View Profile
« on: December 28, 2008, 10:33:29 AM »

I just installed Salasaga Alpha 4 on Sidux.  All went well until I tried to save to an .swf file.  Then I receive the message "Error ED91, something went wrong when creating the SWF movie".  I only had two slides, one with text, the other with text or an image (I tried both).

The Salaga install went well, with no error messages, and there are no error messages in syslog. 

I think this is a super project, if I could just get it to work.  Any suggestions?

« Last Edit: December 31, 2008, 01:54:25 AM by JustinClift » Logged
robertmaynord
Newbie
*
Posts: 3


View Profile
« Reply #1 on: December 29, 2008, 07:54:59 PM »

By experimentation, I discovered that I can get the export to flash to progress a bit further.  If I turn off the control bar and the information button, Salasaga will actually save a .swf file.  However, the file does not play (it does have a color background). In the save process, I receive a new error message: ED380 "Something went wrong when opening the font file".

I will continue researching......
Logged
JustinClift
Administrator
Full Member
*****
Posts: 136


View Profile WWW
« Reply #2 on: December 30, 2008, 08:35:12 PM »

By experimentation, I discovered that I can get the export to flash to progress a bit further.  If I turn off the control bar and the information button, Salasaga will actually save a .swf file.  However, the file does not play (it does have a color background). In the save process, I receive a new error message: ED380 "Something went wrong when opening the font file".

I will continue researching......

Hi Robert,

Thanks for the encouragement, and persistence. Smiley

Went looking in the source code for the conditions that generate those error numbers, and ED91 is very generic.  Sad It pops up if there's been any other error during the .swf creation process.

So, the ED380 is a lot more helpful, and confirms a suspicion, as it's to do with Salasaga having an issue when trying to open the font file.

Most of the problems that people have like this, are to do with the installation paths for things (like the font files).

At a guess, I'm thinking salasaga isn't finding the font files that are installed with it.

It's pretty easy to find out for sure too. Smiley

First things first, we should probably cover the basics, just to be on the safe side. Smiley

  • Which version of Salasaga is installed?  I'm hoping for Alpha 4 here. Smiley
  • Was it installed from a package, or from the downloaded source tarball?
  • Is there a file called "DejaVuSans.fdb" on your system?  (this is the specific font file Alpha 4 installs and uses)

If you're using Alpha 4, and you installed from source (which should have led to a definitely correct installation), and that font file exists, then the best way to progress will be to do a quick run time check of where Salasaga is looking for this.

Are you familiar with strace?  It's a utility to capture every single system call used during the run of an application.  (Heaps of output, but I find it very effective, and it's easy plus very effective for stuff like this.) Smiley

I would do this:

a) Start Salasaga, capturing what it's doing:

  $ strace salasaga > salasaga.strace 2>&1

  Salasaga will run a fair bit slower than normal, and strace will be generating a *large* amount of output into the "salasaga.strace" file.

b) Load your project file in Salasaga (File -> Open).

c) Export the project file to swf (so it looks for the font file, and generates the error).

d) Quit out of Salasaga.

  At this point, strace will also quit, and you'll have a pretty large salasaga.strace file.  It's all text, and is quite messy.

e) Do a search in this salasaga.strace file for mentions of the "DejaVuSans.fdb".  That will show you the path Salasaga is using to find it, and it should also show any error message information that Salasaga hit when trying to access it.

From there, you should be able to check if the file really is on the system in the right place, and figure out a way forward.

Does this all sound workable to you? Smiley

Btw - My head space at the moment is in server side stuff, as I'm putting a lot of time into getting the server side components of Salasaga up and running.  It's likely going to be at least a couple more weeks until the client side IDE gets worked on again (and the swf bugs get fixed unless super urgent).


« Last Edit: December 30, 2008, 09:06:11 PM by JustinClift » Logged
robertmaynord
Newbie
*
Posts: 3


View Profile
« Reply #3 on: December 30, 2008, 11:34:12 PM »

I followed your instructions, and here's what I found...

1) DejaVuSans.fdb was no where to be found on the system (there was however a ttf version).

2) I had installed Salasaga using apt-get, but I do have the Alpha 4 version. 

3) I downloaded the compressed file from the Salasage website and decompressed it.  I then found it had DejaVuSans.fdb in the font_outline folder.

4) I ran Salasaga using strace, and it looked for the font in usr/share/salasaga.  However, there was no such folder.  I created usr/share/salaga and added the font_outline folder, placing the DejaVuSans.fdb file inside.

5) I tested Salaga, and it was then able to save to a flash file!!!!  Hurray....

6) Only one catch left at this point - I must still turn off the Control bar and Information Button.  However, I had no immediate plans to use them.

Salasaga will be very usefull in the creation of imagery for web sites.....

Thanks!

Logged
JustinClift
Administrator
Full Member
*****
Posts: 136


View Profile WWW
« Reply #4 on: December 31, 2008, 01:53:58 AM »

2) I had installed Salasaga using apt-get, but I do have the Alpha 4 version. 

Ahhh, no worries.  Sounds like there's a slightly older version of the package available for Debian (and Sidux).   Roll Eyes

The first revision or two of the Salasaga package for Debian and derivatives had a few issues (due to a lack of clarity in an email I send to the packager), although the latest Ubuntu version is ok now from what I've heard.

Glad you've got it working, and hope it works well for you.  Smiley

I've noticed there's a memory corruption that seems to happen during the export of swf itself, so it's probably a good idea to save the project before you do exports.  And probably reload afterwards each time, just to be safe. (a bit of a pain)

The memory corruption thing will need to get fixed by the next release, but I'm focused on other areas of development at the moment. Smiley

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!