[Scons-dev] Problem using doc toolchain?
William Blevins
wblevins001 at gmail.com
Fri Jul 31 00:14:58 EDT 2015
Spoke too soon, but it wasn't at 2%:
61.84% (128/207) separate_duplicate0
> Traceback (most recent call last):
> File "bin/docs-create-example-outputs.py", line 19, in <module>
> SConsExamples.createAllExampleOutputs(os.path.join('doc','user'))
> File "/home/wblevins/BitBucket/scons_cl/bin/SConsExamples.py", line 311,
> in createAllExampleOutputs
> create_scons_output(value)
> File "/home/wblevins/BitBucket/scons_cl/bin/SConsExamples.py", line 869,
> in create_scons_output
> lines = ExecuteCommand(args, c, t, {'osname':o.os, 'tools':o.tools})
> File "/home/wblevins/BitBucket/scons_cl/bin/SConsExamples.py", line 762,
> in ExecuteCommand
> return func(args[1:], c, t, dict)
> File "/home/wblevins/BitBucket/scons_cl/bin/SConsExamples.py", line 741,
> in command_ls
> l.extend(ls(test.workpath('WORK', a)))
> File "/home/wblevins/BitBucket/scons_cl/bin/SConsExamples.py", line 737,
> in ls
> return [' '.join(sorted([x for x in os.listdir(a) if x[0] != '.']))]
> OSError: [Errno 2] No such file or directory:
> '/tmp/testcmd.26987.ZtxL3v/WORK/build'
>
On Fri, Jul 31, 2015 at 12:14 AM, William Blevins <wblevins001 at gmail.com>
wrote:
> And "bin/docs-create-example-outputs.py" stopped crashing ~!
>
>
> On Fri, Jul 31, 2015 at 12:12 AM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>> Some of the generation order is different, but it looks equivalent.
>>
>> The generation was also lightning fast compared to lxml.
>>
>> :)
>>
>> On Fri, Jul 31, 2015 at 12:11 AM, William Blevins <wblevins001 at gmail.com>
>> wrote:
>>
>>> Oh!!! I think that did goodness. Maybe we need to update the tool to
>>> complain about using deprecated lxml.
>>>
>>> Here is a new diff blurb:
>>>
>>>> diff -r eba2d423ec1b doc/generated/tools.gen
>>>> --- a/doc/generated/tools.gen Mon Jun 29 16:12:02 2015 -0400
>>>> +++ b/doc/generated/tools.gen Mon Jun 29 22:56:44 2015 -0400
>>>> @@ -772,6 +772,14 @@
>>>> </para>
>>>> <para>Sets: &cv-link-AS;, &cv-link-ASCOM;, &cv-link-ASFLAGS;,
>>>> &cv-link-ASPPCOM;, &cv-link-ASPPFLAGS;.</para><p
>>>> ara>Uses: &cv-link-ASCOMSTR;, &cv-link-ASPPCOMSTR;.</para></listitem>
>>>> </varlistentry>
>>>> + <varlistentry id="t-Packaging">
>>>> + <term>Packaging</term>
>>>> + <listitem>
>>>> +<para xmlns="http://www.scons.org/dbxsd/v1.0">
>>>> +Sets construction variables for the <function xmlns="
>>>> http://www.scons.org/dbxsd/v1.0">Package</function> Builde
>>>> r.
>>>> +</para>
>>>> +</listitem>
>>>> + </varlistentry>
>>>> <varlistentry id="t-packaging">
>>>> <term>packaging</term>
>>>> <listitem>
>>>> @@ -780,14 +788,6 @@
>>>> </para>
>>>> </listitem>
>>>> </varlistentry>
>>>> - <varlistentry id="t-Packaging">
>>>> - <term>Packaging</term>
>>>> - <listitem>
>>>> -<para xmlns="http://www.scons.org/dbxsd/v1.0">
>>>> -Sets construction variables for the <function xmlns="
>>>> http://www.scons.org/dbxsd/v1.0">Package</function> Builde
>>>> r.
>>>> -</para>
>>>> -</listitem>
>>>> - </varlistentry>
>>>> <varlistentry id="t-pdf">
>>>> <term>pdf</term>
>>>> <listitem>
>>>>
>>>
>>>
>>> On Fri, Jul 31, 2015 at 12:08 AM, William Blevins <wblevins001 at gmail.com
>>> > wrote:
>>>
>>>> Apparently, there are also the following packages which are not
>>>> installed:
>>>> libxslt-devel.x86_64
>>>> libxslt-python.x86_64
>>>>
>>>> The python package may be the culprit...
>>>>
>>>> On Thu, Jul 30, 2015 at 11:58 PM, William Blevins <
>>>> wblevins001 at gmail.com> wrote:
>>>>
>>>>> Sorry I meant to include this entry also: libxslt-1.1.28-5.el7.x86_64
>>>>>
>>>>> On Thu, Jul 30, 2015 at 11:55 PM, Bill Deegan <
>>>>> bill at baddogconsulting.com> wrote:
>>>>>
>>>>>> William,
>>>>>>
>>>>>> Do you have libxslt installed?
>>>>>>
>>>>>> -Bill
>>>>>>
>>>>>> On Thu, Jul 30, 2015 at 8:32 PM, William Blevins <
>>>>>> wblevins001 at gmail.com> wrote:
>>>>>>
>>>>>>> Sorry for the delay,
>>>>>>>
>>>>>>> I have these packages installed which cannot be YUM erased because
>>>>>>> YUM itself depends on said packages:
>>>>>>> libxml2-python-2.9.1-5.el7_1.2.x86_64
>>>>>>> libxml2-2.9.1-5.el7_1.2.x86_64
>>>>>>> libxml2-devel-2.9.1-5.el7_1.2.x86_64
>>>>>>> libxml2-static-2.9.1-5.el7_1.2.x86_64
>>>>>>>
>>>>>>> I also have package which I could erase though not without breaking
>>>>>>> some applications (since reinstalled):
>>>>>>> python-lxml-3.2.1-4.el7.x86_64
>>>>>>>
>>>>>>> With lxml uninstalled, I could not run
>>>>>>> "bin/docs-update-generated.py" due to error:
>>>>>>>
>>>>>>>> $ python bin/docs-update-generated.py
>>>>>>>> Traceback (most recent call last):
>>>>>>>> File "bin/docs-update-generated.py", line 11, in <module>
>>>>>>>> import SConsDoc
>>>>>>>> File "/home/wblevins/BitBucket/scons_cl/bin/SConsDoc.py", line
>>>>>>>> 130, in <module>
>>>>>>>> raise ImportError("Failed to import either libxml2/libxslt or
>>>>>>>> lxml")
>>>>>>>> ImportError: Failed to import either libxml2/libxslt or lxml
>>>>>>>>
>>>>>>>
>>>>>>> Is the issue perhaps that the scripts are not finding libxml2 in the
>>>>>>> PYTHONPATH?
>>>>>>>
>>>>>>> V/R,
>>>>>>> William
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Jul 30, 2015 at 11:54 AM, William Blevins <
>>>>>>> wblevins001 at gmail.com> wrote:
>>>>>>>
>>>>>>>> I will check if I have libxslt installed tonight (ETA: ~8hrs). I
>>>>>>>> will try using a single toolchain at a time (if yum/rpm will allow), and
>>>>>>>> see if that makes a difference.
>>>>>>>>
>>>>>>>> V/R,
>>>>>>>> William
>>>>>>>>
>>>>>>>> On Thu, Jul 30, 2015 at 11:36 AM, Bill Deegan <
>>>>>>>> bill at baddogconsulting.com> wrote:
>>>>>>>>
>>>>>>>>> From the code I've looked at if you have libxml2 & libxslt that is
>>>>>>>>> preferred, and then if not it will use lxml.
>>>>>>>>>
>>>>>>>>> -Bill
>>>>>>>>>
>>>>>>>>> On Thu, Jul 30, 2015 at 8:32 AM, William Blevins <
>>>>>>>>> wblevins001 at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> I have both lxml and libxml2 installed. Not sure about the
>>>>>>>>>> other. Which tool takes priority?
>>>>>>>>>> On Jul 30, 2015 11:24 AM, "Bill Deegan" <
>>>>>>>>>> bill at baddogconsulting.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Dirk,
>>>>>>>>>>>
>>>>>>>>>>> A thought.
>>>>>>>>>>> Is your system setup with libxml2/libxslt and mine set up with
>>>>>>>>>>> lxml perhaps?
>>>>>>>>>>>
>>>>>>>>>>> -Bill
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Jul 29, 2015 at 10:43 PM, Dirk Bächle <tshortik at gmx.de>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hey guys,
>>>>>>>>>>>>
>>>>>>>>>>>> On 30.07.2015 05:40, Bill Deegan wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Dirk & all,
>>>>>>>>>>>>>
>>>>>>>>>>>>> New output..
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>> please grant me another day to review...sorry, but it's a
>>>>>>>>>>>> different timezone here and I'm a little swamped by some real-life events
>>>>>>>>>>>> and problems at the moment. ;) Nothing serious though, it's all good...
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>
>>>>>>>>>>>> Dirk
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Scons-dev mailing list
>>>>>>>>>>>> Scons-dev at scons.org
>>>>>>>>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Scons-dev mailing list
>>>>>>>>>>> Scons-dev at scons.org
>>>>>>>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Scons-dev mailing list
>>>>>>>>>> Scons-dev at scons.org
>>>>>>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Scons-dev mailing list
>>>>>>>>> Scons-dev at scons.org
>>>>>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Scons-dev mailing list
>>>>>>> Scons-dev at scons.org
>>>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Scons-dev mailing list
>>>>>> Scons-dev at scons.org
>>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150731/a1cb41bc/attachment-0001.html>
More information about the Scons-dev
mailing list