Re: [sage-devel] sage -b fail

2016-07-18 Thread Jeroen Demeyer

On 2016-07-18 14:48, 'Paul Mercat' via sage-devel wrote:

But this command doesn't work even if I don't make any change in the
source code.


Note that changing git branches counts as changing source code. So
I bet that you *did* make changes to the Sage source code since the last 
time you ran "make" successfully.


Anyway, when in doubt: run "make" (or "make build" to skip the 
documentation) instead of "sage -b".


--
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] sage -b fail

2016-07-18 Thread John Cremona
I have a similar problem, on a machine which has successfully built
Sage in the past.  Version 7.2 (literally commit f76401f).

The last few commainds in history are

make distclean
./configure
make
make

but each of the last two make's ends with the following, also
mentioning sage_setup.autogen.pari:


make[3]: Entering directory `/home/lmfdb/sage/src'
python -c "from sage_setup.autogen.pari import rebuild; rebuild()"
sys:1: RuntimeWarning: not adding directory '' to sys.path since it's
writable by an untrusted group.
Untrusted users could put files in this directory which might then be
imported by your Python code. As a general precaution from similar
exploits, you should not execute Python code from this directory
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named sage_setup.autogen.pari
make[3]: *** [sage/libs/pari/auto_gen.pxi] Error 1
make[3]: Leaving directory `/home/lmfdb/sage/src'

On 18 July 2016 at 14:04, Thierry  wrote:
> I can not reproduce your problem with 7.3.beta7 (downloaded from Sage's
> git/trac server).
>
> That said, if you make some modifications of Sage source code, you can just do
> 'make' afterwards.
>
> Ciao,
> Thierry
>
>
> On Mon, Jul 18, 2016 at 05:48:39AM -0700, 'Paul Mercat' via sage-devel wrote:
>> Yes, I successfully ran 'make'.
>> But I need to run 'sage -b' because I want to modify some things in the
>> source code.
>> But this command doesn't work even if I don't make any change in the source
>> code.
>>
>> Ciao
>> Paul
>>
>> Le lundi 18 juillet 2016 13:24:41 UTC+2, Thierry (sage-googlesucks@xxx) a
>> écrit :
>> >
>> > Hi,
>> >
>> > On Mon, Jul 18, 2016 at 03:48:47AM -0700, 'Paul Mercat' via sage-devel
>> > wrote:
>> > > Hi !
>> > >
>> > > I just installed the last developpement version of sage with
>> > > git clone git://github.com/sagemath/sage.git
>> > > and it compiles correctly on my Ubuntu 16.04 computer.
>> >
>> > Do you mean that at this point you sucessfully ran 'make' ? If so, there
>> > is no
>> > need to run 'sage -b' (or you need to provide more details about your
>> > workflow).
>> >
>> > Ciao,
>> > Thierry
>> >
>> >
>> > > ... qflllTraceback (most recent call last):
>> > >   File "", line 1, in 
>> > >   File "sage_setup/autogen/pari/__init__.py", line 5, in rebuild
>> > > G()
>> > >   File "sage_setup/autogen/pari/generator.py", line 249, in __call__
>> > > self.handle_pari_function(**v)
>> > >   File "sage_setup/autogen/pari/generator.py", line 190, in
>> > > handle_pari_function
>> > > get_rest_doc(function))
>> > >   File "sage_setup/autogen/pari/doc.py", line 365, in get_rest_doc
>> > > return raw_to_rest(raw)
>> > >   File "sage_setup/autogen/pari/doc.py", line 224, in raw_to_rest
>> > > raise SyntaxError("@ found: " + doc[ilow:ihigh])
>> > > SyntaxError: @ found: i,j} <= \|0.51\|`, and the
>> > > Lov@[aacute]sz's constant is :mat
>> > > Makefile:19 : la recette pour la cible « sage/libs/pari/auto_gen.pxi » a
>> > > échouée
>> > > make: *** [sage/libs/pari/auto_gen.pxi] Erreur 1
>> > >
>> > > How can I get ride of this error ?
>> > > I really need to make this works in order to use tools that I have
>> > > developped for sage.
>> > >
>> > > Thanks !
>> > > Paul
>> > >
>> > > --
>> > > 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+...@googlegroups.com .
>> > > To post to this group, send email to sage-...@googlegroups.com
>> > .
>> > > Visit this group at https://groups.google.com/group/sage-devel.
>> > > For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>>
>> --
>> 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.
>
> --
> 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.

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

Re: [sage-devel] sage -b fail

2016-07-18 Thread Thierry
I can not reproduce your problem with 7.3.beta7 (downloaded from Sage's
git/trac server).

That said, if you make some modifications of Sage source code, you can just do
'make' afterwards.

Ciao,
Thierry


On Mon, Jul 18, 2016 at 05:48:39AM -0700, 'Paul Mercat' via sage-devel wrote:
> Yes, I successfully ran 'make'.
> But I need to run 'sage -b' because I want to modify some things in the 
> source code.
> But this command doesn't work even if I don't make any change in the source 
> code.
> 
> Ciao
> Paul
> 
> Le lundi 18 juillet 2016 13:24:41 UTC+2, Thierry (sage-googlesucks@xxx) a 
> écrit :
> >
> > Hi, 
> >
> > On Mon, Jul 18, 2016 at 03:48:47AM -0700, 'Paul Mercat' via sage-devel 
> > wrote: 
> > > Hi ! 
> > > 
> > > I just installed the last developpement version of sage with 
> > > git clone git://github.com/sagemath/sage.git 
> > > and it compiles correctly on my Ubuntu 16.04 computer. 
> >
> > Do you mean that at this point you sucessfully ran 'make' ? If so, there 
> > is no 
> > need to run 'sage -b' (or you need to provide more details about your 
> > workflow). 
> >
> > Ciao, 
> > Thierry 
> >
> >
> > > ... qflllTraceback (most recent call last): 
> > >   File "", line 1, in  
> > >   File "sage_setup/autogen/pari/__init__.py", line 5, in rebuild 
> > > G() 
> > >   File "sage_setup/autogen/pari/generator.py", line 249, in __call__ 
> > > self.handle_pari_function(**v) 
> > >   File "sage_setup/autogen/pari/generator.py", line 190, in 
> > > handle_pari_function 
> > > get_rest_doc(function)) 
> > >   File "sage_setup/autogen/pari/doc.py", line 365, in get_rest_doc 
> > > return raw_to_rest(raw) 
> > >   File "sage_setup/autogen/pari/doc.py", line 224, in raw_to_rest 
> > > raise SyntaxError("@ found: " + doc[ilow:ihigh]) 
> > > SyntaxError: @ found: i,j} <= \|0.51\|`, and the 
> > > Lov@[aacute]sz's constant is :mat 
> > > Makefile:19 : la recette pour la cible « sage/libs/pari/auto_gen.pxi » a 
> > > échouée 
> > > make: *** [sage/libs/pari/auto_gen.pxi] Erreur 1 
> > > 
> > > How can I get ride of this error ? 
> > > I really need to make this works in order to use tools that I have 
> > > developped for sage. 
> > > 
> > > Thanks ! 
> > > Paul 
> > > 
> > > -- 
> > > 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+...@googlegroups.com . 
> > > To post to this group, send email to sage-...@googlegroups.com 
> > . 
> > > Visit this group at https://groups.google.com/group/sage-devel. 
> > > For more options, visit https://groups.google.com/d/optout. 
> >
> >
> 
> -- 
> 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.

-- 
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] sage -b fail

2016-07-18 Thread 'Paul Mercat' via sage-devel
Yes, I successfully ran 'make'.
But I need to run 'sage -b' because I want to modify some things in the 
source code.
But this command doesn't work even if I don't make any change in the source 
code.

Ciao
Paul

Le lundi 18 juillet 2016 13:24:41 UTC+2, Thierry (sage-googlesucks@xxx) a 
écrit :
>
> Hi, 
>
> On Mon, Jul 18, 2016 at 03:48:47AM -0700, 'Paul Mercat' via sage-devel 
> wrote: 
> > Hi ! 
> > 
> > I just installed the last developpement version of sage with 
> > git clone git://github.com/sagemath/sage.git 
> > and it compiles correctly on my Ubuntu 16.04 computer. 
>
> Do you mean that at this point you sucessfully ran 'make' ? If so, there 
> is no 
> need to run 'sage -b' (or you need to provide more details about your 
> workflow). 
>
> Ciao, 
> Thierry 
>
>
> > ... qflllTraceback (most recent call last): 
> >   File "", line 1, in  
> >   File "sage_setup/autogen/pari/__init__.py", line 5, in rebuild 
> > G() 
> >   File "sage_setup/autogen/pari/generator.py", line 249, in __call__ 
> > self.handle_pari_function(**v) 
> >   File "sage_setup/autogen/pari/generator.py", line 190, in 
> > handle_pari_function 
> > get_rest_doc(function)) 
> >   File "sage_setup/autogen/pari/doc.py", line 365, in get_rest_doc 
> > return raw_to_rest(raw) 
> >   File "sage_setup/autogen/pari/doc.py", line 224, in raw_to_rest 
> > raise SyntaxError("@ found: " + doc[ilow:ihigh]) 
> > SyntaxError: @ found: i,j} <= \|0.51\|`, and the 
> > Lov@[aacute]sz's constant is :mat 
> > Makefile:19 : la recette pour la cible « sage/libs/pari/auto_gen.pxi » a 
> > échouée 
> > make: *** [sage/libs/pari/auto_gen.pxi] Erreur 1 
> > 
> > How can I get ride of this error ? 
> > I really need to make this works in order to use tools that I have 
> > developped for sage. 
> > 
> > Thanks ! 
> > Paul 
> > 
> > -- 
> > 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+...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
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] sage -b fail

2016-07-18 Thread Thierry
Hi,

On Mon, Jul 18, 2016 at 03:48:47AM -0700, 'Paul Mercat' via sage-devel wrote:
> Hi !
> 
> I just installed the last developpement version of sage with
> git clone git://github.com/sagemath/sage.git
> and it compiles correctly on my Ubuntu 16.04 computer.

Do you mean that at this point you sucessfully ran 'make' ? If so, there is no
need to run 'sage -b' (or you need to provide more details about your
workflow).

Ciao,
Thierry


> ... qflllTraceback (most recent call last):
>   File "", line 1, in 
>   File "sage_setup/autogen/pari/__init__.py", line 5, in rebuild
> G()
>   File "sage_setup/autogen/pari/generator.py", line 249, in __call__
> self.handle_pari_function(**v)
>   File "sage_setup/autogen/pari/generator.py", line 190, in 
> handle_pari_function
> get_rest_doc(function))
>   File "sage_setup/autogen/pari/doc.py", line 365, in get_rest_doc
> return raw_to_rest(raw)
>   File "sage_setup/autogen/pari/doc.py", line 224, in raw_to_rest
> raise SyntaxError("@ found: " + doc[ilow:ihigh])
> SyntaxError: @ found: i,j} <= \|0.51\|`, and the
> Lov@[aacute]sz's constant is :mat
> Makefile:19 : la recette pour la cible « sage/libs/pari/auto_gen.pxi » a 
> échouée
> make: *** [sage/libs/pari/auto_gen.pxi] Erreur 1
> 
> How can I get ride of this error ?
> I really need to make this works in order to use tools that I have 
> developped for sage.
> 
> Thanks !
> Paul
> 
> -- 
> 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.

-- 
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] sage -b fail

2016-07-18 Thread 'Paul Mercat' via sage-devel
Hi !

I just installed the last developpement version of sage with
git clone git://github.com/sagemath/sage.git
and it compiles correctly on my Ubuntu 16.04 computer.
But after that the command "./sage -b" fail with the following error :

... qflllTraceback (most recent call last):
  File "", line 1, in 
  File "sage_setup/autogen/pari/__init__.py", line 5, in rebuild
G()
  File "sage_setup/autogen/pari/generator.py", line 249, in __call__
self.handle_pari_function(**v)
  File "sage_setup/autogen/pari/generator.py", line 190, in 
handle_pari_function
get_rest_doc(function))
  File "sage_setup/autogen/pari/doc.py", line 365, in get_rest_doc
return raw_to_rest(raw)
  File "sage_setup/autogen/pari/doc.py", line 224, in raw_to_rest
raise SyntaxError("@ found: " + doc[ilow:ihigh])
SyntaxError: @ found: i,j} <= \|0.51\|`, and the
Lov@[aacute]sz's constant is :mat
Makefile:19 : la recette pour la cible « sage/libs/pari/auto_gen.pxi » a 
échouée
make: *** [sage/libs/pari/auto_gen.pxi] Erreur 1

How can I get ride of this error ?
I really need to make this works in order to use tools that I have 
developped for sage.

Thanks !
Paul

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