[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10292 - in gnuradio/trunk/grc: . data/platforms/pytho
From: |
jblum |
Subject: |
[Commit-gnuradio] r10292 - in gnuradio/trunk/grc: . data/platforms/python src/gui |
Date: |
Thu, 22 Jan 2009 17:11:32 -0700 (MST) |
Author: jblum
Date: 2009-01-22 17:11:30 -0700 (Thu, 22 Jan 2009)
New Revision: 10292
Modified:
gnuradio/trunk/grc/data/platforms/python/flow_graph.tmpl
gnuradio/trunk/grc/src/gui/Messages.py
gnuradio/trunk/grc/src/gui/NotebookPage.py
gnuradio/trunk/grc/todo.txt
Log:
test case of file DNE
Modified: gnuradio/trunk/grc/data/platforms/python/flow_graph.tmpl
===================================================================
--- gnuradio/trunk/grc/data/platforms/python/flow_graph.tmpl 2009-01-22
18:29:24 UTC (rev 10291)
+++ gnuradio/trunk/grc/data/platforms/python/flow_graph.tmpl 2009-01-23
00:11:30 UTC (rev 10292)
@@ -183,8 +183,9 @@
#if $parameters
parser = OptionParser()
#for $param in $parameters
- #if $param.get_param('type').get_value()
- parser.add_option("--$param.get_id()", dest="$param.get_id()",
type="$param.get_param('type').get_value()", default=$param.get_make())
+ #set $type = $param.get_param('type').get_value()
+ #if $type
+ parser.add_option("--$param.get_id()", dest="$param.get_id()",
type="$type", default=$param.get_make())
#silent
$args.append('%s=options.%s'%($param.get_id(), $param.get_id()))
#end if
#end for
Modified: gnuradio/trunk/grc/src/gui/Messages.py
===================================================================
--- gnuradio/trunk/grc/src/gui/Messages.py 2009-01-22 18:29:24 UTC (rev
10291)
+++ gnuradio/trunk/grc/src/gui/Messages.py 2009-01-23 00:11:30 UTC (rev
10292)
@@ -59,11 +59,11 @@
traceback.print_exc()
def send_end_load():
- send(">>> Done\n")
+ send('>>> Done\n')
def send_fail_load(error):
- send('Parser Error: %s\n'%error)
- send(">>> Failue\n")
+ send('Error: %s\n'%error)
+ send('>>> Failue\n')
traceback.print_exc()
################# functions for generating flow graphs
########################################
@@ -72,7 +72,7 @@
def send_fail_gen(error):
send('Generate Error: %s\n'%error)
- send(">>> Failue\n")
+ send('>>> Failue\n')
traceback.print_exc()
################# functions for executing flow graphs
########################################
@@ -83,7 +83,7 @@
send(verbose)
def send_end_exec():
- send("\n>>> Done\n")
+ send('\n>>> Done\n')
################# functions for saving flow graphs
########################################
def send_fail_save(file_path):
Modified: gnuradio/trunk/grc/src/gui/NotebookPage.py
===================================================================
--- gnuradio/trunk/grc/src/gui/NotebookPage.py 2009-01-22 18:29:24 UTC (rev
10291)
+++ gnuradio/trunk/grc/src/gui/NotebookPage.py 2009-01-23 00:11:30 UTC (rev
10292)
@@ -45,6 +45,7 @@
self.main_window = main_window
self.set_file_path(file_path)
file_path = file_path or
flow_graph.get_parent().get_default_flow_graph()
+ open(file_path, 'r') #test open
############################################################
from .. utils import converter
converter.convert(file_path, flow_graph.get_parent())
Modified: gnuradio/trunk/grc/todo.txt
===================================================================
--- gnuradio/trunk/grc/todo.txt 2009-01-22 18:29:24 UTC (rev 10291)
+++ gnuradio/trunk/grc/todo.txt 2009-01-23 00:11:30 UTC (rev 10292)
@@ -32,7 +32,6 @@
-special connection validation rules for disabled blocks
-threads dont die on exit in probe and variable sink
-overloaded gui classes for each platform, move param input objects into
overloaded
--proper error handling when file DNE -> currently dtd check fails first
##################################################
# External
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10292 - in gnuradio/trunk/grc: . data/platforms/python src/gui,
jblum <=