Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2011

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] rc in jython class

  • Subject: Re: [QF-Test] rc in jython class
  • From: Martin Moser <martin.moser@?.de>
  • Date: Wed, 05 Oct 2011 15:07:45 +0200

Hi Charlie,

actually it's better to pass rc as argument to your methods, as you can clearly mark which methods requires the rc.

If you don't want to specify rc as parameter you need to define following code in your Jython modules:

import qfcommon

global rc

rc = qfcommon.globalDict['__rc']

Now you can use rc.

Best Regards,

--On Dienstag, Oktober 04, 2011 11:14:34 -0600 Charlie Olmstead <colmstea@?.com> wrote:

I have a jython class I wrote and have saved in the jython folder.  In
the class I am calling procedures with rc.callProcedure but am getting a
'NameError:  global name 'rc' is not defined' error.  Is rc not
available in imported modules?  Is there a way to pass it to the module?



This electronic communication and any attachments may contain
confidential and proprietary  information of DigitalGlobe, Inc. If you
are not the intended recipient, or an agent or employee  responsible for
delivering this communication to the intended recipient, or if you have
received  this communication in error, please do not print, copy,
retransmit, disseminate or  otherwise use the information. Please
indicate to the sender that you have received this  communication in
error, and delete the copy you received. DigitalGlobe reserves the  right
to monitor any electronic communication sent or received by its
employees, agents  or representatives.

Martin Moser                           martin.moser@?.de
Quality First Software GmbH            http://www.qfs.de
Tulpenstr. 41                          Tel: +49 8171 38648-14
DE-82538 Geretsried                    Fax: +49 8171 38648-16
GF: Gregor Schmid, Karlheinz Kellerer  HRB München 14083

Videos Downloads Documentation Buy Free Trial