Hi Yihui,<div><br></div><div>It works on my laptop, I don't understand the error message on your laptop either, since we have same version of Ubuntu, qtbase, qtpaint, I compare your list with mine, I don't have the following:</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">libdbusmenu-qt2</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">libpackagekit-qt-12 </span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; ">libpolkit-qt-1-0 </span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; ">python-qt4 </span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; ">libsmokeqt4-3 </span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; "><br></span></span></font></div><div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; ">I also check this error messange</span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><a href="http://doc.qt.nokia.com/4.6/qglframebufferobject.html">http://doc.qt.nokia.com/4.6/qglframebufferobject.html</a></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">looks like it is related to openGL, maybe you miss some libary for opengl?......</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I also attached my libgl* list. the mesa one may be important.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Best wishes</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Tengfei<br></span></font><br></div><div>####</div><div><div>> sessionInfo()</div>
<div>R version 2.11.1 (2010-05-31) </div><div>x86_64-pc-linux-gnu </div><div><br></div><div>locale:</div><div>[1] en_US.utf8</div><div><br></div><div>attached base packages:</div><div>[1] stats graphics grDevices utils datasets methods base </div>
<div><br></div><div>other attached packages:</div><div>[1] qtpaint_0.7.8</div><div><br></div><div>loaded via a namespace (and not attached):</div><div>[1] qtbase_0.7-1</div></div><div><br></div><div>#### qt*</div><div><div>
tengfei@tengfei-laptop:~/Prolang/svn/repos/trunk/qtinterfaces/pkg$ dpkg -l | grep qt</div><div>ii libqt4-assistant 4:4.6.2-0ubuntu5 Qt 4 assistant module</div><div>ii libqt4-dbus 4:4.6.2-0ubuntu5 Qt 4 D-Bus module</div>
<div>ii libqt4-designer 4:4.6.2-0ubuntu5 Qt 4 designer module</div><div>ii libqt4-dev 4:4.6.2-0ubuntu5 Qt 4 development files</div>
<div>ii libqt4-help 4:4.6.2-0ubuntu5 Qt 4 help module</div><div>ii libqt4-multimedia 4:4.6.2-0ubuntu5 Qt 4 Multimedia module</div>
<div>ii libqt4-network 4:4.6.2-0ubuntu5 Qt 4 network module</div><div>ii libqt4-opengl 4:4.6.2-0ubuntu5 Qt 4 OpenGL module</div>
<div>ii libqt4-opengl-dev 4:4.6.2-0ubuntu5 Qt 4 OpenGL library development files</div><div>ii libqt4-qt3support 4:4.6.2-0ubuntu5 Qt 3 compatibility library for Qt 4</div>
<div>ii libqt4-script 4:4.6.2-0ubuntu5 Qt 4 script module</div><div>ii libqt4-scripttools 4:4.6.2-0ubuntu5 Qt 4 script tools module</div>
<div>ii libqt4-sql 4:4.6.2-0ubuntu5 Qt 4 SQL module</div><div>ii libqt4-sql-mysql 4:4.6.2-0ubuntu5 Qt 4 MySQL database driver</div>
<div>ii libqt4-svg 4:4.6.2-0ubuntu5 Qt 4 SVG module</div><div>ii libqt4-test 4:4.6.2-0ubuntu5 Qt 4 test module</div>
<div>ii libqt4-webkit 4:4.6.2-0ubuntu5 Qt 4 WebKit module</div><div>ii libqt4-xml 4:4.6.2-0ubuntu5 Qt 4 XML module</div>
<div>ii libqt4-xmlpatterns 4:4.6.2-0ubuntu5 Qt 4 XML patterns module</div><div>ii libqtcore4 4:4.6.2-0ubuntu5 Qt 4 core module</div>
<div>ii libqtgui4 4:4.6.2-0ubuntu5 Qt 4 GUI module</div><div>ii qt4-qmake 4:4.6.2-0ubuntu5 Qt 4 qmake Makefile generator tool</div>
<div><br></div><div><br></div><div>###libgl*</div><div><br></div><div><div>tengfei@tengfei-laptop:~/Prolang/svn/repos/trunk/qtinterfaces/pkg$ dpkg -l | grep libgl</div><div>ii libgl1-mesa-dev 7.7.1-1ubuntu3 A free implementation of the OpenGL API -- G</div>
<div>ii libgl1-mesa-dri 7.7.1-1ubuntu3 A free implementation of the OpenGL API -- D</div><div>ii libgl1-mesa-glx 7.7.1-1ubuntu3 A free implementation of the OpenGL API -- G</div>
<div>ii libglade2-0 1:2.6.4-1build1 library to load .glade files at runtime</div><div>ii libglade2.0-cil 2.12.9-4 CLI binding for the Glade libraries 2.6</div>
<div>ii libglc0 0.7.2-1 QuesoGLC GLC implementation</div><div>ii libglib-perl 1:1.222-1 Perl interface to the GLib and GObject libra</div>
<div>ii libglib2.0-0 2.24.1-0ubuntu1 The GLib library of C routines</div><div>ii libglib2.0-cil 2.12.9-4 CLI binding for the GLib utility library 2.1</div>
<div>ii libglib2.0-cil-dev 2.12.9-4 CLI binding for the GLib utility library 2.1</div><div>ii libglib2.0-data 2.24.1-0ubuntu1 Common files for GLib library</div>
<div>ii libglib2.0-dev 2.24.1-0ubuntu1 Development files for the GLib library</div><div>ii libglibmm-2.4-1c2a 2.24.2-0ubuntu1 C++ wrapper for the GLib toolkit (shared lib</div>
<div>ii libglitz-glx1 0.5.6-1build1 Glitz OpenGL library GLX backend</div><div>ii libglitz1 0.5.6-1build1 Glitz OpenGL image compositing library</div>
<div>ii libglpng 1.45-6 PNG loader for OpenGL</div><div>ii libglu1-mesa 7.7.1-1ubuntu3 The OpenGL utility library (GLU)</div>
<div>ii libglu1-mesa-dev 7.7.1-1ubuntu3 The OpenGL utility library -- development fi</div></div><div><br></div><div class="gmail_quote">On Fri, Aug 6, 2010 at 1:42 PM, Yihui Xie <span dir="ltr"><<a href="mailto:xie@yihui.name">xie@yihui.name</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I bought a new laptop (Lenovo Thinkpad T510 4313-CTO) last week and<br>
tried to use qtpaint under Ubuntu (10.04.1 LTS) but failed. I do not<br>
understand the error message, so I paste the software/hardware<br>
information here to see if anybody can help. Thanks a lot!<br>
<br>
> library(qtpaint)<br>
> demo('canvas', echo=FALSE)<br>
QGridLayoutEngine::addItem: Cell (0, 0) already taken<br>
Qanviz::PlotView instance<br>
> QGLFramebufferObject: Framebuffer incomplete attachment.<br>
QGLFramebufferObject: Framebuffer incomplete attachment.<br>
QGLFramebufferObject: Framebuffer incomplete attachment.<br>
QGLFramebufferObject: Framebuffer incomplete attachment.<br>
QGLFramebufferObject: Framebuffer incomplete attachment.<br>
QGLFramebufferObject: Framebuffer incomplete attachment.<br>
QGLFramebufferObject: Framebuffer incomplete attachment.<br>
QGLFramebufferObject: Framebuffer incomplete attachment.<br>
<br>
*** caught segfault ***<br>
address 0x30, cause 'memory not mapped'<br>
<br>
Possible actions:<br>
1: abort (with core dump, if enabled)<br>
2: normal R exit<br>
3: exit R without saving workspace<br>
4: exit R saving workspace<br>
<br>
> sessionInfo()<br>
R version 2.11.1 (2010-05-31)<br>
x86_64-pc-linux-gnu<br>
<br>
locale:<br>
[1] en_US.utf8<br>
<br>
attached base packages:<br>
[1] stats graphics grDevices utils datasets methods base<br>
<br>
other attached packages:<br>
[1] qtpaint_0.7.8<br>
<br>
loaded via a namespace (and not attached):<br>
[1] Biobase_2.8.0 qtbase_0.7-1 tcltk_2.11.1 tools_2.11.1<br>
<br>
<br>
Here is a list of hardware information if needed (I doubt if the<br>
problem is related to the graphics card):<br>
<br>
yihui@xie:~$ lspci<br>
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)<br>
00:02.0 VGA compatible controller: Intel Corporation Core Processor<br>
Integrated Graphics Controller (rev 02)<br>
00:16.0 Communication controller: Intel Corporation 5 Series/3400<br>
Series Chipset HECI Controller (rev 06)<br>
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series<br>
Chipset KT Controller (rev 06)<br>
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network<br>
Connection (rev 06)<br>
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset<br>
USB2 Enhanced Host Controller (rev 06)<br>
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset<br>
High Definition Audio (rev 06)<br>
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI<br>
Express Root Port 1 (rev 06)<br>
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI<br>
Express Root Port 2 (rev 06)<br>
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI<br>
Express Root Port 4 (rev 06)<br>
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI<br>
Express Root Port 5 (rev 06)<br>
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset<br>
USB2 Enhanced Host Controller (rev 06)<br>
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)<br>
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC<br>
Interface Controller (rev 06)<br>
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series<br>
Chipset 6 port SATA AHCI Controller (rev 06)<br>
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus<br>
Controller (rev 06)<br>
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400<br>
Series Chipset Thermal Subsystem (rev 06)<br>
03:00.0 Network controller: Intel Corporation WiFi Link 1000 Series<br>
0d:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01)<br>
0d:00.1 System peripheral: Ricoh Co Ltd Device e230 (rev 01)<br>
0d:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Device e832 (rev 01)<br>
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath<br>
Architecture Generic Non-core Registers (rev 02)<br>
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath<br>
Architecture System Address Decoder (rev 02)<br>
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)<br>
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)<br>
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)<br>
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)<br>
<br>
<br>
and a list of qt-related packages installed:<br>
<br>
yihui@xie:~$ dpkg -l | grep qt<br>
ii libdbusmenu-qt2 0.3.2-0ubuntu1<br>
a Qt library that implements<br>
the DBusMenu sp<br>
ii libpackagekit-qt-12 0.5.7-0ubuntu2<br>
Library for accessing<br>
PackageKit using Qt.<br>
ii libpolkit-qt-1-0 0.95.1-1fakesync1<br>
PolicyKit-qt-1 library<br>
ii libqt4-assistant 4:4.6.2-0ubuntu5<br>
Qt 4 assistant module<br>
ii libqt4-dbus 4:4.6.2-0ubuntu5<br>
Qt 4 D-Bus module<br>
ii libqt4-designer 4:4.6.2-0ubuntu5<br>
Qt 4 designer module<br>
ii libqt4-dev 4:4.6.2-0ubuntu5<br>
Qt 4 development files<br>
ii libqt4-help 4:4.6.2-0ubuntu5<br>
Qt 4 help module<br>
ii libqt4-multimedia 4:4.6.2-0ubuntu5<br>
Qt 4 Multimedia module<br>
ii libqt4-network 4:4.6.2-0ubuntu5<br>
Qt 4 network module<br>
ii libqt4-opengl 4:4.6.2-0ubuntu5<br>
Qt 4 OpenGL module<br>
ii libqt4-opengl-dev 4:4.6.2-0ubuntu5<br>
Qt 4 OpenGL library<br>
development files<br>
ii libqt4-qt3support 4:4.6.2-0ubuntu5<br>
Qt 3 compatibility library for<br>
Qt 4<br>
ii libqt4-script 4:4.6.2-0ubuntu5<br>
Qt 4 script module<br>
ii libqt4-scripttools 4:4.6.2-0ubuntu5<br>
Qt 4 script tools module<br>
ii libqt4-sql 4:4.6.2-0ubuntu5<br>
Qt 4 SQL module<br>
ii libqt4-sql-mysql 4:4.6.2-0ubuntu5<br>
Qt 4 MySQL database driver<br>
ii libqt4-svg 4:4.6.2-0ubuntu5<br>
Qt 4 SVG module<br>
ii libqt4-test 4:4.6.2-0ubuntu5<br>
Qt 4 test module<br>
ii libqt4-webkit 4:4.6.2-0ubuntu5<br>
Qt 4 WebKit module<br>
ii libqt4-xml 4:4.6.2-0ubuntu5<br>
Qt 4 XML module<br>
ii libqt4-xmlpatterns 4:4.6.2-0ubuntu5<br>
Qt 4 XML patterns module<br>
ii libqtcore4 4:4.6.2-0ubuntu5<br>
Qt 4 core module<br>
ii libqtgui4 4:4.6.2-0ubuntu5<br>
Qt 4 GUI module<br>
rc libsmokeqt4-3 4:4.4.2-0ubuntu2<br>
Qt 4 Smoke libraries<br>
ii python-qt4 4.7.2-0ubuntu1<br>
Python bindings for Qt4<br>
ii qt4-qmake 4:4.6.2-0ubuntu5<br>
<br>
Regards,<br>
Yihui<br>
--<br>
<font color="#888888">Yihui Xie <<a href="mailto:xieyihui@gmail.com">xieyihui@gmail.com</a>><br>
Phone: 515-294-6609 Web: <a href="http://yihui.name" target="_blank">http://yihui.name</a><br>
Department of Statistics, Iowa State University<br>
3211 Snedecor Hall, Ames, IA<br>
_______________________________________________<br>
Qtinterfaces-devel mailing list<br>
<a href="mailto:Qtinterfaces-devel@lists.r-forge.r-project.org">Qtinterfaces-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Tengfei Yin<br>MCDB PhD student <br>1620 Howe Hall, 2274,<br>Iowa State University<br>Ames, IA,50011-2274<br>Homepage: <a href="http://www.tengfei.name">www.tengfei.name</a><br>
<br>
</div>