Re: Python Error while building

vishwanath murthy <[email protected]>
Newsgroups gmane.comp.multimedia.helix.devel
Message-ID <[email protected]>
Thanks Greg ..

The second error  i.e.

 Build System Error: Two or more modules have id="common" in the bif file.

shows up even before i specify  target/branch/profile so i think it is
because of the first one.

On Wed, Mar 25, 2009 at 12:57 PM, Greg Wright <[email protected]> wrote:
> there was a duplicate entry in the BIF file. I have sent out a CR
> to fix it. Should be checked in before too long. Just keep an eye
> out for a CN email from me. You can look at the CR email I just sent
> out to apply a local patch if you want, so you don't have to wait
> for me to check it in.
>
> This fixes the below error of:
>
>> Two or more modules have id="datatype_group_payload_packetizer" in the bif
>> file.
>
>
> I also see:
>
>> Build System Error: Two or more modules have id="common" in the bif file.
>
> but I think that is just a result of the first error. Can you verify
> what target/branch/profile you are building so I can make sure that
> that 'common' error is not a real error?
>
> --greg.
>
>
>
> vishwanath murthy wrote:
>>
>> Hi,
>>
>>  I am encountering exceptions raised by Python while building Helix
>> Client.
>>  Could this due to the version of Python i.e .2.5.2 that i am using.
>>
>> ===========================================================================
>>  /home/vishym/source/build/lib/bif.py:235: DeprecationWarning:
>> raising a string exception is deprecated
>>  raise err.error, e
>> WARNING: this bif file fails to parse with new BIF parser
>> Two or more modules have id="datatype_group_payload_packetizer" in the bif
>> file.
>> /usr/lib/python2.5/xmllib.py:9: DeprecationWarning: The xmllib module
>> is obsolete.  Use xml.sax instead.
>>  warnings.warn("The xmllib module is obsolete.  Use xml.sax
>> instead.", DeprecationWarning)
>> [WARNING] bif
>> parser(/home/vishym/source/build/bif-cvs/helix/common/build/BIF/helix.bif:3):
>> This BIF file lacks an expiration date, using 2005-01-01
>> [#-00000069][2009-03-25 10:46:20][-1209931584][ERROR] : --- Build
>> System Error ------------------------------------
>> You have found a Ribosome bug.
>> -----------------------------------------------------------
>> --- Python Traceback --------------------------------------
>> ------------------------------------
>> Traceback (most recent call last):
>>  File "/home/vishym/source/build/bin/launcher.py", line 117, in __runTool
>>    tool.run()
>>  File "/home/vishym/source/build/lib/build_exe.py", line 899, in run
>>    ShellToolApp().main()
>>  File "/home/vishym/source/build/lib/build_exe.py", line 336, in __init__
>>    bif_data = self.GetBIF()
>>  File "/home/vishym/source/build/lib/build_exe.py", line 628, in GetBIF
>>    bif.load_bif_data(filename, self.branch_list) )
>>  File "/home/vishym/source/build/lib/bif.py", line 167, in load_bif_data
>>    bif_data = load_bif(filename, branchlist, shadow)
>>  File "/home/vishym/source/build/lib/bif.py", line 121, in load_bif
>>    BIFParser(filename, bif_data, branchlist)
>>  File "/home/vishym/source/build/lib/bif.py", line 991, in __init__
>>    BIFParserFunctions.__init__(self, filename, bif_data, branchlist)
>>  File "/home/vishym/source/build/lib/bif.py", line 362, in __init__
>>    self.parse_bif(filename)
>>  File "/home/vishym/source/build/lib/bif.py", line 397, in parse_bif
>>    self.feed(line)
>>  File "/usr/lib/python2.5/xmllib.py", line 171, in feed
>>    self.goahead(0)
>>  File "/usr/lib/python2.5/xmllib.py", line 287, in goahead
>>    k = self.parse_endtag(i)
>>  File "/usr/lib/python2.5/xmllib.py", line 697, in parse_endtag
>>    self.finish_endtag(tag)
>>  File "/usr/lib/python2.5/xmllib.py", line 730, in finish_endtag
>>    self.handle_endtag(nstag, method)
>>  File "/usr/lib/python2.5/xmllib.py", line 751, in handle_endtag
>>    method()
>>  File "/home/vishym/source/build/lib/bif.py", line 839, in end_module
>>    self.bif_data.add_module(self.module)
>>  File "/home/vishym/source/build/lib/bif.py", line 235, in add_module
>>    raise err.error, e
>> Build System Error: Two or more modules have id="common" in the bif file.
>> -----------------------------------------------------------
>>
>> /home/vishym/source/build/bin/launcher.py:131: DeprecationWarning:
>> raising a string exception is deprecated
>>  raise
>> Traceback (most recent call last):
>>  File "/home/vishym/source/build/bin/build.py", line 67, in <module>
>>    tool.run()
>>  File "/home/vishym/source/build/bin/launcher.py", line 97, in run
>>    self.__runTool()
>>  File "/home/vishym/source/build/bin/launcher.py", line 117, in __runTool
>>    tool.run()
>>  File "/home/vishym/source/build/lib/build_exe.py", line 899, in run
>>    ShellToolApp().main()
>>  File "/home/vishym/source/build/lib/build_exe.py", line 336, in __init__
>>    bif_data = self.GetBIF()
>>  File "/home/vishym/source/build/lib/build_exe.py", line 628, in GetBIF
>>    bif.load_bif_data(filename, self.branch_list) )
>>  File "/home/vishym/source/build/lib/bif.py", line 167, in load_bif_data
>>    bif_data = load_bif(filename, branchlist, shadow)
>>  File "/home/vishym/source/build/lib/bif.py", line 121, in load_bif
>>    BIFParser(filename, bif_data, branchlist)
>>  File "/home/vishym/source/build/lib/bif.py", line 991, in __init__
>>    BIFParserFunctions.__init__(self, filename, bif_data, branchlist)
>>  File "/home/vishym/source/build/lib/bif.py", line 362, in __init__
>>    self.parse_bif(filename)
>>  File "/home/vishym/source/build/lib/bif.py", line 397, in parse_bif
>>    self.feed(line)
>>  File "/usr/lib/python2.5/xmllib.py", line 171, in feed
>>    self.goahead(0)
>>  File "/usr/lib/python2.5/xmllib.py", line 287, in goahead
>>    k = self.parse_endtag(i)
>>  File "/usr/lib/python2.5/xmllib.py", line 697, in parse_endtag
>>    self.finish_endtag(tag)
>>  File "/usr/lib/python2.5/xmllib.py", line 730, in finish_endtag
>>    self.handle_endtag(nstag, method)
>>  File "/usr/lib/python2.5/xmllib.py", line 751, in handle_endtag
>>    method()
>>  File "/home/vishym/source/build/lib/bif.py", line 839, in end_module
>>    self.bif_data.add_module(self.module)
>>  File "/home/vishym/source/build/lib/bif.py", line 235, in add_module
>>    raise err.error, e
>> Build System Error: Two or more modules have id="common" in the bif file.
>>
>>
>> ===========================================================================
>>
>>
>> Regards,
>> Vishy
>>
>> _______________________________________________
>> Helix-client-dev mailing list
>> [email protected]
>> http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev
>>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.