Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91251

Re: SyntaxError on progress module

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'porting': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'python': 0.11; 'syntax': 0.13; 'everyone,': 0.15; '3.3.': 0.16; 'guess.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reinstated': 0.16; 'rough': 0.16; 'setuptools': 0.16; 'syntaxerror:': 0.16; 'used:': 0.16; 'wrote:': 0.16; 'language': 0.19; 'handling': 0.20; 'lawrence': 0.22; 'strip': 0.22; 'module': 0.23; '3.0': 0.23; 'ease': 0.23; "i've": 0.24; 'header:In-Reply- To:1': 0.24; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'appreciated.': 0.27; 'error': 0.27; 'skip:( 20': 0.28; 'fine': 0.29; "i'm": 0.29; 'environment': 0.29; 'language.': 0.32; 'running': 0.34; 'file': 0.34; 'to:addr :python-list': 0.35; 'unicode': 0.35; 'list': 0.35; 'but': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'front': 0.38; 'progress': 0.38; 'virtual': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'mark': 0.40; 'some': 0.40; 'our': 0.64; 'due': 0.65; 'believe': 0.67; 'demand': 0.79; 'received:89': 0.80; 'pip': 0.84; 'pythonistas,': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: SyntaxError on progress module
Date Tue, 26 May 2015 16:59:01 +0100
References <csjitvF6cptU1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host host-89-240-166-61.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
In-Reply-To <csjitvF6cptU1@mid.individual.net>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.58.1432655950.5151.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432655950 news.xs4all.nl 2963 [2001:888:2000:d::a6]:54624
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91251

Show key headers only | View raw


On 26/05/2015 16:48, alb wrote:
> Hi everyone,
>
> I've installed the 'progress' module (ver 1.2) and I have the following
> error when used:
>
>    File "/home/debian/repos/2418_IASI-NG/Documents/Tools/tex_tool/venv/local/lib/python3.2/site-packages/progress/bar.py", line 48
>      empty_fill = u'∙'
>                        ^
> SyntaxError: invalid syntax
>
> I believe I have some problems with unicode handling but it's just a
> rough guess.
>
> I'm running in a virtual environment with python3.2 with the following
> configuration:
>
> (venv)debian@debian:tex_tool$ pip list
> pip (7.0.1)
> progress (1.2)
> pypandoc (0.9.7)
> setuptools (15.0)
>
> Any suggestions/comments/pointer is appreciated.
>
> Al
>

Python 3.0 removed the 'u' for unicode in front of strings but due to 
popular demand to ease porting it was reinstated in 3.3.  Strip it away 
and you should be fine to go.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

SyntaxError on progress module al.basili@gmail.com (alb) - 2015-05-26 15:48 +0000
  Re: SyntaxError on progress module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-26 16:59 +0100
    Re: SyntaxError on progress module al.basili@gmail.com (alb) - 2015-05-27 07:30 +0000
      Re: SyntaxError on progress module David Palao <dpalao.python@gmail.com> - 2015-05-27 09:47 +0200
      Re: SyntaxError on progress module Chris Angelico <rosuav@gmail.com> - 2015-05-27 18:22 +1000
      Re: SyntaxError on progress module Cecil Westerhof <Cecil@decebal.nl> - 2015-05-27 10:42 +0200
        Re: SyntaxError on progress module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-27 14:44 +0100
          Re: SyntaxError on progress module Cecil Westerhof <Cecil@decebal.nl> - 2015-05-27 16:11 +0200
            Re: SyntaxError on progress module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-27 15:51 +0100
              Re: SyntaxError on progress module Cecil Westerhof <Cecil@decebal.nl> - 2015-05-27 17:18 +0200
                Re: SyntaxError on progress module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-27 21:03 +0100
                Re: SyntaxError on progress module Steven D'Aprano <steve@pearwood.info> - 2015-05-28 11:39 +1000
  Re: SyntaxError on progress module Chris Angelico <rosuav@gmail.com> - 2015-05-27 02:27 +1000
    Re: SyntaxError on progress module al.basili@gmail.com (alb) - 2015-05-27 07:24 +0000

csiph-web