Unabkle to open older files in Fritzing b2969 May-19-09

Hello Fritzing:

I downloaded the newest version, but now every time I try to open files made in the previous version, I get a can't open message, and then Fritzing crashes. Any ideas? I'm on OSX10.4 Intel. A bit of the crash report is below...

D

Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0xc0830074

Thread 0 Crashed: 0 QtCore 0x02b41cef QFileInfo::QFileInfoin-charge + 31 1 QtCore 0x02b3f8e1 QFileInfo::isRoot() const + 129 2 QtCore 0x02b3fc87 QFileInfo::filePath() const + 55

Posted 2 years, 8 months ago by Daniel

Hi Daniel,

Sorry the new version isn't working for you.

I just tried loading some old files using the new version (on a 10.4 powerpc mac), but the files have no trouble loading. I don't have any good guesses about what the trouble is at this point.

Can you give me any more information? The full crash report would help, and also I'd like to see one of the files that's failing to load.

I've opened up a bug tracker issue for this, which you can find at http://code.google.com/p/fritzing/issues/detail?id=664. If you open that page and click on the text area at the bottom that says "Enter you comments and make changes", then it will give you a way to upload one of the crashing fritzing files. You could also upload the crash report that way.

Thanks.

  • j
Posted 2 years, 8 months ago by Jonathan Cohen

Thanks Jonathan, I posted the crash details and a sample file to Google code...

Posted 2 years, 8 months ago by Daniel

Hi Daniel,

I got the files and had a look. I don't have a good answer for you yet. What I can say is this, the problem has two parts, one from the 0.2.5 version and one in the 0.3.0 version.

First, fzz files are just zip files with a different suffix. The fzz file in your post is broken--if I rename it "whatever.zip" my OS tells me it can't unzip it. I don't know why this is. If you rename it to "whatever.zip" are you able to unzip it on your mac?

So the question is why Fritzing 0.2.5 saved a broken zip file. I don't have a good idea about this yet. Are you able to send me the original sketch (fz) file? Are there any custom parts in that sketch, or does it only use standard fritzing parts?

The second problem is that once Fritzing 0.3.0 fails to unzip the fzz file, it puts itself in a funny state and crashes. This secondary problem was easy to find, and we'll have a fix for it in the next release.

Posted 2 years, 8 months ago by Jonathan Cohen

PS. If you are somehow able to load the fzz file in fritzing 0.2.5, then save it out as a normal sketch file and you should be able to load it that way in 0.3.0.

Posted 2 years, 8 months ago by Jonathan Cohen

Thanks Jonathan:

I just changed the extension from .fzz to .fz on thhe problem files and they open perfectly... could it be that I had a really old version at some point (I did) and that caused the default save format to be .fzz? Both the .fzz and .fz files that I have saved in the past week or so will open in BBedit as regular XML.

D

Posted 2 years, 8 months ago by Daniel

Hi Daniel,

Glad you got the files working again. And just to clarify--when you saved from Fritzing 0.2.5, some of the files were automatically given an fzz suffix, even though you were doing a normal save or save as, and not a save-as-sharable?

  • j
Posted 2 years, 8 months ago by Jonathan Cohen

ah ok-

this could have been all my mistake. I may have saved it as "shareable" and then copied the subsequent files from this original sharable. However thy all open in BBedit as XML...

thanks

Daniel

Posted 2 years, 8 months ago by Daniel

PS: I was able to exactly duplicate what happens:

  • I started a sketch and saved it as a shareable fzz.
  • I started another sketch and saved it as a fzz in the mac "save as" dialog, although it was really an fz. I did this by clicking on the name of the shareable sketch in the mac dialog window.

So- if you rename an .fz to .fzz, then try to open it, you'll get the exact crash I experienced.

Thanks for the late night support :)

Daniel

Posted 2 years, 8 months ago by Daniel

Thanks for taking the time to give us the exact circumstances.

Cheers,

  • j
Posted 2 years, 8 months ago by Jonathan Cohen

Post a Reply

Please login to post a reply.

  • RSS
  • Atom
  • Print this
© 2007 - 2011 University of Applied Sciences Potsdam