gatech-csl / jes

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

Bugs in JES ? #87

Open Symbister opened 9 years ago

Symbister commented 9 years ago

WritePictureTo(picture, file) does not work, no matter what syntax I use : writepicturetosnip Return(n) doesn't seem to do anything, and the "cursor-over-help" does nothing for that command using Win XP, JES 5.020 TIA

mjguzdial commented 9 years ago

My guess is that you don't have write privileges from JES in C: on that computer. Try using pickAFile() to find the path to a place where you know you can read/write files, then modify that string to define a new file.

Both of those are working for me:

[cid:84EE9008-4EC4-4A5B-BC4F-3F86F26631A7]

return won't give cursor-over-help because it's a Python built-in. We only provide the cursor-over-help for JES-specific functions.

On May 23, 2015, at 8:15 AM, Symbister notifications@github.com<mailto:notifications@github.com> wrote:

WritePictureTo(picture, file) does not work, no matter what syntax I use : [writepicturetosnip]https://cloud.githubusercontent.com/assets/12572664/7783970/5ef8f262-0198-11e5-8117-5f8be99b86f6.JPG Return(n) doesn't seem to do anything, and the "cursor-over-help" does nothing for that command using Win XP, JES 5.020 TIA

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87.

Symbister commented 9 years ago

Thanks Mark – sorted!

but being the only user of my machine, I thought I’d set read/write privileges globally.

On another issue, I’ve found a couple of inconsistencies in your book (Intro to Comp & Prog in Python), most programs in Chapter 4 have the argument for return not in parantheses, but Program 29 it is - is there a difference?

thanks

Richard

From: mjguzdial [mailto:notifications@github.com] Sent: Saturday, 23 May 2015 10:31 PM To: gatech-csl/jes Cc: Symbister Subject: Re: [jes] Bugs in JES ? (#87)

My guess is that you don't have write privileges from JES in C: on that computer. Try using pickAFile() to find the path to a place where you know you can read/write files, then modify that string to define a new file.

Both of those are working for me:

[cid:84EE9008-4EC4-4A5B-BC4F-3F86F26631A7]

return won't give cursor-over-help because it's a Python built-in. We only provide the cursor-over-help for JES-specific functions.

On May 23, 2015, at 8:15 AM, Symbister notifications@github.com<mailto:notifications@github.com> wrote:

WritePictureTo(picture, file) does not work, no matter what syntax I use : [writepicturetosnip]https://cloud.githubusercontent.com/assets/12572664/7783970/5ef8f262-0198-11e5-8117-5f8be99b86f6.JPG Return(n) doesn't seem to do anything, and the "cursor-over-help" does nothing for that command using Win XP, JES 5.020 TIA

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87.

— Reply to this email directly or view https://github.com/gatech-csl/jes/issues/87#issuecomment-104888622 it on GitHub. https://github.com/notifications/beacon/AL_X-PUs0pRoOt5owXKWRlKUUI_rqEVwks5oMGqMgaJpZM4EmTBc.gif

mjguzdial commented 9 years ago

No, no difference. Just wrote them at a different time and a different style.


Sent from mobile device -- please excuse typos

On May 25, 2015, at 1:48 AM, Symbister notifications@github.com<mailto:notifications@github.com> wrote:

Thanks Mark – sorted!

but being the only user of my machine, I thought I’d set read/write privileges globally.

On another issue, I’ve found a couple of inconsistencies in your book (Intro to Comp & Prog in Python), most programs in Chapter 4 have the argument for return not in parantheses, but Program 29 it is - is there a difference?

thanks

Richard

From: mjguzdial [mailto:notifications@github.com] Sent: Saturday, 23 May 2015 10:31 PM To: gatech-csl/jes Cc: Symbister Subject: Re: [jes] Bugs in JES ? (#87)

My guess is that you don't have write privileges from JES in C: on that computer. Try using pickAFile() to find the path to a place where you know you can read/write files, then modify that string to define a new file.

Both of those are working for me:

[cid:84EE9008-4EC4-4A5B-BC4F-3F86F26631A7]

return won't give cursor-over-help because it's a Python built-in. We only provide the cursor-over-help for JES-specific functions.

On May 23, 2015, at 8:15 AM, Symbister notifications@github.com<mailto:notifications@github.commailto:notifications@github.com> wrote:

WritePictureTo(picture, file) does not work, no matter what syntax I use : [writepicturetosnip]https://cloud.githubusercontent.com/assets/12572664/7783970/5ef8f262-0198-11e5-8117-5f8be99b86f6.JPG Return(n) doesn't seem to do anything, and the "cursor-over-help" does nothing for that command using Win XP, JES 5.020 TIA

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87.

— Reply to this email directly or view https://github.com/gatech-csl/jes/issues/87#issuecomment-104888622 it on GitHub. https://github.com/notifications/beacon/AL_X-PUs0pRoOt5owXKWRlKUUI_rqEVwks5oMGqMgaJpZM4EmTBc.gif

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87#issuecomment-105079985.

Symbister commented 9 years ago

Hi Mark

still going through your book, got to Page 149 (3rd Ed) , tried to download Media Tools as per instructions, got the .image file, dragged to Squeak, nothing happens. Tried running squeak.exe from the directory and opening .image into it – nothing happens.

any ideas?

and now I can’t delete the Squeak folder to try again...have to re-boot L

thanks

Richard

. https://github.com/notifications/beacon/AL_X-ONATt9pcawU1RNDtXs6ON6iRW4mks5oMq_6gaJpZM4EmTBc.gif

mjguzdial commented 9 years ago

No, I don't. Squeak has always been super-robust for me. Did you download Squeak from Squeak.org? The one for your platform? I don't get how Squeak could mess up the folder so that you couldn't delete it.

Hi Mark

still going through your book, got to Page 149 (3rd Ed) , tried to download Media Tools as per instructions, got the .image file, dragged to Squeak, nothing happens. Tried running squeak.exe from the directory and opening .image into it – nothing happens.

any ideas?

and now I can’t delete the Squeak folder to try again...have to re-boot L

thanks

Richard

. https://github.com/notifications/beacon/AL_X-ONATt9pcawU1RNDtXs6ON6iRW4mks5oMq_6gaJpZM4EmTBc.gif

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87#issuecomment-118478656.

Symbister commented 9 years ago

Thanks Mark, yes downloaded Squeak-all-in-one, unzipped on Windows, ran squeak.bat.

I’ve posted on the Discussion Board in my local BlackBoard for the course I’m doing, so hopefully somebody will know..

cheers

From: mjguzdial [mailto:notifications@github.com] Sent: Sunday, 5 July 2015 6:26 AM To: gatech-csl/jes Cc: Symbister Subject: Re: [jes] Bugs in JES ? (#87)

No, I don't. Squeak has always been super-robust for me. Did you download Squeak from Squeak.org? The one for your platform? I don't get how Squeak could mess up the folder so that you couldn't delete it.

Hi Mark

still going through your book, got to Page 149 (3rd Ed) , tried to download Media Tools as per instructions, got the .image file, dragged to Squeak, nothing happens. Tried running squeak.exe from the directory and opening .image into it – nothing happens.

any ideas?

and now I can’t delete the Squeak folder to try again...have to re-boot L

thanks

Richard

. https://github.com/notifications/beacon/AL_X-ONATt9pcawU1RNDtXs6ON6iRW4mks5oMq_6gaJpZM4EmTBc.gif

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87#issuecomment-118478656.

— Reply to this email directly or view https://github.com/gatech-csl/jes/issues/87#issuecomment-118550763 it on GitHub. https://github.com/notifications/beacon/AL_X-PfS4ji5T3VKS9n3THUFUfEFPRRvks5oaDjPgaJpZM4EmTBc.gif

Symbister commented 9 years ago

Ok, tried again, dragged the image file into the Squeak window – and something happened...

but now getting multiple error messages:

plus many many more..

L

From: mjguzdial [mailto:notifications@github.com] Sent: Sunday, 5 July 2015 6:26 AM To: gatech-csl/jes Cc: Symbister Subject: Re: [jes] Bugs in JES ? (#87)

No, I don't. Squeak has always been super-robust for me. Did you download Squeak from Squeak.org? The one for your platform? I don't get how Squeak could mess up the folder so that you couldn't delete it.

Hi Mark

still going through your book, got to Page 149 (3rd Ed) , tried to download Media Tools as per instructions, got the .image file, dragged to Squeak, nothing happens. Tried running squeak.exe from the directory and opening .image into it – nothing happens.

any ideas?

and now I can’t delete the Squeak folder to try again...have to re-boot L

thanks

Richard

. https://github.com/notifications/beacon/AL_X-ONATt9pcawU1RNDtXs6ON6iRW4mks5oMq_6gaJpZM4EmTBc.gif

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87#issuecomment-118478656.

— Reply to this email directly or view https://github.com/gatech-csl/jes/issues/87#issuecomment-118550763 it on GitHub. https://github.com/notifications/beacon/AL_X-PfS4ji5T3VKS9n3THUFUfEFPRRvks5oaDjPgaJpZM4EmTBc.gif

mjguzdial commented 9 years ago

Hard to tell what's going on. You don't have to have the MediaTools for the class. I find them useful for introducing sound (see https://youtu.be/mjwCWGOil1Y), but most teachers don't use them.


Sent from mobile device -- please excuse typos

On Jul 4, 2015, at 9:39 PM, Symbister notifications@github.com<mailto:notifications@github.com> wrote:

Ok, tried again, dragged the image file into the Squeak window – and something happened...

but now getting multiple error messages:

plus many many more..

L

From: mjguzdial [mailto:notifications@github.com] Sent: Sunday, 5 July 2015 6:26 AM To: gatech-csl/jes Cc: Symbister Subject: Re: [jes] Bugs in JES ? (#87)

No, I don't. Squeak has always been super-robust for me. Did you download Squeak from Squeak.orghttp://Squeak.org? The one for your platform? I don't get how Squeak could mess up the folder so that you couldn't delete it.

Hi Mark

still going through your book, got to Page 149 (3rd Ed) , tried to download Media Tools as per instructions, got the .image file, dragged to Squeak, nothing happens. Tried running squeak.exe from the directory and opening .image into it – nothing happens.

any ideas?

and now I can’t delete the Squeak folder to try again...have to re-boot L

thanks

Richard

. https://github.com/notifications/beacon/AL_X-ONATt9pcawU1RNDtXs6ON6iRW4mks5oMq_6gaJpZM4EmTBc.gif

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87#issuecomment-118478656.

— Reply to this email directly or view https://github.com/gatech-csl/jes/issues/87#issuecomment-118550763 it on GitHub. https://github.com/notifications/beacon/AL_X-PfS4ji5T3VKS9n3THUFUfEFPRRvks5oaDjPgaJpZM4EmTBc.gif

— Reply to this email directly or view it on GitHubhttps://github.com/gatech-csl/jes/issues/87#issuecomment-118569926.