Bug 478 : using the pdf library shows "no disk in drive" error message
Last modified: 2007-02-06 17:23



Simon G
Assigned To:

Attachment Type Created Size Actions

Description:   Opened: 2007-01-06 14:25
Sorry I first post my problem in the wrong place... I wont forget next time.

So I copy and pasted it here hoping that I find the right place....

Thank you!


Hi there!

I'm having problem with the pdf library,...
Everything was working great until today, now when I try to play a pdf
sketch it doesn't launch and windows tell me that there is no disk in the
It is very strange and it nerver occured before.

I thoughted it was my acrobat that makes conflicts whith the pdf "builder"
but I can't find where it comes from...

The exact error message is:

title: Windows - No Disk

message: There is no disk in the drive. Please insert a disk into the

I hope someone know what Im talking about and that my bad english is not a
problem for understanding my problem.

Thank you! and Thank you all too, for making this wondefull community live.


Additional Comment #1 From fry 2007-01-06 14:43
i'm guessing that you have a removable disk drive on your machine. the pdf
library scans disks for fonts when first starting up (checking for a
windows/fonts directory on each drive since there's no way to know which
drive is the startup).

i'll need to fix this, obviously, though in the meantime if you just put
any old disk into the drive, it should start working again. i'm not sure
why it's locking up the sketch completely, it should just give you the
error (which is annoying) but continue.

thanks for posting in the bugs db, it helps me keep track of things much
more easily.
Additional Comment #2 From Simon G 2007-01-07 08:39
wow ! thank you for your "so quick" reply...

There is no problem with my external hd but when I put an old floppy in my
floppy drive everything comes back to normal.

Thank you very mutch and take care :-)

Additional Comment #3 From fry 2007-01-26 20:31
i've just been trying to make this bug show up, but it's not happening. can
you tell me anything else about your system or the setup of your machine?

for instance, what version of java are you running? (try typing "java
-version" in the command prompt) i can't make this error show up, but
you're not the only one to report it, so i'd like to fix it somehow.
Additional Comment #4 From Simon G 2007-01-28 06:17
My computer is an Athlon 1.14Ghz 512m with Win XP Pro version 2002 SP2.

I'm using Processing 0123 beta and here is what I get for my Java version:

java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)

Hope I write what you need.

Additional Comment #5 From fry 2007-01-29 16:30
hm, still looking into it, though i can't seem to make it reproduce. might
be that version of java 1.5, so i'll test that.

i'd like to fix this for release 0124.
Additional Comment #6 From fry 2007-02-03 13:51
k, i've put in a workaround for 0124, hopefully this will at least take
care of the basic case. revision 0124 will be posted in the next day or
two, give it a try once it's out and let me know.
Additional Comment #7 From fry 2007-02-03 13:54
also, in the meantime, could you try running a processing sketch with just
these two lines, and report back what it prints?

Additional Comment #8 From Simon G 2007-02-05 05:38
no problemo

I'll try that when'ill come back home ... maibee this week

and thks again
Additional Comment #9 From Simon G 2007-02-06 04:01
here it is :







Do you wan't I update my java version to see if it's the problem?

Don't hesitate if you need something ;-)

Take care.


ps:hope my english is not a problem.
Additional Comment #10 From fry 2007-02-06 04:12
three more questions:

1) does 0124 fix the problem?
2) did you get the "no disk in drive" message when you used just the
listRoots() function?
3) are you using a non-english version of java (or windows?)
4) was there a disk in the floppy drive when you ran this? (if so, take it
out, restart processing, and run listRoots() again)

Additional Comment #11 From Simon G 2007-02-06 04:32
Don't have to say thanks! It's really a pleasure for me to help.

2) no error message
3) I'm not sure but I think I've installed a french version of java but my windows is in
4) no disk

and ....


number 1) no more trouble man!
It's even seam to work better than before :-)

thank you very much!

It's really a pleasure for me to help,... I don't know if it's possible but if I can help
for anything else don't hesitate.

Additional Comment #12 From fry 2007-02-06 17:23
excellent. my guess is that the problem is with java on intl windows, but
who knows. at any rate, a workaround is in place so we should be set for now.