Discussion:
shiboken: Can't find typesystem_core.xml
(too old to reply)
Josh
2010-03-26 18:57:48 UTC
Permalink
Hi All,

Trying to make a binding of my widget using shiboken. Following the
pyside docs for boostpythongenerator with a Makefile modelled on the one
in the docs.

Failing with:

WARNING :: Can't find typesystem_core.xml, typesystem paths: ../data,
~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings
Fatal error: line=3, column=62, message=Failed to parse:
'typesystem_core.xml'


When running shiboken, I set
"--typesystem-paths=~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings"

The typesystem*.xml files are indeed there:

%> ls ~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings
typesystem_core.xml typesystem_gui_mac.xml
typesystem_gui.xml typesystem_opengl.xml typesystem_svg.xml
typesystem_test.xml typesystem_xml.xml
typesystem_gui_common.xml typesystem_gui_x11.xml
typesystem_network.xml typesystem_sql.xml typesystem_templates.xml
typesystem_webkit.xml


Any ideas?


Thanks,

Josh
Josh
2010-03-26 19:00:36 UTC
Permalink
Post by Josh
Hi All,
Trying to make a binding of my widget using shiboken. Following the
pyside docs for boostpythongenerator with a Makefile modelled on the
one in the docs.
WARNING :: Can't find typesystem_core.xml, typesystem paths: ../data,
~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings
'typesystem_core.xml'
When running shiboken, I set
"--typesystem-paths=~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings"
%> ls ~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings
typesystem_core.xml typesystem_gui_mac.xml
typesystem_gui.xml typesystem_opengl.xml
typesystem_svg.xml typesystem_test.xml typesystem_xml.xml
typesystem_gui_common.xml typesystem_gui_x11.xml
typesystem_network.xml typesystem_sql.xml
typesystem_templates.xml typesystem_webkit.xml
Any ideas?
Thanks,
Josh
Apprently shiboken doesn't expand "~" in paths, to be the home
directory. When I replaced it with the full path ( ie /home/josh instead
of ~) it got past the error above.

Josh
Hugo Parente Lima
2010-03-26 20:41:18 UTC
Permalink
Post by Josh
Post by Josh
Hi All,
Trying to make a binding of my widget using shiboken. Following the
pyside docs for boostpythongenerator with a Makefile modelled on the
one in the docs.
WARNING :: Can't find typesystem_core.xml, typesystem paths: ../data,
~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings
'typesystem_core.xml'
When running shiboken, I set
"--typesystem-paths=~/sandbox/videoWidget/targetfs-root/targetfs-base/bin
dings"
%> ls ~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings
typesystem_core.xml typesystem_gui_mac.xml
typesystem_gui.xml typesystem_opengl.xml
typesystem_svg.xml typesystem_test.xml typesystem_xml.xml
typesystem_gui_common.xml typesystem_gui_x11.xml
typesystem_network.xml typesystem_sql.xml
typesystem_templates.xml typesystem_webkit.xml
Any ideas?
Thanks,
Josh
Apprently shiboken doesn't expand "~" in paths, to be the home
directory. When I replaced it with the full path ( ie /home/josh instead
of ~) it got past the error above.
Bug filed.

http://bugs.openbossa.org/show_bug.cgi?id=198
Post by Josh
Josh
_______________________________________________
PySide mailing list
http://lists.openbossa.org/listinfo/pyside
--
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia
Hugo Parente Lima
2010-03-26 19:29:21 UTC
Permalink
Post by Josh
Hi All,
Trying to make a binding of my widget using shiboken. Following the
pyside docs for boostpythongenerator with a Makefile modelled on the one
in the docs.
WARNING :: Can't find typesystem_core.xml, typesystem paths: ../data,
~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings
'typesystem_core.xml'
When running shiboken, I set
"--typesystem-paths=~/sandbox/videoWidget/targetfs-root/targetfs-base/bindi
ngs"
%> ls ~/sandbox/videoWidget/targetfs-root/targetfs-base/bindings
typesystem_core.xml typesystem_gui_mac.xml
typesystem_gui.xml typesystem_opengl.xml typesystem_svg.xml
typesystem_test.xml typesystem_xml.xml
typesystem_gui_common.xml typesystem_gui_x11.xml
typesystem_network.xml typesystem_sql.xml typesystem_templates.xml
typesystem_webkit.xml
Any ideas?
Try to use the full path, without "~".

Anyway you found an isssue that I dont known how to solve. We are not
installing the typesystem files anywhere. What's the better place to install
them? so other developers can find and use it to generate bindings of qt-based
libraries.
Post by Josh
Thanks,
Josh
_______________________________________________
PySide mailing list
http://lists.openbossa.org/listinfo/pyside
--
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia
Didier 'OdyX' Raboud
2010-03-26 20:21:17 UTC
Permalink
Post by Hugo Parente Lima
Anyway you found an isssue that I dont known how to solve. We are not
installing the typesystem files anywhere. What's the better place to
install them? so other developers can find and use it to generate bindings
of qt-based libraries.
Hi Hugo,

if I you were to ship those typesystem files, I would put them (with my
Debian Maintainer hat on) in a new "python-pyside-dev" package and put the
files under:

/usr/share/python-pyside-dev/

Regards,

OdyX
Josh
2010-03-26 20:25:10 UTC
Permalink
Post by Didier 'OdyX' Raboud
Post by Hugo Parente Lima
Anyway you found an isssue that I dont known how to solve. We are not
installing the typesystem files anywhere. What's the better place to
install them? so other developers can find and use it to generate bindings
of qt-based libraries.
Hi Hugo,
if I you were to ship those typesystem files, I would put them (with my
Debian Maintainer hat on) in a new "python-pyside-dev" package and put the
/usr/share/python-pyside-dev/
Regards,
OdyX
_______________________________________________
PySide mailing list
http://lists.openbossa.org/listinfo/pyside
Agree. I was going to suggest:

INSTALL_PREFIX/share/pyside.
Hugo Parente Lima
2010-03-26 20:38:02 UTC
Permalink
Post by Josh
Post by Didier 'OdyX' Raboud
Post by Hugo Parente Lima
Anyway you found an isssue that I dont known how to solve. We are not
installing the typesystem files anywhere. What's the better place to
install them? so other developers can find and use it to generate
bindings of qt-based libraries.
Hi Hugo,
if I you were to ship those typesystem files, I would put them (with my
Debian Maintainer hat on) in a new "python-pyside-dev" package and put
/usr/share/python-pyside-dev/
Regards,
OdyX
_______________________________________________
PySide mailing list
http://lists.openbossa.org/listinfo/pyside
INSTALL_PREFIX/share/pyside.
This is also my preference. Objections?
--
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia
Hugo Parente Lima
2010-03-29 14:24:01 UTC
Permalink
Post by Josh
Post by Didier 'OdyX' Raboud
Post by Hugo Parente Lima
Anyway you found an isssue that I dont known how to solve. We are not
installing the typesystem files anywhere. What's the better place to
install them? so other developers can find and use it to generate
bindings of qt-based libraries.
Hi Hugo,
if I you were to ship those typesystem files, I would put them (with my
Debian Maintainer hat on) in a new "python-pyside-dev" package and put
/usr/share/python-pyside-dev/
Regards,
OdyX
_______________________________________________
PySide mailing list
http://lists.openbossa.org/listinfo/pyside
INSTALL_PREFIX/share/pyside.
Bug filed:
http://bugs.openbossa.org/show_bug.cgi?id=199
--
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia
Loading...