View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000558 | ascend | pygtk gui | public | 2012-07-01 05:56 | 2013-02-26 13:39 |
Reporter | john | ||||
Assigned To | sreenatha | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 12.04 LTS |
Product Version | 0.9.8 | ||||
Target Version | 0.9.9 | Fixed in Version | 0.9.9 | ||
Summary | 0000558: commandline use 'pygtk/asdev /tmp' causes crash from parser | ||||
Description | ASCEND needs to check that an ordinary file is being requested, and not pass a directory name to the parser, since it currently causes a crash. Otherwise, the return of error messages from the parser needs to be checked. | ||||
Steps To Reproduce | john@novo:~/ascend-branches/sreenatha$ pygtk/ascdev models/johnpye/ | ||||
Additional Information | PYTHON: SETTING UP SOLVER HOOKS PYTHON SOLVER HOOKS ascend/compiler/module.c:1008 (ModuleSearchPath): File 'models/johnpye/' opened directly, without path search Note: Module (null)<0>: Module for 'models/johnpye/' created OK. ascxx/library.cpp:117 (load): Beginning parse of (null)<0> input in flex scanner failed john@novo:~/ascend-branches/sreenatha$ | ||||
Tags | No tags attached. | ||||
|
This looks like it's working, but is there any way to stop ASCEND from attempting to load the GUI before checking whether or not the file exists? |
|
It is possible to stop the modules/GUI (that are responsible for option parsing) from loading in the specific case of a single incorrect command line argument. However, if we generalize it to the case of any number of arguments, no option parsing would be done. Without option parsing, we can't be sure whether the given path is an incorrect file address or a correct assets-directory address. |
|
Fixed in changeset 4441 |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-01 05:56 | john | New Issue | |
2012-08-06 09:12 | john | Assigned To | => sreenatha |
2012-08-06 09:12 | john | Status | new => assigned |
2012-08-07 05:57 | svn | ||
2012-08-07 15:11 | svn | ||
2012-08-07 15:13 | sreenatha | File Added: patch | |
2012-08-09 05:20 | sreenatha | File Deleted: patch | |
2012-08-09 05:49 | svn | ||
2012-08-09 09:21 | john | Note Added: 0000891 | |
2012-08-17 02:11 | svn | ||
2012-08-17 02:59 | sreenatha | Note Added: 0000908 | |
2012-08-17 03:02 | sreenatha | Note Edited: 0000908 | View Revisions |
2013-02-26 13:24 | john | Note Added: 0000951 | |
2013-02-26 13:24 | john | Status | assigned => resolved |
2013-02-26 13:24 | john | Resolution | open => fixed |
2013-02-26 13:26 | john | Fixed in Version | => 0.9.9 |
2013-02-26 13:39 | john | Target Version | 1.0 => 0.9.9 |