Command for wxpython GUI Error

Asked By 0 points N/A Posted on -
qa-featured

Hello

I am using Windows Vista. I have recently started using wxPython as a wrapper for the cross platform GUI.

When I try to run a command for wxPython GUI it runs successfully but when I try to run it in the command console by copy pasting it, it fails.

It results in the following error:

 

The complete error is:

Traceback (most recent call last): File "C:GRASS64GRASS 6.4.2etcwxpythongui_modulesprompt.py", line 1105, in OnKeyPressed self.parent.RunCmd(cmd) File "C:GRASS64GRASS 6.4.2etcwxpythongui_modulesgoutput.py", line 523, in RunCmd task = menuform.GUI(show = None).ParseCommand(command) File "C:GRASS64GRASS 6.4.2etcwxpythongui_modulesmenuform.py", line 1766, in ParseCommand raise gcmd.GException, _("Unable to parse command '%s'") % ' '.join(cmd) gui_modules.gcmd . GException : Unable to parse command 'r.in.arc input=G:DataGIS projectsGRASSdataEmmentalPERMANENTsrtm.txt output=srtm8'

The command is r.in.arc which is also found in the menu File/Import raster…/ESRI ASCII grid import.

The only way I can make the command line work is to put the file in the username folder but actually I want to be able to work with the command line interface and chose the location and path of this input file accordingly.

Can anyone please help me in fixing the error? I'll be really thankful.

Regards

Pam

SHARE
Best Answer by Sharath Reddy
Answered By 0 points N/A #138085

Command for wxpython GUI Error

qa-featured

You have Windows XP, somehow, some versions of Vista are not compatible with Fiesta and so give that error. If you want you can partition your hard drive and reinstall Windows XP.

Regards

Answered By 5 points N/A #138086

Command for wxpython GUI Error

qa-featured

Hi Jane Jimenez,

Many users are facing this particular problem. But sadly, as it is a problem of IDLE, there is basically no way around to solve it. You can try writing your code in IDLE & then run it with the command line. This technique has worked for many users. I just hope it works for you too.

 

Best Answer
Best Answer
Answered By 590495 points N/A #138087

Command for wxpython GUI Error

qa-featured

 

I thought when you said that you opened the command in the command console, what you mean is you executed the command from the command prompt or the DOS command prompt. Since the command console you are referring to is also from within the software you are using, the reason for getting those errors is probably because you did it or you executed the command not in the proper way.

If the software you are using is still new to you and you are still in the process of learning its different functionalities, the best way to solve this is by reading the software’s Help section. You should also check if its installation includes any PDF file or any other document file that might describe the program’s features and functions. You may also visit the software’s official website to better learn its Frequently Asked Questions or FAQs.

Answered By 10 points N/A #138088

Command for wxpython GUI Error

qa-featured

 

Hi, Jane Jimenz

Looks like that you are using the older version of the program try updating it, if it is the latest then try running it in compatibility mode. I recommend running it in compatibility mode for Windows XP SP2. Because it is supported by almost all of the programs. I hope you find the solution.

Regards,

Peter franklin

 

Related Questions