Hello,

Logfile is below. I am trying to convert my old sageNB .sws files to .ipynb 
by using the scripts described in this answer: 
https://ask.sagemath.org/question/35873/how-to-automatically-convert-many-sws-to-ipynb/
 
.  I am running Debian 9 with Sage 8.5 compiled from source.

----------------------------

Found local metadata for rst2ipynb-0.2.2.p0
Attempting to download package rst2ipynb-0.2.2.tar.gz from mirrors
http://www.cecm.sfu.ca/sage/spkg/upstream/rst2ipynb/rst2ipynb-0.2.2.tar.gz
[......................................................................]
rst2ipynb-0.2.2.p0
====================================================
Setting up build directory for rst2ipynb-0.2.2.p0
Finished extraction
Applying patches from ../patches...
Applying ../patches/check-pandoc.patch
patching file setup.py
****************************************************
Host system:
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) 
x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 
6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs 
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared 
--enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-gnu-unique-object 
--disable-vtable-verify --enable-libmpx --enable-plugin 
--enable-default-pie --with-system-zlib --disable-browser-plugin 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--with-target-system-zlib --enable-objc-gc=auto --enable-multiarch 
--with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 
--enable-multilib --with-tune=generic --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) 
****************************************************
No record that 'rst2ipynb' was ever installed; skipping uninstall
Installing rst2ipynb-0.2.2.p0
Installing package rst2ipynb using pip2
Ignoring indexes: https://pypi.org/simple
Created temporary directory: /tmp/pip-ephem-wheel-cache-hgH4Lu
Created temporary directory: /tmp/pip-req-tracker-cEFy_v
Created requirements tracker '/tmp/pip-req-tracker-cEFy_v'
Created temporary directory: /tmp/pip-install-F4qiNN
Processing 
/home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0/src
  Created temporary directory: /tmp/pip-req-build-ha7Nw9
  Added 
file:///home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0/src
 
to build tracker '/tmp/pip-req-tracker-cEFy_v'
  Running setup.py (path:/tmp/pip-req-build-ha7Nw9/setup.py) egg_info for 
package from 
file:///home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0/src
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/rst2ipynb.egg-info
    writing requirements to pip-egg-info/rst2ipynb.egg-info/requires.txt
    writing pip-egg-info/rst2ipynb.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/rst2ipynb.egg-info/top_level.txt
    writing dependency_links to 
pip-egg-info/rst2ipynb.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/rst2ipynb.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/rst2ipynb.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/rst2ipynb.egg-info/SOURCES.txt'
  Source in /tmp/pip-req-build-ha7Nw9 has version 0.2.2, which satisfies 
requirement rst2ipynb==0.2.2 from 
file:///home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0/src
  Removed rst2ipynb==0.2.2 from 
file:///home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0/src
 
from build tracker '/tmp/pip-req-tracker-cEFy_v'
Installing collected packages: rst2ipynb
  Created temporary directory: /tmp/pip-record-nHree1
  Running setup.py install for rst2ipynb: started
    Running command /home/miguel/Downloads/sage-8.5/local/bin/python2 -u -c 
"import setuptools, 
tokenize;__file__='/tmp/pip-req-build-ha7Nw9/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg 
install --record /tmp/pip-record-nHree1/install-record.txt 
--single-version-externally-managed --root 
/home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0/inst
 
--compile
    running install
    error: rst2ipynb requires the Haskell program 'pandoc'. You need to 
install it on your system.
    Running setup.py install for rst2ipynb: finished with status 'error'
Cleaning up...
  Removing source in /tmp/pip-req-build-ha7Nw9
Removed build tracker '/tmp/pip-req-tracker-cEFy_v'
Command "/home/miguel/Downloads/sage-8.5/local/bin/python2 -u -c "import 
setuptools, 
tokenize;__file__='/tmp/pip-req-build-ha7Nw9/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg 
install --record /tmp/pip-record-nHree1/install-record.txt 
--single-version-externally-managed --root 
/home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0/inst
 
--compile" failed with error code 1 in /tmp/pip-req-build-ha7Nw9/
Exception information:
Traceback (most recent call last):
  File 
"/home/miguel/Downloads/sage-8.5/local/lib/python2.7/site-packages/pip/_internal/basecommand.py",
 
line 141, in main
    status = self.run(options, args)
  File 
"/home/miguel/Downloads/sage-8.5/local/lib/python2.7/site-packages/pip/_internal/commands/install.py",
 
line 347, in run
    use_user_site=options.use_user_site,
  File 
"/home/miguel/Downloads/sage-8.5/local/lib/python2.7/site-packages/pip/_internal/req/__init__.py",
 
line 49, in install_given_reqs
    **kwargs
  File 
"/home/miguel/Downloads/sage-8.5/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py",
 
line 972, in install
    spinner=spinner,
  File 
"/home/miguel/Downloads/sage-8.5/local/lib/python2.7/site-packages/pip/_internal/utils/misc.py",
 
line 701, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command 
"/home/miguel/Downloads/sage-8.5/local/bin/python2 -u -c "import 
setuptools, 
tokenize;__file__='/tmp/pip-req-build-ha7Nw9/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg 
install --record /tmp/pip-record-nHree1/install-record.txt 
--single-version-externally-managed --root 
/home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0/inst
 
--compile" failed with error code 1 in /tmp/pip-req-build-ha7Nw9/
Error: installing with pip2 failed
********************************************************************************
Error installing rst2ipynb-0.2.2.p0
********************************************************************************

real 0m1.351s
user 0m1.160s
sys 0m0.144s
************************************************************************
Error installing package rst2ipynb-0.2.2.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  /home/miguel/Downloads/sage-8.5/logs/pkgs/rst2ipynb-0.2.2.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0 
and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd 
'/home/miguel/Downloads/sage-8.5/local/var/tmp/sage/build/rst2ipynb-0.2.2.p0' 
&& '/home/miguel/Downloads/sage-8.5/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to