sip: HTMLCursor is undefined

I wanted to give Phoenix another try. The command

python build.py 3.2 dox etg --nodoc sip build > build32_2.txt

ends with

sip: HTMLCursor is undefined

The last lines in the log are:

sip_dataviewwxVariantVector.cpp is a new file, copying…

sip_dataviewwxDataViewIconText.cpp is a new file, copying…

sip_dataviewcmodule.cpp is a new file, copying…

sip_dataviewwxDataViewEvent.cpp is a new file, copying…

/home/egon/Entwicklung/build32_140131/Phoenix/bin/sip-4.14.4-linux -w -o -T -g -I /home/egon/Entwicklung/build32_140131/Phoenix/src -I /home/egon/Entwicklung/build32_140131/Phoenix/sip/gen -c /tmp/tmpw3vu2h -b sip/cpp/_richtext.sbf -X pycode_richtext:wx/richtext.py sip/gen/_richtext.sip

Command ‘/home/egon/Entwicklung/build32_140131/Phoenix/bin/sip-4.14.4-linux -w -o -T -g -I /home/egon/Entwicklung/build32_140131/Phoenix/src -I /home/egon/Entwicklung/build32_140131/Phoenix/sip/gen -c /tmp/tmpw3vu2h -b sip/cpp/_richtext.sbf -X pycode_richtext:wx/richtext.py sip/gen/_richtext.sip’ failed with exit code 1.

Finished command: sip (1m18.595s)

(Ubuntu 12.4, downloads today)

Egon

Egon Frerich wrote:

I wanted to give Phoenix another try. The command
python build.py 3.2 dox etg --nodoc sip build > build32_2.txt
ends with
sip: HTMLCursor is undefined
The last lines in the log are:
sip_dataviewwxVariantVector.cpp is a new file, copying...
sip_dataviewwxDataViewIconText.cpp is a new file, copying...
sip_dataviewcmodule.cpp is a new file, copying...
sip_dataviewwxDataViewEvent.cpp is a new file, copying...
/home/egon/Entwicklung/build32_140131/Phoenix/bin/sip-4.14.4-linux -w -o
-T -g -I /home/egon/Entwicklung/build32_140131/Phoenix/src -I
/home/egon/Entwicklung/build32_140131/Phoenix/sip/gen -c /tmp/tmpw3vu2h
-b sip/cpp/_richtext.sbf -X pycode_richtext:wx/richtext.py
sip/gen/_richtext.sip
Command
'/home/egon/Entwicklung/build32_140131/Phoenix/bin/sip-4.14.4-linux -w
-o -T -g -I /home/egon/Entwicklung/build32_140131/Phoenix/src -I
/home/egon/Entwicklung/build32_140131/Phoenix/sip/gen -c /tmp/tmpw3vu2h
-b sip/cpp/_richtext.sbf -X pycode_richtext:wx/richtext.py
sip/gen/_richtext.sip' failed with exit code 1.
Finished command: sip (1m18.595s)
(Ubuntu 12.4, downloads today)

I'm not sure how this could happen. The HTMLCursor enum is defined just before the point it is used in the GetHTMLCursor method in the wx interface file, and the way the sip code is generated it is written to the output at the beginning of the public area. Do you have an older version of the wx code installed that might be being found by accident? If so then perhaps it is missing the HTMLCursor enum.

···

--
Robin Dunn
Software Craftsman