Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run programs due to makePicture in the program area. #95

Open
Lebrohnski opened this issue Mar 20, 2016 · 2 comments
Open

Unable to run programs due to makePicture in the program area. #95

Lebrohnski opened this issue Mar 20, 2016 · 2 comments

Comments

@Lebrohnski
Copy link

I'm new to JES so maybe it is me, however, every time I try to run my program no matter what the program is doing I cannot get past making my file into a picture using makePicture. The command area always says "The error value is: Inappropriate argument value (of correct type). An error occurred attempting to pass an argument to a function."
It is getting really frustrating, as I cannot test to see if my program works or not.
The version information is:
JES version 5.020
Release date: May 11, 2015
Source control: Git commit 56b6799 (Mon, 11 May 2015 16:01:16 -0400)
Java version: 1.7.0_60 (Java(TM) SE Runtime Environment/Java HotSpot(TM) Client VM)
Jython version: 2.5.3 (build 2.5:c56500f08d34+, Aug 13 2012, 14:48:36)
Computer OS: Windows 8.1 (x86 architecture)

Regards,
Lebrohnski

@mjguzdial
Copy link
Contributor

I'd need to see your code to see what's going on.

Have you tried a simple

show(makePicture(pickaFile()))

and make sure you pick a JPEG or GIF or PNG file? If that works, then JES is working fine on your computer. It may be in your code.

  • Mark

From: Lebrohnski notifications@github.com
Sent: Sunday, March 20, 2016 9:39 AM
To: gatech-csl/jes
Subject: [jes] Unable to run programs due to makePicture in the program area. (#95)

I'm new to JES so maybe it is me, however, every time I try to run my program no matter what the program is doing I cannot get past making my file into a picture using makePicture. The command area always says "The error value is: Inappropriate argument value (of correct type). An error occurred attempting to pass an argument to a function."
It is getting really frustrating, as I cannot test to see if my program works or not.
The version information is:
JES version 5.020
Release date: May 11, 2015
Source control: Git commit 56b679956b6799 (Mon, 11 May 2015 16:01:16 -0400)
Java version: 1.7.0_60 (Java(TM) SE Runtime Environment/Java HotSpot(TM) Client VM)
Jython version: 2.5.3 (build 2.5:c56500f08d34+, Aug 13 2012, 14:48:36)
Computer OS: Windows 8.1 (x86 architecture)

Regards,
Lebrohnski

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/95

@jasalazar
Copy link

jasalazar commented Jan 11, 2018

I'm having a similar issue in Linux Mint 17.3 Cinnamon. Whenever I call the function "pickAFile()" it doesn't either print "You just picked a file" or go any further. But whenever I compile it in Windows 8, it works perfectly.

My code:

def demo():
printNow( "You are going to pick a picture now." )
myfile = pickAFile()
printNow( "You just picked a file." )
mypic = makePicture( myfile )
showInformation( "Ready to show picture!" )
show( mypic )

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants