Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problem with mercurial-2.2.2.p0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aleksandar Markovic  
View profile  
 More options Oct 5 2012, 1:32 pm
From: Aleksandar Markovic <pervac...@gmail.com>
Date: Fri, 5 Oct 2012 10:32:49 -0700 (PDT)
Local: Fri, Oct 5 2012 1:32 pm
Subject: Problem with mercurial-2.2.2.p0

Hi,

I am trying to install sage from source (since from binary it does not work), and I have a problem with mercurial-2.2.2.p0. I am working on fedora 17, on an Asus Ul-something.

Here is the last part of the installation:
SyntaxError: Non-ASCII character '\xc3' in file /home/aleksandar/Téléchargements/sage-5.3/local/bin/hg on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Mercurial installed correctly, but doesn't seem to work properly.
Running 'hg log' in the directory /home/aleksandar/Téléchargements/sage-5.3/spkg/build/mercurial-2.2.2.p0 failed.

real    0m9.022s
user    0m7.545s
sys     0m0.896s
************************************************************************
Error installing package mercurial-2.2.2.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/aleksandar/Téléchargements/sage-5.3/spkg/logs/mercurial-2.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/aleksandar/Téléchargements/sage-5.3/spkg/build/mercurial-2.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/aleksandar/Téléchargements/sage-5.3/spkg/build/mercurial-2.2.2.p0' && '/home/aleksandar/Téléchargements/sage-5.3/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[1]: *** [installed/mercurial-2.2.2.p0] Erreur 1

I also tried to install mercurial apart, but it is not the same version.

Thanks.

Aleksandar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Drake  
View profile  
 More options Oct 5 2012, 1:56 pm
From: Dan Drake <ddr...@pugetsound.edu>
Date: Fri, 5 Oct 2012 10:56:15 -0700
Local: Fri, Oct 5 2012 1:56 pm
Subject: Re: [sage-devel] Problem with mercurial-2.2.2.p0

On Fri, 05 Oct 2012 at 10:32AM -0700, Aleksandar Markovic wrote:
> SyntaxError: Non-ASCII character '\xc3' in file
> /home/aleksandar/Téléchargements/sage-5.3/local/bin/hg on line 1, but
> no encoding declared; see http://www.python.org/peps/pep-0263.html for
> details

Mercurial is complaining because the non-ASCII characters in the
pathname are not allowed unless an encoding is declared. This seems to
be a problem with either Mercurial or our installation procedure.

As a temporary workaround, you could build Sage in a directory whose
full name has only ASCII characters.

Dan

--
---  Dan Drake
-----  http://math.pugetsound.edu/~ddrake
-------

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aleksandar Markovic  
View profile  
 More options Oct 5 2012, 2:40 pm
From: Aleksandar Markovic <pervac...@gmail.com>
Date: Fri, 5 Oct 2012 11:40:36 -0700 (PDT)
Local: Fri, Oct 5 2012 2:40 pm
Subject: Re: [sage-devel] Problem with mercurial-2.2.2.p0

Thanks. It seems to work. I forgot those stupid french 'é' and 'è'!

Aleks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Demeyer  
View profile  
 More options Oct 5 2012, 2:46 pm
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Fri, 05 Oct 2012 20:46:45 +0200
Local: Fri, Oct 5 2012 2:46 pm
Subject: Re: [sage-devel] Problem with mercurial-2.2.2.p0
On 2012-10-05 19:56, Dan Drake wrote:
> On Fri, 05 Oct 2012 at 10:32AM -0700, Aleksandar Markovic wrote:
>> SyntaxError: Non-ASCII character '\xc3' in file
>> /home/aleksandar/T l chargements/sage-5.3/local/bin/hg on line 1, but
>> no encoding declared; see http://www.python.org/peps/pep-0263.html for
>> details

> Mercurial is complaining because the non-ASCII characters in the
> pathname are not allowed unless an encoding is declared. This seems to
> be a problem with either Mercurial or our installation procedure.

I'd say it's a problem with Python.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Volker Braun  
View profile  
 More options Oct 5 2012, 5:51 pm
From: Volker Braun <vbraun.n...@gmail.com>
Date: Fri, 5 Oct 2012 14:51:46 -0700 (PDT)
Local: Fri, Oct 5 2012 5:51 pm
Subject: Re: [sage-devel] Problem with mercurial-2.2.2.p0

Maybe time to upgrade to Python 3? Much improved unicode seems to be one of
the major selling points...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Drake  
View profile  
 More options Oct 5 2012, 5:59 pm
From: Dan Drake <ddr...@pugetsound.edu>
Date: Fri, 5 Oct 2012 14:59:42 -0700
Local: Fri, Oct 5 2012 5:59 pm
Subject: Re: [sage-devel] Problem with mercurial-2.2.2.p0

On Fri, 05 Oct 2012 at 08:46PM +0200, Jeroen Demeyer wrote:
> I'd say it's a problem with Python.

Python works fine with non-ASCII characters -- if you declare the
encoding. I suppose you could say that needing to declare the encoding
is the problem, but then Python would have to figure out the encoding
automatically, and that way madness lies. (Although assuming UTF-8 when
it's not ASCII seems like a good start. Is that what Python 3 does?)

Someone (us? Mercurial people?) need to get an encoding line into those
source files.

Dan

--
---  Dan Drake
-----  http://math.pugetsound.edu/~ddrake
-------

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean-Pierre Flori  
View profile  
 More options Oct 5 2012, 7:39 pm
From: Jean-Pierre Flori <jpfl...@gmail.com>
Date: Fri, 5 Oct 2012 16:39:15 -0700 (PDT)
Local: Fri, Oct 5 2012 7:39 pm
Subject: Re: Problem with mercurial-2.2.2.p0

I got similar problems for a long time, I just don't build Sage in folders
whose names contain accents :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Demeyer  
View profile  
 More options Oct 6 2012, 5:17 am
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Sat, 06 Oct 2012 11:17:00 +0200
Subject: Re: [sage-devel] Problem with mercurial-2.2.2.p0
On 2012-10-05 23:59, Dan Drake wrote:
> Someone (us? Mercurial people?) need to get an encoding line into those
> source files.

I think it's quite a challenge to get an encoding in the file *before*
the #! line.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »