Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152150 - sci-mathematics/scilab-4.0 cannot open saved plots/graphs
Summary: sci-mathematics/scilab-4.0 cannot open saved plots/graphs
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
: 152152 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-20 11:50 UTC by Maarten Maathuis
Modified: 2008-01-19 11:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten Maathuis 2006-10-20 11:50:15 UTC
Steps to reproduce:

1. start scilab
2. plot a graph (plot([1,2,3],[2,4,8]) will do)
3. save graph
4. load graph

Error message:
--> !--error 9999 
Given file is not a graphic one                                                 
at line      16 of function %xload called by :  
%xload('/home/madman2003/documents/testplot.scg')
in  execstr instruction    called by :  
plot([1,2,3],[2,4,10])
 
Wrong plot file : /home/madman2003/documents/testplot.scg
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-20 12:02:36 UTC
*** Bug 152152 has been marked as a duplicate of this bug. ***
Comment 2 Maarten Maathuis 2006-10-20 12:05:25 UTC
Portage 2.1.2_pre3-r5 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1 x86_64)
=================================================================
System uname: 2.6.18-ck1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Fri, 20 Oct 2006 15:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -Os -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
INSTALL_MASK="/usr/bin/emerge"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/nouveau /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/portage/local/layman/WTK-Testing"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d alsa aotuv berkdb bitmap-fonts cairo caps cdr cli cracklib crypt cups dbus dhcp dlloader dri dvd dvdr eds elibc_glibc emboss encode fam firefox flac fortran gdbm gif gimpprint gpm gstreamer gtk gtk2 hal input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg kernel_linux ldap libg++ linguas_en linguas_nl mad mikmod minimal mp3 mpeg musepack ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_nouveau video_cards_nv vorbis xml xorg xv xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LANG, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2006-11-09 15:39:33 UTC
Hi Maarten,

Unfortunately, I can't reproduce this here on my x86 box. Just to make
sure that this is not related to bad compilation could you please try
recompiling with "-march=k8 -O2" and report back.

Thanks,
Markus
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2007-02-11 20:33:41 UTC
Could you please try with scilab-4.1 (should hit the mirrors in about an
hour from now and let me know if you still have this problem?

Thanks,
Markus
Comment 5 Maarten Maathuis 2007-02-12 09:28:39 UTC
Scilab-4.1 doesn't install in a useable way (permissions and symlinks seem messed up), i'll have to look at it later.
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2007-02-12 14:10:47 UTC
Odd, scilab-4.1 installs and works just fine on both of my dev boxes.
Please provide as much detail as possible should your install problems
persist.

Thanks,
Markus
Comment 7 Maarten Maathuis 2007-02-12 18:46:39 UTC
Going to sum up some problems (as i find them):

lrwxrwxrwx 1 root root 83 2007-02-12 19:27 /usr/bin/scilab -> /var/tmp/portage/sci-mathematics/scilab-4.1/image///usr/lib64/scilab-4.1/bin/scilab
Comment 8 Maarten Maathuis 2007-02-12 18:49:48 UTC
/usr/bin/scilab: line 27: /var/tmp/portage/sci-mathematics/scilab-4.1/work/scilab-4.1/pvm3/lib/pvmgetarch: Permission denied
/usr/bin/scilab: line 58: /var/tmp/portage/sci-mathematics/scilab-4.1/work/scilab-4.1/bin/scilex: Permission denied
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2007-02-12 23:52:10 UTC
It looks like some of the sed's in the build don't do what they're supposed
to on your machine. Could you please post the first 50 lines of /usr/lib64/scilab-4.1/bin/scilab. Also, if you could post the output of your
emerge somewhere that would be useful.

Thanks,
Markus
Comment 10 Markus Dittrich (RETIRED) gentoo-dev 2007-05-24 13:00:18 UTC
Hi Maarten,

Do you still have these problems with scilab-4.1.1?

Thanks,
Markus
Comment 11 Markus Dittrich (RETIRED) gentoo-dev 2008-01-19 11:48:04 UTC
Closing this a NEEDINFO. Please reopen if the problem
still persists.

Thanks,
Makrus