EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in.
From: Andrew Johnson <[email protected]>
To: Mark Rivers <[email protected]>, "'Heinz P. Junkes'" <[email protected]>, "[email protected] ([email protected])" <[email protected]>
Date: Fri, 9 Jan 2015 11:43:49 -0600
Hi Mark,

On 01/09/2015 10:16 AM, Mark Rivers wrote:
> 
> Creating dbd file simDetectorApp.dbd
> perl -CSD /corvette/usr/local/epics/base-3.15.0/bin/linux-x86_64/dbdExpand.pl  -I. -I.. -I../O.Common -I../../../dbd -I/corvette/usr/local/epics/base-3.15.0/dbd -I/corvette/home/epics/devel-3.15/asyn-4-25/dbd -I/corvette/home/epics/devel-3.15/areaDetector-2-1/ADCore/dbd -I/corvette/home/epics/devel-3.15/calc-3-4-1/dbd -I/corvette/home/epics/devel-3.15/busy-1-6/dbd -I/corvette/home/epics/devel-3.15/sscan-2-10/dbd -I/corvette/home/epics/devel-3.15/autosave-5-4-2/dbd -o simDetectorApp.dbd simDetectorSupport.dbd commonDriverSupport.dbd
> dbdExpand.pl: Leaving context "file '/corvette/home/epics/devel-3.15/areaDetector-2-1/ADCore/dbd/commonDriverSupport.dbd'", found "file '/corvette/home/epics/devel-3.15/areaDetector-2-1/ADCore/dbd/NDPluginSupport.dbd'" instead.
>                 Braces must be closed in the same file they open in.
> Context: file '/corvette/home/epics/devel-3.15/areaDetector-2-1/ADCore/dbd/commonDriverSupport.dbd'
>   while reading 'commonDriverSupport.dbd' to create 'simDetectorApp.dbd'
> dbdExpand.pl: Exiting due to errors
> make[3]: *** [../O.Common/simDetectorApp.dbd] Error 255
> 
> 
> Andrew, I don't see any braces in ADCore/ADApp/commonDriverMakefile.  Can you tell me what is causing this error in 3.15, while it builds OK in 3.14.12.4?

This has nothing to do with the content of the Makefile, the error is
being reported by the dbdExpand.pl script while it's trying to create
the simDetectorApp.dbd file. I'm not sure what the problem is yet
because I don't have full build of ADCore with all the synApps modules.
It's not necessarily a mismatched brace as the error suggests, that was
just a common cause for the mismatched internal context which is being
reported.

>> Creating dbd file simDetectorApp.dbd
>> perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/dbdExpand.pl  -I. -I.. -I../O.Common -I../../../dbd -I/home/h1/EPICS/base/dbd -I/home/h1/EPICS/support/asyn4-25/dbd -I/home/h1/EPICS/support/areaDetector/ADCore/dbd -I/home/h1/EPICS/support/calc-3-4/dbd -I/home/h1/EPICS/support/busy-1-6-1/dbd -I/home/h1/EPICS/support/sscan-2-10/dbd -I/home/h1/EPICS/support/autosave-5-5/dbd -o simDetectorApp.dbd simDetectorSupport.dbd commonDriverSupport.dbd
>> dbdExpand.pl: Leaving context "file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'", found "file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/NDPluginSupport.dbd'" instead.
>> 		Braces must be closed in the same file they open in.
>> Context: file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'
>>    while reading 'commonDriverSupport.dbd' to create 'simDetectorApp.dbd'
>> dbdExpand.pl: Exiting due to errors

The command is being asked to read in the files simDetectorSupport.dbd
and commonDriverSupport.dbd and to output the fully-expanded result into
the file simDetectorApp.dbd. It is somehow getting confused while doing
that, which is a little strange but the parser does try to keep careful
track of and check its current state.

There are dome debug variables in the Perl code which should help me
track down the problem, but I may not going to be able to get to this
until the end of next week, I'll be away on travel until Thursday.

Heinz: The quickest way for you to continue would be to switch to using
Base-3.14.12.4 (or an earlier 3.14.12 release) instead of 3.15.1, would
that be a possibility? Base-3.15.1 is still fairly new and a lot of
modules have not been built against it yet, so you should be prepared
for a few problems like this if you do need to use it.

- Andrew
-- 
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling

Replies:
RE: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Mooney, Tim M.
References:
areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz Junkes
RE: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Mark Rivers
Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz P. Junkes
RE: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Mark Rivers

Navigate by Date:
Prev: sequencer release 2.1.8 Benjamin Franksen
Next: RE: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Mark Rivers
Next: RE: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·