baileyjaybee / mediacomp-jes

Automatically exported from code.google.com/p/mediacomp-jes
0 stars 0 forks source link

writePictureTo() doesn't work in Windows Vista or 7 when there is a '.' in the file path. #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a folder anywhere on your computer called Test.Folder (I did this on 
the C drive just for simplicity)
2. Try to writePictureTo(somePicObject, "C:\\Test.Folder\\mypic.jpg")
3. A file will be written to the Test.Folder directory, but it will be 0KB and 
cannot be opened (just an empty file with a name...no picture data).  
4. Note that I can makePictures from files that are in Test.Folder.

What is the expected output? What do you see instead?
I see an "empty" file with no picture information.

What version of the product are you using? On what operating system?

Currently Windows 7.  Had the same problem with Windows Vista. 

Please provide any additional information below.

We plan on using this in the Intro to Computing and Information Technology here 
at the Academy, but many of our user names are first.last so this has become a 
big issue.

Thanks!

Original issue reported on code.google.com by jason.r....@gmail.com on 23 Aug 2011 at 10:26

GoogleCodeExporter commented 8 years ago
I have a current student with the same problem, it too is a windows 7 machine, 
and he installed using the nojava windows installer, His jre is a 1.6

Original comment by oldham....@gmail.com on 11 Jan 2012 at 5:05

GoogleCodeExporter commented 8 years ago
Actually, *all* my students have this problem as our school puts dots in all 
user names. For the moment I've written a script to save in public and rename...

Original comment by oldham....@gmail.com on 12 Jan 2012 at 6:36