Bug 157 : Export does not always export the code in the .pde file
Last modified: 2005-11-28 16:48




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
Shawn Van Every
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-09-20 10:17
This is intermittant. On MacOS X 10.4.2 sometimes the export function does not export the
code in the PDE file and it appears blank. It seems that this can be rectified by deleting the
file and re-exporting.

I will try to narrow it down..
Additional Comment #1 From fry 2005-09-20 15:21
have you changed your default java vm to be java 1.5?
Additional Comment #2 From Shawn Van Every 2005-09-20 20:09
(In reply to comment #1)
>
> Additional Comment #1 From
> fry
> 2005-09-20 15:21
>
> <!--
> addReplyLink(1); //-->[reply]
>
>
>
>
> have you changed your default java vm to be java 1.5?
>
>

No.. Some of my students are having the same (or similar) issue as well. I will let you
know if I figure it out.
Additional Comment #3 From fry 2005-09-20 20:20
could it be that you're not saving the sketch first? when exporting, it actually just copies the
code from the sketch folder, so if things aren't yet saved, you'll wind up with an empty file.
Additional Comment #4 From Shawn Van Every 2005-09-20 20:42
That may very well be it. I will let you know if I find otherwise.

While this is definitely a user "bug", perhaps the export function should autosave?

Additional Comment #5 From fry 2005-09-20 20:46
probably should, or rather, ask the user to confirm that it'll be saving or cancel the export.
whether it's user error or not doesn't really matter if lots of people are having trouble with
it, so i should probably fix it.

let me know what you find out...
Additional Comment #6 From fry 2005-11-28 16:48
k, confirmed that this was the problem, so as of 0097, people will need to save their
changes before exporting.