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

pickAFile doesn't seem to be returning anything #112

Open pacutter opened 6 years ago

pacutter commented 6 years ago

I have a student running the latest version of JES and the pickAFile function doesn't seem to be returning anything. Any ideas what we should look at/try?

mjguzdial commented 6 years ago

I've never seen that. What version of which operating system? Have you tried picking a file that is definitely in the student's writable space? I'm thinking about the problems of directories that the student doesn't have read-access to, or directories that are mounted via the network.


From: pacutter notifications@github.com Sent: Wednesday, April 4, 2018 2:24:34 PM To: gatech-csl/jes Cc: Subscribed Subject: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

I have a student running the latest version of JES and the pickAFile function doesn't seem to be returning anything. Any ideas what we should look at/try?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELfpvvKSFB2jV1N6rYfBEy3kB4YyqsKks5tlQ_igaJpZM4THRnO.

pacutter commented 6 years ago

Hi Mark, I’ve never seen it before either. He’s running Windows 10 and downloaded jes-5.020-windows-java-included.zip. We tried going back and downloading JES 4.3, but that would close as soon as he tried to open it. We tried hard coding a file path to see if that would work, but we ran out of class time and I don’t think he had the path right. There were some Chinese characters in the username part of the path. Maybe it does have something to do with permissions on his directories. pickAFile would open the file picker window just fine, but then didn’t return anything. I will look into that more the next time I see him.

Thanks, Pam

From: mjguzdial notifications@github.com Reply-To: gatech-csl/jes reply@reply.github.com Date: Wednesday, April 4, 2018 at 4:28 PM To: gatech-csl/jes jes@noreply.github.com Cc: Pam Cutter Pam.Cutter@kzoo.edu, Author author@noreply.github.com Subject: Re: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

I've never seen that. What version of which operating system? Have you tried picking a file that is definitely in the student's writable space? I'm thinking about the problems of directories that the student doesn't have read-access to, or directories that are mounted via the network.


From: pacutter notifications@github.com Sent: Wednesday, April 4, 2018 2:24:34 PM To: gatech-csl/jes Cc: Subscribed Subject: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

I have a student running the latest version of JES and the pickAFile function doesn't seem to be returning anything. Any ideas what we should look at/try?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELfpvvKSFB2jV1N6rYfBEy3kB4YyqsKks5tlQ_igaJpZM4THRnO.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112#issuecomment-378734508, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkR_wh66cqjfMP_VWtqT6CgkGNHM5D5Yks5tlSz9gaJpZM4THRnO.

mjguzdial commented 6 years ago

Jython can choke on unicode. I wonder if that's what's going on.


From: pacutter notifications@github.com Sent: Wednesday, April 4, 2018 7:00:11 PM To: gatech-csl/jes Cc: Guzdial, Mark; Comment Subject: Re: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

Hi Mark, I’ve never seen it before either. He’s running Windows 10 and downloaded jes-5.020-windows-java-included.zip. We tried going back and downloading JES 4.3, but that would close as soon as he tried to open it. We tried hard coding a file path to see if that would work, but we ran out of class time and I don’t think he had the path right. There were some Chinese characters in the username part of the path. Maybe it does have something to do with permissions on his directories. pickAFile would open the file picker window just fine, but then didn’t return anything. I will look into that more the next time I see him.

Thanks, Pam

From: mjguzdial notifications@github.com Reply-To: gatech-csl/jes reply@reply.github.com Date: Wednesday, April 4, 2018 at 4:28 PM To: gatech-csl/jes jes@noreply.github.com Cc: Pam Cutter Pam.Cutter@kzoo.edu, Author author@noreply.github.com Subject: Re: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

I've never seen that. What version of which operating system? Have you tried picking a file that is definitely in the student's writable space? I'm thinking about the problems of directories that the student doesn't have read-access to, or directories that are mounted via the network.


From: pacutter notifications@github.com Sent: Wednesday, April 4, 2018 2:24:34 PM To: gatech-csl/jes Cc: Subscribed Subject: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

I have a student running the latest version of JES and the pickAFile function doesn't seem to be returning anything. Any ideas what we should look at/try?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELfpvvKSFB2jV1N6rYfBEy3kB4YyqsKks5tlQ_igaJpZM4THRnO.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112#issuecomment-378734508, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkR_wh66cqjfMP_VWtqT6CgkGNHM5D5Yks5tlSz9gaJpZM4THRnO.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112#issuecomment-378771328, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELfplpBbx7Oh1Q2QUsqS_STL7DSklN6ks5tlVB7gaJpZM4THRnO.

pacutter commented 6 years ago

Yes, that was it. The student created a new user name (with no Japanese characters) on his laptop and then he was able to get the pickAFile function to work just fine. Thanks for thinking of that!

Pam

From: mjguzdial notifications@github.com Reply-To: gatech-csl/jes reply@reply.github.com Date: Wednesday, April 4, 2018 at 7:03 PM To: gatech-csl/jes jes@noreply.github.com Cc: Pam Cutter Pam.Cutter@kzoo.edu, Author author@noreply.github.com Subject: Re: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

Jython can choke on unicode. I wonder if that's what's going on.


From: pacutter notifications@github.com Sent: Wednesday, April 4, 2018 7:00:11 PM To: gatech-csl/jes Cc: Guzdial, Mark; Comment Subject: Re: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

Hi Mark, I’ve never seen it before either. He’s running Windows 10 and downloaded jes-5.020-windows-java-included.zip. We tried going back and downloading JES 4.3, but that would close as soon as he tried to open it. We tried hard coding a file path to see if that would work, but we ran out of class time and I don’t think he had the path right. There were some Chinese characters in the username part of the path. Maybe it does have something to do with permissions on his directories. pickAFile would open the file picker window just fine, but then didn’t return anything. I will look into that more the next time I see him.

Thanks, Pam

From: mjguzdial notifications@github.com Reply-To: gatech-csl/jes reply@reply.github.com Date: Wednesday, April 4, 2018 at 4:28 PM To: gatech-csl/jes jes@noreply.github.com Cc: Pam Cutter Pam.Cutter@kzoo.edu, Author author@noreply.github.com Subject: Re: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

I've never seen that. What version of which operating system? Have you tried picking a file that is definitely in the student's writable space? I'm thinking about the problems of directories that the student doesn't have read-access to, or directories that are mounted via the network.


From: pacutter notifications@github.com Sent: Wednesday, April 4, 2018 2:24:34 PM To: gatech-csl/jes Cc: Subscribed Subject: [gatech-csl/jes] pickAFile doesn't seem to be returning anything (#112)

I have a student running the latest version of JES and the pickAFile function doesn't seem to be returning anything. Any ideas what we should look at/try?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELfpvvKSFB2jV1N6rYfBEy3kB4YyqsKks5tlQ_igaJpZM4THRnO.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112#issuecomment-378734508, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkR_wh66cqjfMP_VWtqT6CgkGNHM5D5Yks5tlSz9gaJpZM4THRnO.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112#issuecomment-378771328, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELfplpBbx7Oh1Q2QUsqS_STL7DSklN6ks5tlVB7gaJpZM4THRnO.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/112#issuecomment-378772105, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkR_wgjbbaV_N5EMPrlxD2hauam50xA4ks5tlVFYgaJpZM4THRnO.