gatech-csl / jes

The Jython Environment for Students allows students to write Jython programs that can manipulate pictures, sounds, and videos.
http://mediacomputation.org/
59 stars 38 forks source link

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

Open leafstorm opened 10 years ago

leafstorm commented 10 years ago

From jason.r....@gmail.com on August 23, 2011 18:26:56

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)

  1. Try to writePictureTo(somePicObject, "C:\Test.Folder\mypic.jpg")
  2. 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).
  3. 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: http://code.google.com/p/mediacomp-jes/issues/detail?id=50

leafstorm commented 10 years ago

From oldham....@gmail.com on January 11, 2012 09:05:40

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

leafstorm commented 10 years ago

From oldham....@gmail.com on January 12, 2012 10:36:26

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...