Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

sage fails to start with IPython.ChrashHandler error #93

Closed
elteck opened this Issue Oct 12, 2011 · 15 comments

Comments

Projects
None yet
3 participants

elteck commented Oct 12, 2011

For some reason I get the following error when I try to start sage:



| Sage Version 4.7.1, Release Date: 2011-08-11 |

| Type notebook() for the GUI, and license() for information. |

Traceback (most recent call last):
File "/usr/bin/sage-ipython", line 19, in
from IPython.CrashHandler import CrashHandler
ImportError: No module named CrashHandler


And this is the ipython version installed:



Anyone have a clue what could be wrong with my installation?

Thanks!

George

Owner

cschwan commented Oct 12, 2011

I have no idea, but you can provide me the following data:

  • emerge --info
  • equery f ipython

@cschwan cschwan was assigned Oct 12, 2011

Collaborator

kiwifb commented Oct 12, 2011

Also what use flags where used for ipython:
emerge --info ipython
would give us the most info.

elteck commented Oct 14, 2011

Sorry for my late reply, I was home late yesterday. Here's the information:

emerge --info ipython:



=================================================================
                        Package Settings
=================================================================

dev-python/ipython-0.10.2 was built with the following:
USE="(consolekit) emacs gnuplot (multilib) (policykit) readline wxwidgets -doc -examples -smp -test"


================================================================

Emerge --info: 


CFLAGS="-O2 -march=core2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ http://gentoo.llarian.net/ http://gentoo.mirrors.hoobly.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/sage-on-gentoo /var/lib/layman/science /var/lib/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa also amd64 avahi berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cgi cli consolekit cracklib crypt css cups cvs cxx dbus declarative dri dts dvd dvdr emacs emboss encode evdev exif expat fam fastcgi ffmpeg fftw firefox flac fortran gdbm gdu gif gimp ginac glib gnuplot gphoto2 gpm gtk gtk+ gzip handbook hddtemp iconv icu imap ipv6 jack java javascript jce jpeg kde kde4 kipi kontact lapack latex lcms ldap libnotify libsamplerate mad mmx mmxext mng modules mono mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp pam pango pcre pdf phonon php plasma png policykit ppds pppd pulseaudio qt3support qt4 quicktime readline sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs tcpd tiff truetype udev unicode usb vcd vnc vorbis wavpack wmf wxwidgets x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita imagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam \ jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="lirc imon imonlcd" LINGUAS="nl en" LIRC_DEVICES="imon imon_knob imon_lcd imon_pad imon_rsc imon_24g" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


===========================================================================

equery f ipython:

 * Searching for ipython ...
 * Contents of dev-python/ipython-0.10.2:
/usr
/usr/bin
/usr/bin/ipcluster
/usr/bin/ipcluster-2.7
/usr/bin/ipcontroller
/usr/bin/ipcontroller-2.7
/usr/bin/ipengine
/usr/bin/ipengine-2.7
/usr/bin/iptest
/usr/bin/iptest-2.7
/usr/bin/ipython
/usr/bin/ipython-2.7
/usr/bin/ipython-wx
/usr/bin/ipython-wx-2.7
/usr/bin/ipythonx
/usr/bin/ipythonx-2.7
/usr/bin/irunner
/usr/bin/irunner-2.7
/usr/bin/pycolor
/usr/bin/pycolor-2.7
/usr/lib64
/usr/lib64/python2.7
/usr/lib64/python2.7/site-packages
/usr/lib64/python2.7/site-packages/IPython
/usr/lib64/python2.7/site-packages/IPython/ColorANSI.py
/usr/lib64/python2.7/site-packages/IPython/ConfigLoader.py
/usr/lib64/python2.7/site-packages/IPython/CrashHandler.py
/usr/lib64/python2.7/site-packages/IPython/DPyGetOpt.py
/usr/lib64/python2.7/site-packages/IPython/Debugger.py
/usr/lib64/python2.7/site-packages/IPython/Extensions
/usr/lib64/python2.7/site-packages/IPython/Extensions/InterpreterExec.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/InterpreterPasteInput.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/PhysicalQInput.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/PhysicalQInteractive.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/__init__.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/astyle.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/clearcmd.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/envpersist.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ext_rescapture.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ibrowse.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/igrid.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipipe.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_app_completers.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_autoreload.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_bzr.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_completers.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_constants.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_defaults.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_editors.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_exportdb.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_extutil.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_fsops.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_gnuglobal.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_greedycompleter.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_jot.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_kitcfg.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_legacy.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_lookfor.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_p4.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_pretty.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_profile_doctest.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_profile_none.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_profile_numpy.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_profile_scipy.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_profile_sh.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_profile_zope.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_pydb.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_rehashdir.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_render.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_server.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_signals.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_stock_completers.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_synchronize_with.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_system_conf.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_traits_completer.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_vimserver.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_which.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_winpdb.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ipy_workdir.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/jobctrl.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/ledit.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/numeric_formats.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/pickleshare.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/pspersistence.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/scitedirector.py
/usr/lib64/python2.7/site-packages/IPython/Extensions/win32clip.py
/usr/lib64/python2.7/site-packages/IPython/FakeModule.py
/usr/lib64/python2.7/site-packages/IPython/Gnuplot2.py
/usr/lib64/python2.7/site-packages/IPython/GnuplotInteractive.py
/usr/lib64/python2.7/site-packages/IPython/GnuplotRuntime.py
/usr/lib64/python2.7/site-packages/IPython/Itpl.py
/usr/lib64/python2.7/site-packages/IPython/Logger.py
/usr/lib64/python2.7/site-packages/IPython/Magic.py
/usr/lib64/python2.7/site-packages/IPython/OInspect.py
/usr/lib64/python2.7/site-packages/IPython/OutputTrap.py
/usr/lib64/python2.7/site-packages/IPython/Prompts.py
/usr/lib64/python2.7/site-packages/IPython/PyColorize.py
/usr/lib64/python2.7/site-packages/IPython/Release.py
/usr/lib64/python2.7/site-packages/IPython/Shell.py
/usr/lib64/python2.7/site-packages/IPython/UserConfig
/usr/lib64/python2.7/site-packages/IPython/UserConfig/__init__.py
/usr/lib64/python2.7/site-packages/IPython/UserConfig/ipy_user_conf.py
/usr/lib64/python2.7/site-packages/IPython/UserConfig/ipythonrc
/usr/lib64/python2.7/site-packages/IPython/UserConfig/ipythonrc-math
/usr/lib64/python2.7/site-packages/IPython/UserConfig/ipythonrc-physics
/usr/lib64/python2.7/site-packages/IPython/UserConfig/ipythonrc-pysh
/usr/lib64/python2.7/site-packages/IPython/UserConfig/ipythonrc-tutorial
/usr/lib64/python2.7/site-packages/IPython/__init__.py
/usr/lib64/python2.7/site-packages/IPython/background_jobs.py
/usr/lib64/python2.7/site-packages/IPython/clipboard.py
/usr/lib64/python2.7/site-packages/IPython/completer.py
/usr/lib64/python2.7/site-packages/IPython/config
/usr/lib64/python2.7/site-packages/IPython/config/__init__.py
/usr/lib64/python2.7/site-packages/IPython/config/api.py
/usr/lib64/python2.7/site-packages/IPython/config/cutils.py
/usr/lib64/python2.7/site-packages/IPython/config/tests
/usr/lib64/python2.7/site-packages/IPython/config/tests/__init__.py
/usr/lib64/python2.7/site-packages/IPython/deep_reload.py
/usr/lib64/python2.7/site-packages/IPython/demo.py
/usr/lib64/python2.7/site-packages/IPython/dtutils.py
/usr/lib64/python2.7/site-packages/IPython/excolors.py
/usr/lib64/python2.7/site-packages/IPython/external
/usr/lib64/python2.7/site-packages/IPython/external/Itpl.py
/usr/lib64/python2.7/site-packages/IPython/external/__init__.py
/usr/lib64/python2.7/site-packages/IPython/external/argparse.py
/usr/lib64/python2.7/site-packages/IPython/external/configobj.py
/usr/lib64/python2.7/site-packages/IPython/external/guid.py
/usr/lib64/python2.7/site-packages/IPython/external/mglob.py
/usr/lib64/python2.7/site-packages/IPython/external/path.py
/usr/lib64/python2.7/site-packages/IPython/external/pretty.py
/usr/lib64/python2.7/site-packages/IPython/external/simplegeneric.py
/usr/lib64/python2.7/site-packages/IPython/external/validate.py
/usr/lib64/python2.7/site-packages/IPython/frontend
/usr/lib64/python2.7/site-packages/IPython/frontend/__init__.py
/usr/lib64/python2.7/site-packages/IPython/frontend/asyncfrontendbase.py
/usr/lib64/python2.7/site-packages/IPython/frontend/cocoa
/usr/lib64/python2.7/site-packages/IPython/frontend/cocoa/__init__.py
/usr/lib64/python2.7/site-packages/IPython/frontend/cocoa/cocoa_frontend.py
/usr/lib64/python2.7/site-packages/IPython/frontend/cocoa/tests
/usr/lib64/python2.7/site-packages/IPython/frontend/cocoa/tests/__init__.py
/usr/lib64/python2.7/site-packages/IPython/frontend/cocoa/tests/test_cocoa_frontend.py
/usr/lib64/python2.7/site-packages/IPython/frontend/frontendbase.py
/usr/lib64/python2.7/site-packages/IPython/frontend/linefrontendbase.py
/usr/lib64/python2.7/site-packages/IPython/frontend/prefilterfrontend.py
/usr/lib64/python2.7/site-packages/IPython/frontend/process
/usr/lib64/python2.7/site-packages/IPython/frontend/process/__init__.py
/usr/lib64/python2.7/site-packages/IPython/frontend/process/killableprocess.py
/usr/lib64/python2.7/site-packages/IPython/frontend/process/pipedprocess.py
/usr/lib64/python2.7/site-packages/IPython/frontend/process/winprocess.py
/usr/lib64/python2.7/site-packages/IPython/frontend/tests
/usr/lib64/python2.7/site-packages/IPython/frontend/tests/__init__.py
/usr/lib64/python2.7/site-packages/IPython/frontend/tests/test_asyncfrontendbase.py
/usr/lib64/python2.7/site-packages/IPython/frontend/tests/test_frontendbase.py
/usr/lib64/python2.7/site-packages/IPython/frontend/tests/test_linefrontend.py
/usr/lib64/python2.7/site-packages/IPython/frontend/tests/test_prefilterfrontend.py
/usr/lib64/python2.7/site-packages/IPython/frontend/tests/test_process.py
/usr/lib64/python2.7/site-packages/IPython/frontend/wx
/usr/lib64/python2.7/site-packages/IPython/frontend/wx/__init__.py
/usr/lib64/python2.7/site-packages/IPython/frontend/wx/console_widget.py
/usr/lib64/python2.7/site-packages/IPython/frontend/wx/ipythonx.py
/usr/lib64/python2.7/site-packages/IPython/frontend/wx/wx_frontend.py
/usr/lib64/python2.7/site-packages/IPython/frontend/zopeinterface.py
/usr/lib64/python2.7/site-packages/IPython/generics.py
/usr/lib64/python2.7/site-packages/IPython/genutils.py
/usr/lib64/python2.7/site-packages/IPython/gui
/usr/lib64/python2.7/site-packages/IPython/gui/__init__.py
/usr/lib64/python2.7/site-packages/IPython/gui/wx
/usr/lib64/python2.7/site-packages/IPython/gui/wx/__init__.py
/usr/lib64/python2.7/site-packages/IPython/gui/wx/ipshell_nonblocking.py
/usr/lib64/python2.7/site-packages/IPython/gui/wx/ipython_history.py
/usr/lib64/python2.7/site-packages/IPython/gui/wx/ipython_view.py
/usr/lib64/python2.7/site-packages/IPython/gui/wx/thread_ex.py
/usr/lib64/python2.7/site-packages/IPython/gui/wx/wxIPython.py
/usr/lib64/python2.7/site-packages/IPython/history.py
/usr/lib64/python2.7/site-packages/IPython/hooks.py
/usr/lib64/python2.7/site-packages/IPython/ipapi.py
/usr/lib64/python2.7/site-packages/IPython/iplib.py
/usr/lib64/python2.7/site-packages/IPython/ipmaker.py
/usr/lib64/python2.7/site-packages/IPython/ipstruct.py
/usr/lib64/python2.7/site-packages/IPython/irunner.py
/usr/lib64/python2.7/site-packages/IPython/kernel
/usr/lib64/python2.7/site-packages/IPython/kernel/__init__.py
/usr/lib64/python2.7/site-packages/IPython/kernel/asyncclient.py
/usr/lib64/python2.7/site-packages/IPython/kernel/client.py
/usr/lib64/python2.7/site-packages/IPython/kernel/clientconnector.py
/usr/lib64/python2.7/site-packages/IPython/kernel/clientinterfaces.py
/usr/lib64/python2.7/site-packages/IPython/kernel/codeutil.py
/usr/lib64/python2.7/site-packages/IPython/kernel/config
/usr/lib64/python2.7/site-packages/IPython/kernel/config/__init__.py
/usr/lib64/python2.7/site-packages/IPython/kernel/contexts.py
/usr/lib64/python2.7/site-packages/IPython/kernel/controllerservice.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core
/usr/lib64/python2.7/site-packages/IPython/kernel/core/__init__.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/config
/usr/lib64/python2.7/site-packages/IPython/kernel/core/config/__init__.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/display_formatter.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/display_trap.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/error.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/fd_redirector.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/file_like.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/history.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/interpreter.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/macro.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/magic.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/message_cache.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/notification.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/output_trap.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/prompts.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/redirector_output_trap.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/sync_traceback_trap.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/tests
/usr/lib64/python2.7/site-packages/IPython/kernel/core/tests/__init__.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/tests/test_interpreter.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/tests/test_notification.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/tests/test_redirectors.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/traceback_formatter.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/traceback_trap.py
/usr/lib64/python2.7/site-packages/IPython/kernel/core/util.py
/usr/lib64/python2.7/site-packages/IPython/kernel/engineconnector.py
/usr/lib64/python2.7/site-packages/IPython/kernel/enginefc.py
/usr/lib64/python2.7/site-packages/IPython/kernel/engineservice.py
/usr/lib64/python2.7/site-packages/IPython/kernel/error.py
/usr/lib64/python2.7/site-packages/IPython/kernel/fcutil.py
/usr/lib64/python2.7/site-packages/IPython/kernel/magic.py
/usr/lib64/python2.7/site-packages/IPython/kernel/map.py
/usr/lib64/python2.7/site-packages/IPython/kernel/mapper.py
/usr/lib64/python2.7/site-packages/IPython/kernel/multiengine.py
/usr/lib64/python2.7/site-packages/IPython/kernel/multiengineclient.py
/usr/lib64/python2.7/site-packages/IPython/kernel/multienginefc.py
/usr/lib64/python2.7/site-packages/IPython/kernel/newserialized.py
/usr/lib64/python2.7/site-packages/IPython/kernel/parallelfunction.py
/usr/lib64/python2.7/site-packages/IPython/kernel/pbconfig.py
/usr/lib64/python2.7/site-packages/IPython/kernel/pbutil.py
/usr/lib64/python2.7/site-packages/IPython/kernel/pendingdeferred.py
/usr/lib64/python2.7/site-packages/IPython/kernel/pickleutil.py
/usr/lib64/python2.7/site-packages/IPython/kernel/scripts
/usr/lib64/python2.7/site-packages/IPython/kernel/scripts/__init__.py
/usr/lib64/python2.7/site-packages/IPython/kernel/scripts/ipcluster.py
/usr/lib64/python2.7/site-packages/IPython/kernel/scripts/ipcontroller.py
/usr/lib64/python2.7/site-packages/IPython/kernel/scripts/ipengine.py
/usr/lib64/python2.7/site-packages/IPython/kernel/task.py
/usr/lib64/python2.7/site-packages/IPython/kernel/taskclient.py
/usr/lib64/python2.7/site-packages/IPython/kernel/taskfc.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/__init__.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/controllertest.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/engineservicetest.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/multienginetest.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/tasktest.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_contexts.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_controllerservice.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_enginefc.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_engineservice.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_multiengine.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_multienginefc.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_newserialized.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_pendingdeferred.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_task.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_taskfc.py
/usr/lib64/python2.7/site-packages/IPython/kernel/tests/test_twistedutil.py
/usr/lib64/python2.7/site-packages/IPython/kernel/twistedutil.py
/usr/lib64/python2.7/site-packages/IPython/kernel/util.py
/usr/lib64/python2.7/site-packages/IPython/macro.py
/usr/lib64/python2.7/site-packages/IPython/platutils.py
/usr/lib64/python2.7/site-packages/IPython/platutils_dummy.py
/usr/lib64/python2.7/site-packages/IPython/platutils_posix.py
/usr/lib64/python2.7/site-packages/IPython/platutils_win32.py
/usr/lib64/python2.7/site-packages/IPython/prefilter.py
/usr/lib64/python2.7/site-packages/IPython/rlineimpl.py
/usr/lib64/python2.7/site-packages/IPython/shadowns.py
/usr/lib64/python2.7/site-packages/IPython/shellglobals.py
/usr/lib64/python2.7/site-packages/IPython/strdispatch.py
/usr/lib64/python2.7/site-packages/IPython/testing
/usr/lib64/python2.7/site-packages/IPython/testing/__init__.py
/usr/lib64/python2.7/site-packages/IPython/testing/decorator_msim.py
/usr/lib64/python2.7/site-packages/IPython/testing/decorators.py
/usr/lib64/python2.7/site-packages/IPython/testing/decorators_numpy.py
/usr/lib64/python2.7/site-packages/IPython/testing/decorators_trial.py
/usr/lib64/python2.7/site-packages/IPython/testing/iptest.py
/usr/lib64/python2.7/site-packages/IPython/testing/mkdoctests.py
/usr/lib64/python2.7/site-packages/IPython/testing/parametric.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/__init__.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/dtexample.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/ipdoctest.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/iptest.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/setup.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/show_refs.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/simple.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/simplevars.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/test_ipdoctest.py
/usr/lib64/python2.7/site-packages/IPython/testing/plugin/test_refs.py
/usr/lib64/python2.7/site-packages/IPython/testing/tests
/usr/lib64/python2.7/site-packages/IPython/testing/tests/__init__.py
/usr/lib64/python2.7/site-packages/IPython/testing/tests/test_decorators.py
/usr/lib64/python2.7/site-packages/IPython/testing/tests/test_decorators_trial.py
/usr/lib64/python2.7/site-packages/IPython/testing/tests/test_tools.py
/usr/lib64/python2.7/site-packages/IPython/testing/tools.py
/usr/lib64/python2.7/site-packages/IPython/testing/util.py
/usr/lib64/python2.7/site-packages/IPython/tests
/usr/lib64/python2.7/site-packages/IPython/tests/__init__.py
/usr/lib64/python2.7/site-packages/IPython/tests/obj_del.py
/usr/lib64/python2.7/site-packages/IPython/tests/refbug.py
/usr/lib64/python2.7/site-packages/IPython/tests/tclass.py
/usr/lib64/python2.7/site-packages/IPython/tests/test_fakemodule.py
/usr/lib64/python2.7/site-packages/IPython/tests/test_genutils.py
/usr/lib64/python2.7/site-packages/IPython/tests/test_iplib.py
/usr/lib64/python2.7/site-packages/IPython/tests/test_magic.py
/usr/lib64/python2.7/site-packages/IPython/tests/test_platutils.py
/usr/lib64/python2.7/site-packages/IPython/tools
/usr/lib64/python2.7/site-packages/IPython/tools/__init__.py
/usr/lib64/python2.7/site-packages/IPython/tools/growl.py
/usr/lib64/python2.7/site-packages/IPython/tools/tests
/usr/lib64/python2.7/site-packages/IPython/tools/tests/__init__.py
/usr/lib64/python2.7/site-packages/IPython/tools/tests/test_tools_utils.txt
/usr/lib64/python2.7/site-packages/IPython/tools/utils.py
/usr/lib64/python2.7/site-packages/IPython/twshell.py
/usr/lib64/python2.7/site-packages/IPython/ultraTB.py
/usr/lib64/python2.7/site-packages/IPython/upgrade_dir.py
/usr/lib64/python2.7/site-packages/IPython/usage.py
/usr/lib64/python2.7/site-packages/IPython/wildcard.py
/usr/lib64/python2.7/site-packages/IPython/winconsole.py
/usr/lib64/python2.7/site-packages/ipython-0.10.2-py2.7.egg-info
/usr/share
/usr/share/doc
/usr/share/doc/ipython-0.10.2
/usr/share/doc/ipython-0.10.2/README.txt.bz2
/usr/share/doc/ipython-0.10.2/changes.txt.bz2
/usr/share/emacs
/usr/share/emacs/site-lisp
/usr/share/emacs/site-lisp/ipython
/usr/share/emacs/site-lisp/ipython/ipython.el
/usr/share/emacs/site-lisp/ipython/ipython.elc
/usr/share/emacs/site-lisp/site-gentoo.d
/usr/share/emacs/site-lisp/site-gentoo.d/62ipython-gentoo.el
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/ipcluster.1.bz2
/usr/share/man/man1/ipcontroller.1.bz2
/usr/share/man/man1/ipengine.1.bz2
/usr/share/man/man1/ipython-wx.1.bz2
/usr/share/man/man1/ipython.1.bz2
/usr/share/man/man1/ipythonx.1.bz2
/usr/share/man/man1/irunner.1.bz2
/usr/share/man/man1/pycolor.1.bz2

I hope this help you finding the root cause.

Thanks!

George

Collaborator

kiwifb commented Oct 14, 2011

That's very strange I was expecting more info from emerge --info ipython. Also it shows unexpected useflags. Are you using a hardened profile?

elteck commented Oct 15, 2011

I'm using the standard stable, not a hardened one. Yes, it does give more information, but I thought it would be repeated version of emerge --info. This is the complete one:

emerge --info ipython:

Portage 2.2.0_alpha67 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)

                    System Settings

System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-Core-TM-2_Quad_CPU_Q9450@_2.66GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 15 Oct 2011 06:30:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.1-r1::sage-on-gentoo, 3.1.3-r1
dev-util/cmake: 2.8.5-r2
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc: 2.12.2
Repositories: gentoo kde sage-on-gentoo science java-overlay
Installed sets: @kde-4.7
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ http://gentoo.llarian.net/ http://gentoo.mirrors.hoobly.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/sage-on-gentoo /var/lib/layman/science /var/lib/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa also amd64 avahi berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cgi cli consolekit cracklib crypt css cups cvs cxx dbus declarative dri dts dvd dvdr emacs emboss encode evdev exif expat fam fastcgi ffmpeg fftw firefox flac fortran gdbm gdu gif gimp ginac glib gnuplot gphoto2 gpm gtk gtk+ gzip handbook hddtemp iconv icu imap ipv6 jack java javascript jce jpeg kde kde4 kipi kontact lapack latex lcms ldap libnotify libsamplerate mad mmx mmxext mng modules mono mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp pam pango pcre pdf phonon php plasma png policykit ppds pppd pulseaudio qt3support qt4 quicktime readline sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs tcpd tiff truetype udev unicode usb vcd vnc vorbis wavpack wmf wxwidgets x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita imagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam \ jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="lirc imon imonlcd" LINGUAS="nl en" LIRC_DEVICES="imon imon_knob imon_lcd imon_pad imon_rsc imon_24g" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

                    Package Settings

dev-python/ipython-0.10.2 was built with the following:
USE="(consolekit) emacs gnuplot (multilib) (policykit) readline wxwidgets -doc -examples -smp -test"

Hope you can see what wrong with my configuration.

Thanks and have a good weekend,

George

Owner

cschwan commented Oct 15, 2011

Your installation looks OK, are you able to execute the commands manually ?

Try:

python

and in python

import IPython
from IPython.CrashHandler import CrashHandler

elteck commented Nov 10, 2011

That results in the same error:


python
Python 2.7.2 (default, Oct 23 2011, 12:05:31)
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import IPython
from IPython.CrashHandler import CrashHandler
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named CrashHandler


I have uninstalled ipython and reinstalled ipython, but that doesn't help either.

These are the use flags used with ipython:


emerge --verbose --pretend ipython

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-python/ipython-0.10.2 USE="emacs gnuplot readline wxwidgets -doc -examples -smp -test" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


My system had python version 2.7, 3.1 and 3.2.


eselect python list
Available Python interpreters:
[1] python2.7 *
[2] python3.1
[3] python3.2


Any clue, what could be wrong?

Owner

cschwan commented Nov 10, 2011

I still can not reproduce the behavior, but I found this thread on sage-support:

http://groups.google.com/group/sage-support/browse_thread/thread/9a3460304460d366/542f1c94cb5f6e6d?lnk=gst&q=CrashHandler

Did you built Sage from source and installed it? Do you set PYTHONPATH in .bashrc or anywhere else ? What does the following command yield?

python -c "import IPython; print IPython.__file__"

elteck commented Nov 11, 2011

Thank you for digging into it! Good find, but I haven't set any paths myself. PYTHONPATH and the linker daemon paths, are not set.

I've removed ".sage" from my home, but that makes no difference still.

This is my path:

echo $PATH

/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/games/bin

This is what python returns:


python -c "import IPython; print IPython.file"

/usr/lib64/python2.7/site-packages/ipython-0.11-py2.7.egg/IPython/init.pyc

I've been looking at the start up sage script, it calls sage-env that sets its variables:


$ cat /usr/bin/sage-env
#!/bin/bash

if [[ -z ${DOT_SAGE} ]]; then
export DOT_SAGE="${HOME}/.sage"
fi

export SAGE_STARTUP_FILE="${DOT_SAGE}/init.sage"
export SAGE_TESTDIR="${DOT_SAGE}/tmp"
export SAGE_SERVER="http://www.sagemath.org/"

export EPYTHON=python2.7

these are the sage variables that are set:


env | grep SAGE
SAGE_DATA=/usr/share/sage/data
SAGE_LOCAL=/usr/
SAGE_ROOT=/usr/share/sage
SAGE_DOC=/usr/share/sage/devel/sage/doc


I wasn't aware there are so many sage scripts. I tried to start them, but a lot generate errors. Maybe their error message give you a hint. Obviously they all are not able to load python modules. So it looks like, there is indeed something wrong with the search path. But where is it set?


sage-eval
Setting permissions of DOT_SAGE directory so only you can read and write it.
Traceback (most recent call last):
File "/usr/bin/sage-eval", line 4, in
from sage.all import *
File "/usr/lib64/python2.7/site-packages/sage/all.py", line 68, in
from sage.misc.all import * # takes a while
File "/usr/lib64/python2.7/site-packages/sage/misc/all.py", line 58, in
from log import log_html, log_dvi, log_text
File "/usr/lib64/python2.7/site-packages/sage/misc/log.py", line 64, in
import interpreter
File "/usr/lib64/python2.7/site-packages/sage/misc/interpreter.py", line 95, in
import IPython.ipapi

ImportError: No module named ipapi

cython:


sage-cython
Traceback (most recent call last):
File "/usr/bin/sage-cython", line 7, in
pyx_file = os.path.abspath(args[-1])

IndexError: list index out of range

cleaner


sage-cleaner
Traceback (most recent call last):
File "/usr/bin/sage-cleaner", line 25, in
DOT_SAGE = os.environ['DOT_SAGE']
File "/usr/lib64/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)

KeyError: 'DOT_SAGE'

sage-eval


sage-eval
Traceback (most recent call last):
File "/usr/bin/sage-eval", line 4, in
from sage.all import *
File "/usr/lib64/python2.7/site-packages/sage/all.py", line 68, in
from sage.misc.all import * # takes a while
File "/usr/lib64/python2.7/site-packages/sage/misc/all.py", line 58, in
from log import log_html, log_dvi, log_text
File "/usr/lib64/python2.7/site-packages/sage/misc/log.py", line 64, in
import interpreter
File "/usr/lib64/python2.7/site-packages/sage/misc/interpreter.py", line 95, in
import IPython.ipapi

ImportError: No module named ipapi

ipython, well we know:


sage-ipython
Traceback (most recent call last):
File "/usr/bin/sage-ipython", line 19, in
from IPython.CrashHandler import CrashHandler

ImportError: No module named CrashHandler

Owner

cschwan commented Nov 11, 2011

Everything looks fine so far. Note that most sage scripts are not meant to be invoked directly, so its not very surprising they fail. Does removing ~/.ipython make a difference?

elteck commented Nov 11, 2011

MMMmm, there is no ~/.ipython in my home folder....

Here is (the ~/.* part) of my home folder:


ls -al
total 288
drwxr-xr-x 40 george george 4096 Nov 11 07:46 .
drwxr-xr-x 4 root root 4096 Oct 9 01:33 ..
drwxr-xr-x 4 george george 4096 Oct 11 22:15 .Scilab
drwx------ 5 george george 4096 Nov 8 22:56 .Skype
drwxr-xr-x 2 george george 4096 Oct 10 01:26 .VirtualBox
-rw------- 1 george george 162 Nov 11 07:46 .Xauthority
drwx------ 4 george george 4096 Nov 9 21:30 .adobe
-rw------- 1 george george 5364 Nov 11 00:15 .bash_history
-rw-r--r-- 1 george george 127 Oct 6 00:41 .bash_logout
-rw-r--r-- 1 george george 193 Oct 6 00:41 .bash_profile
-rw-r--r-- 1 george george 1546 Nov 10 22:47 .bashrc
-rw-r--r-- 1 george george 1453 Oct 29 09:34 .bashrc~
drwx------ 4 george george 4096 Oct 16 00:23 .cache
drwxr-xr-x 9 george george 4096 Oct 28 23:19 .config
drwx------ 3 george george 4096 Oct 9 20:59 .dbus
-rw------- 1 george george 26 Oct 9 09:48 .dmrc
drwx------ 2 george george 4096 Oct 17 22:07 .dosbox
drwx------ 3 george george 4096 Oct 9 18:27 .emacs.d
-rw------- 1 george george 16 Oct 9 15:42 .esd_auth
drwxr-xr-x 3 george george 4096 Oct 9 20:57 .felix
drwxr-xr-x 2 george george 4096 Oct 16 00:23 .fontconfig
-rw-r--r-- 1 george george 508 Nov 6 22:51 .fonts.conf
drwx------ 2 george george 4096 Nov 10 23:06 .gconf
drwx------ 2 george george 4096 Nov 11 00:16 .gconfd
drwxr-xr-x 3 george george 4096 Nov 5 23:26 .gentoo
drwxr-xr-x 22 george george 4096 Oct 16 00:29 .gimp-2.6
drwx------ 2 george george 4096 Nov 6 23:27 .gnupg
drwxr-xr-x 2 george george 4096 Oct 16 23:16 .gstreamer-0.10
-rw-r--r-- 1 george george 420 Nov 10 01:10 .gtkrc-2.0
lrwxrwxrwx 1 george george 23 Nov 10 01:10 .gtkrc-2.0-kde4 -> /home/george/.gtkrc-2.0
drwx------ 4 george george 4096 Oct 9 09:49 .kde4
-rw------- 1 george george 49 Oct 11 19:59 .lesshst
drwxr-xr-x 3 george george 4096 Oct 9 09:49 .local
drwx------ 3 george george 4096 Oct 9 17:00 .macromedia
drwxr-xr-x 3 george george 4096 Oct 9 20:26 .matlab
drwx------ 5 george george 4096 Oct 9 18:19 .mozilla
drwxr-xr-x 2 george george 4096 Oct 9 19:38 .mplayer
drwxr-xr-x 17 george george 4096 Oct 20 00:24 .opera
drwx------ 3 george george 4096 Oct 9 16:58 .pki
drwx------ 2 george george 4096 Nov 11 07:46 .pulse
-rw------- 1 george george 256 Oct 9 09:49 .pulse-cookie
drwxr-xr-x 4 george george 4096 Nov 10 23:00 .sage
drwx------ 2 george george 4096 Oct 6 02:31 .ssh
drwxr-xr-x 2 george george 4096 Oct 9 23:49 .themes
drwx------ 3 george george 4096 Oct 10 01:07 .thumbnails
-rw-r--r-- 1 george george 7505 Oct 20 22:22 .xscreensaver
-rw------- 1 george george 33479 Nov 11 07:52 .xsession-errors
drwx------ 2 george george 4096 Oct 9 09:49 Desktop
drwx------ 3 george george 4096 Nov 10 23:45 Downloads

Owner

cschwan commented Nov 14, 2011

I am running out of options ... does (re)moving the ./sage directory help (make a backup first)?

elteck commented Nov 15, 2011

I've tried that, and I just tried it again, but that doesn't help either. Yesterday I've carefully read through the threat you mentioned above. So I searched through ~/.local, but haven't been able to find a clue either. I did run the python updater, removed and re-installed iphython. Obviously it's a problem with the search path, because if I look in "/usr/lib/python2.7/site-packages/IPython", all modules, including the CrashHandler are installed. And Sage is using my system python (2.7). It's strange, I did a fresh install of Linux, installed Sage, no modifications are anything. Maybe, it's some use flag setting, or package I've installed, that does something to Python. I don't know yet.
If I'm able to find it, I'll surely let you know.

elteck commented Nov 15, 2011

Found the cause, and solved it!!!
When browsing through the /usr/lib64/python-2.7/site-packages/ I noticed that I had a IPython folder and a IPython-0.10.1-py-2.7.egg-info file. However, the version of ipython that was installed, is ipyhon-0.10.2. Indeed, after emerge --unmerge ipython, this egg-info file stayed behind. After removing that file and re-installing ipython a second (or actually third time), the problem was solved! Now Sage runs, and works as it should be :). One little nasty file, can break it all.... Oh well, it is solved! :)

Thanks for all your effort and bringing one of the most powerful math packages to Gentoo!

George

@elteck elteck closed this Nov 15, 2011

Owner

cschwan commented Nov 15, 2011

Youre welcome! And thanks for reporting the reason - maybe this will help others in the future ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment