Re: [sage-devel] Missing file in src/build/cythonized/sage/structure/list_clone.c

2016-01-12 Thread Jan Groenewald
Hi

On 12 January 2016 at 16:44, Jeroen Demeyer  wrote:

> On 2016-01-12 15:30, Jan Groenewald wrote:
>
>> Hi
>>
>> The sagemath-upstream-binary in the PPA which excludes most of the src
>> folder, gives this error on startup:
>>
>
> Are you sure that you're not accidentally running the script twice?
>
>
Yes, I'm sure, we get that traceback during running sage once as root in
the postinst script.
Then agani whenever starting sage.

I do NOT get that when I have sagemath-upstream-binary-full installed
(which includes the src folder).

Regards,
Jan

-- 
  .~.
  /V\ Jan Groenewald
 /( )\www.aims.ac.za
 ^^-^^

-- 
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.


Re: [sage-devel] Missing file in src/build/cythonized/sage/structure/list_clone.c

2016-01-12 Thread Jeroen Demeyer

On 2016-01-12 15:30, Jan Groenewald wrote:

Hi

The sagemath-upstream-binary in the PPA which excludes most of the src
folder, gives this error on startup:


Are you sure that you're not accidentally running the script twice?

--
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.


[sage-devel] Missing file in src/build/cythonized/sage/structure/list_clone.c

2016-01-12 Thread Jan Groenewald
Hi

The sagemath-upstream-binary in the PPA which excludes most of the src
folder, gives this error on startup:


Rewriting paths for your new installation directory
===

This might take a few minutes but only has to be done once.

patching /usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c
Traceback (most recent call last):
  File "/usr/lib/sagemath/relocate-once.py", line 85, in 

p('src/build/cythonized/sage/structure/list_clone.c').substitute().save()
  File "/usr/lib/sagemath/relocate-once.py", line 70, in __call__
return FilePatch(self, filename)
  File "/usr/lib/sagemath/relocate-once.py", line 21, in __init__
self.st = os.stat(filename)
OSError: [Errno 2] No such file or directory:
'/usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c'
┌┐
│ SageMath Version 6.10, Release Date: 2015-12-18│

0 jan@muizenberg:~$

Do I really need to ship this with a binary?
(I get this from sagemath-upstream-binary-full which includes the src
folder)

0 jan@muizenberg:/usr/lib/sagemath/src/build$du -hs cythonized/
318Mcythonized/

Funny thing is, basic operations ad plotting work fine, whereas I thought
if relocate-once.py failed sage would not be able to find any of it's
libraries and just crash.

Regards,
Jan

-- 
  .~.
  /V\ Jan Groenewald
 /( )\www.aims.ac.za
 ^^-^^

-- 
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.