Calls from linux command line not wor... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Calls from linux command line not working. « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Jared Barber (jared_barber)
Member
Username: jared_barber

Post Number: 25
Registered: 01-2007
Posted on Thursday, January 03, 2008 - 04:06 pm:   

Hello,

I have downloaded both Ubuntu 5.10 as well as the most recent edition of Suse. I have tried the command

Documents/FlexPDE5/flexpde5 -r -x Documents/FlexPDE5/samples/moving_mesh/2D_velocity_blob.pde

on both machines. I note I need no dongle nor any license to run this sample problem. I type this in the terminal and press enter. FlexPDE5 opens. In addition, the script file 2D_Velocity_blob.pde is "loaded" so that I can see the text corresponding to that file in the FlexPDE5 window. I then receive the following error message (before any computations are performed):

ERROR

Creating Documents/FlexPDE/samples/moving_mesh/2D_Velocity_blob.dbg: No such file or directory

--- Called from PDE::break_debug
--- Called from ccontrol::runphase
--- Called from ccontrol::control_loop
--- Called from fpdemain
--- Called from MAIN

OK

That is in an error window. After closing this window and closing FlexPDE5, the following information is in the terminal (a similar error is displayed plus a little extra):

From Ubuntu:

Qt: Cannot set locale modifiers: (null)
Qt Execpath = /home/jbarber/FlexPDE/
QGDict::hashKeyString: Invalid null key
UNCLE: Creating samples/moving_mesh/2D_velocity_blob.dbg
No such file or directory
***TRACEBACK(1019 to 1024)
---CALLED FROM PDE::break_debug
---CALLED FROM ccontrol::runphase
---CALLED FROM ccontrol::control_loop
---CALLED FROM fpdemain
---CALLED FROM MAIN
Runtime Exception(Creating FlexPDE/samples/moving_mesh/2D_velocity_blob.dbg:
No such file or directory) curPDE=0x88f76d8
DEEP=0 INDEX=0
AFTER CONTROL_LOOP, MEMUSED = 278K
FP precision=1.0843e-19

I see no noticeable differences between this printout on Ubuntu and this printout on Suse.

I would like to be able to call this command (and commands like it) from the command line. What am I doing wrong/what is going wrong?

Thanks for any help.

Jared
Top of pagePrevious messageNext messageBottom of page Link to this message

Marek Nelson (mgnelson)
Moderator
Username: mgnelson

Post Number: 17
Registered: 07-2007
Posted on Friday, January 04, 2008 - 01:46 pm:   

This sounds like a permissions issue or a file path issue. FlexPDE thinks that it cannot create the debug (.dbg) file. Check the permissions on the directories in the path to make sure you have write permission.

Also, I see some inconsistencies in the report of the paths. Your command line path has FlexPDE5 in it, but the error dialog and the terminal window reports say FlexPDE in the path.

You could try navigating to the folder with the script file, then you would only need the full path for the executable and the local name of the script file.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration