Date: Tue, 28 May 2013 08:18:06 +1000
Subject: Re: Encodign issue in Python 3.3.1 (once again)
From: ros...@gmail.com
To: python-list@python.org
[...]
This is something that's utterly trivial, yet a window to your mind.
It's like boarding an airliner
don't ya have something intelligent to say motherfucker?
2013/5/28 rusi rustompm...@gmail.com
On May 28, 10:55 am, Νίκος Γκρ33κ nikos.gr...@gmail.com wrote:
Ôç Ôñßôç, 28 ÌáÀïõ 2013 1:18:06 ð.ì. UTC+3, ï ÷ñÞóôçò Chris Angelico
Ýãñáøå:
You're effectively asking people to put in a few
Τη Πέμπτη, 30 Μαΐου 2013 8:28:56 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
Wonder how much less exciting this mailing list would be if he
switched to decaf...
decaf is like tasting coffee without coffee!
Caffeine gives the coffee a nice taste and make me sweaty and panik too if when
i
Can ypou tell me how to install MySQLdb in python 3 using pip?
pip install MySQLdb doesnt find the module.
--
http://mail.python.org/mailman/listinfo/python-list
On 05/29/2013 04:30 AM, nagia.rets...@gmail.com wrote:
What makes us o sure it is a pymysql issue and not python's encoding
issue?
The original traceback, which showed that the encoding error was
happening in
/opt/python3/lib/python3.3/site-packages/pymysql/cursors.py, line 108.
As was said,
Τη Πέμπτη, 30 Μαΐου 2013 12:29:56 μ.μ. UTC+3, ο χρήστης Michael Torrie έγραψε:
On 05/29/2013 04:30 AM, nagia.rets...@gmail.com wrote:
What makes us o sure it is a pymysql issue and not python's encoding
issue?
The original traceback, which showed that the encoding error was
Τη Πέμπτη, 30 Μαΐου 2013 1:53:33 μ.μ. UTC+3, ο χρήστης nagia@gmail.com
έγραψε:
Τη Πέμπτη, 30 Μαΐου 2013 12:29:56 μ.μ. UTC+3, ο χρήστης Michael Torrie έγραψε:
On 05/29/2013 04:30 AM, nagia.rets...@gmail.com wrote:
What makes us o sure it is a pymysql issue and not python's
On Thu, May 30, 2013 at 8:53 PM, nagia.rets...@gmail.com wrote:
Good morning Michael,
I'am afraid as much as you dont want to admin it that the moment i append the
charset directive into the connections tring i receive a huge error which it
can be displayed in:
Τη Πέμπτη, 30 Μαΐου 2013 2:33:56 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
On Thu, May 30, 2013 at 8:53 PM, nagia.rets...@gmail.com wrote:
Good morning Michael,
I'am afraid as much as you dont want to admin it that the moment i append
the charset directive into the connections
On 05/30/2013 05:47 AM, Νίκος Γκρ33κ wrote:
The moen i switched charset = 'utf-8' = charset = 'utf8' all
started to work properly!
Glad you have it working.
Perhaps this should be a lesson to you, Nick. Chris was able to spot
your problem by READING THE DOCUMENTATION, which he probably found
On Fri, May 31, 2013 at 12:35 AM, Michael Torrie torr...@gmail.com wrote:
On 05/30/2013 05:47 AM, Νίκος Γκρ33κ wrote:
The moen i switched charset = 'utf-8' = charset = 'utf8' all
started to work properly!
Glad you have it working.
Perhaps this should be a lesson to you, Nick. Chris was
On 05/30/2013 08:40 AM, Chris Angelico wrote:
but if he's actively using the module, he probably knows where to
find its docs.
One would hope, but alas one probably hopes in vain. I'm not sure he
wants to spend the time to read the code he's using and understand.
He's in too much of a hurry to
On Fri, May 31, 2013 at 3:01 AM, Michael Torrie torr...@gmail.com wrote:
On 05/30/2013 08:40 AM, Chris Angelico wrote:
but if he's actively using the module, he probably knows where to
find its docs.
One would hope, but alas one probably hopes in vain. I'm not sure he
wants to spend the
What makes us o sure it is a pymysql issue and not python's encoding issue?
--
http://mail.python.org/mailman/listinfo/python-list
Τη Τρίτη, 28 Μαΐου 2013 1:18:06 π.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
You're effectively asking people to put in a few minutes' work,
sometimes quite a few minutes, to help you. Is it too much to hope
that you'll spend one more minute on your posts?
No it is not, you are right, i
On May 28, 10:55 am, Νίκος Γκρ33κ nikos.gr...@gmail.com wrote:
Ôç Ôñßôç, 28 ÌáÀïõ 2013 1:18:06 ð.ì. UTC+3, ï ÷ñÞóôçò Chris Angelico Ýãñáøå:
You're effectively asking people to put in a few minutes' work,
sometimes quite a few minutes, to help you. Is it too much to hope
that you'll spend
On 05/27/2013 02:17 PM, Νίκος Γκρ33κ wrote:
I have checked the database through phpMyAdmin and it is indeed UTF-8.
I have no idea why python 3.3.1 chooses to work with latin-iso only
It's not python that is doing this here...
If you look at the source code to pymysql, I'm sure you will
I do not know here to find connections.py Michael.
But i do not understand since iam suing the following 2 statements, why a
unicode error remains.
#needed line, script does *not* work without it
sys.stdout = os.fdopen(1, 'w', encoding='utf-8')
# connect to database
con = pymysql.connect( db =
On 28/05/2013 17:00, Νίκος Γκρ33κ wrote:
I do not know here to find connections.py Michael.
But i do not understand since iam suing the following 2 statements, why a
unicode error remains.
#needed line, script does *not* work without it
sys.stdout = os.fdopen(1, 'w', encoding='utf-8')
#
On 05/28/2013 10:00 AM, Νίκος Γκρ33κ wrote:
I do not know here to find connections.py Michael.
It's part of the pymysql package that you installed. Look in there (the
traceback even shows you where the file is). But you actually don't
even need to look at it on your server. You can see the
con = pymysql.connect( db = 'pelatologio', host = 'localhost', user = 'blabla',
passwd = 'blabla', init_command='SET NAMES UTF8', charset = 'utf-8' )
produces this God knows what error traceback
/home/nikos/public_html/cgi-bin/metrites.py in ()
217 template = htmldata +
On 05/28/2013 10:45 AM, Νίκος Γκρ33κ wrote:
con = pymysql.connect( db = 'pelatologio', host = 'localhost', user =
'blabla', passwd = 'blabla', init_command='SET NAMES UTF8', charset = 'utf-8'
)
produces this God knows what error traceback
Hey at least your database code is now
On Tue, May 28, 2013 at 2:08 PM, nagia.rets...@gmail.com wrote:
Τη Τρίτη, 28 Μαΐου 2013 8:17:05 μ.μ. UTC+3, ο χρήστης Michael Torrie
έγραψε:
Basically you want pelatologio.py to run and then you process the output
through a template, correct?
That is correct.
Inside pelatologio.py
Τη Τρίτη, 28 Μαΐου 2013 8:17:05 μ.μ. UTC+3, ο χρήστης Michael Torrie έγραψε:
Basically you want pelatologio.py to run and then you process the output
through a template, correct?
That is correct.
Inside pelatologio.py
there is some object that you are trying to reference the id attribute
On 05/28/2013 12:08 PM, nagia.rets...@gmail.com wrote:
Τη Τρίτη, 28 Μαΐου 2013 8:17:05 μ.μ. UTC+3, ο χρήστης Michael Torrie
έγραψε:
Basically you want pelatologio.py to run and then you process the
output through a template, correct?
That is correct.
Inside pelatologio.py there is some
Τη Τρίτη, 28 Μαΐου 2013 9:19:21 μ.μ. UTC+3, ο χρήστης Michael Torrie έγραψε:
On 05/28/2013 12:08 PM, nagia.rets...@gmail.com wrote:
Τη Τρίτη, 28 Μαΐου 2013 8:17:05 μ.μ. UTC+3, ο χρήστης Michael Torrie
έγραψε:
Basically you want pelatologio.py to run and then you process the
But i think iam gonna fight it some more because mysqldb in python 3 has issues
too :(
--
http://mail.python.org/mailman/listinfo/python-list
I cant solve this plz help!
--
http://mail.python.org/mailman/listinfo/python-list
On 05/26/2013 11:06 PM, Νίκος Γκρ33κ wrote:
But iu have it set up for 'utf-8' as seen in this statement.
con = pymysql.connect( db = 'metrites', host = 'localhost', user =
'me', passwd = 'somepass', charset='utf-8', init_command='SET NAMES UTF8' )
That might not help... see below.
Yoiu
On 27/05/2013 15:16, Νίκος Γκρ33κ wrote:
I cant solve this plz help!
Sure, all you need do is get your cheque book out. Also have you ever
heard the expression patience is a virtue?
--
If you're using GoogleCrap™ please read this
http://wiki.python.org/moin/GoogleGroupsPython.
Mark
Τη Δευτέρα, 27 Μαΐου 2013 5:45:25 μ.μ. UTC+3, ο χρήστης Mark Lawrence έγραψε:
Sure, all you need do is get your cheque book out. Also have you ever
heard the expression patience is a virtue?
Well, if i'am gonna pay someone and i will at some point because i want my
script to be also
On Tue, May 28, 2013 at 1:37 AM, Νίκος Γκρ33κ nikos.gr...@gmail.com wrote:
Τη Δευτέρα, 27 Μαΐου 2013 5:45:25 μ.μ. UTC+3, ο χρήστης Mark Lawrence έγραψε:
Sure, all you need do is get your cheque book out. Also have you ever
heard the expression patience is a virtue?
Well, if i'am gonna pay
Τη Δευτέρα, 27 Μαΐου 2013 6:52:32 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
So you want to pay someone who won't ask for money?
It may be sordid, but you're going to have to discuss money at some
point if you're serious about paying someone.
Oh, and you may want to hire a typist, too. At
I have checked the database through phpMyAdmin and it is indeed UTF-8.
I have no idea why python 3.3.1 chooses to work with latin-iso only
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, May 28, 2013 at 2:56 AM, Νίκος Γκρ33κ nikos.gr...@gmail.com wrote:
Τη Δευτέρα, 27 Μαΐου 2013 6:52:32 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
Oh, and you may want to hire a typist, too. At the moment, your posts
make you appear not to care about the job.
I always make typos when
This is the code that although correct becaus it works with englisg(standARD
ASCII letters) it wont with Greek:
if( log ):
name = log
# print specific client header info
cur.execute('''SELECT hits, money FROM clients WHERE name = %s''',
(name,) )
data =
Any idea how to correct this encoding issue?
--
http://mail.python.org/mailman/listinfo/python-list
On 5/26/2013 12:36 PM, Νίκος Γκρ33κ wrote:
This is the code that although correct becaus it works with englisg(standARD
ASCII letters) it wont with Greek:
if( log ):
name = log
# print specific client header info
cur.execute('''SELECT hits, money FROM clients WHERE name
No thi is not a mysql issue becaus ei have this line above for storing and
retrieval form database.
con = pymysql.connect( db = 'metrites', host = 'localhost', user = 'me', passwd
= 'somepass', init_command='SET NAMES UTF8' )
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, May 27, 2013 at 7:26 AM, Νίκος Γκρ33κ nikos.gr...@gmail.com wrote:
No thi is not a mysql issue becaus ei have this line above for storing and
retrieval form database.
con = pymysql.connect( db = 'metrites', host = 'localhost', user = 'me',
passwd = 'somepass', init_command='SET
On 26/05/2013 22:26, Νίκος Γκρ33κ wrote:
No thi is not a mysql issue becaus ei have this line above for storing and
retrieval form database.
con = pymysql.connect( db = 'metrites', host = 'localhost', user = 'me', passwd
= 'somepass', init_command='SET NAMES UTF8' )
No wonder the Greek
To: python-list@python.org
From: breamore...@yahoo.co.uk
[...]
No wonder the Greek economy is so screwed up.
--
If you're using GoogleCrap™ please read this
http://wiki.python.org/moin/GoogleGroupsPython.
Mark Lawrence
LOL LOL LOL LOL LOL LOL
On Mon, May 27, 2013 at 8:21 AM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 26/05/2013 22:26, Νίκος Γκρ33κ wrote:
No thi is not a mysql issue becaus ei have this line above for storing and
retrieval form database.
con = pymysql.connect( db = 'metrites', host = 'localhost', user = 'me',
On 26/05/2013 23:32, Chris Angelico wrote:
On Mon, May 27, 2013 at 8:21 AM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 26/05/2013 22:26, Νίκος Γκρ33κ wrote:
No thi is not a mysql issue becaus ei have this line above for storing and
retrieval form database.
con = pymysql.connect( db =
? ???33? nikos.gr...@gmail.com wrote:
This is the code that although correct becaus it works with englisg(standARD
ASCII letters) it wont with Greek:
...
if( log ):
name = log
# print specific client header info
cur.execute('''SELECT hits, money FROM clients WHERE name =
But iu have it set up for 'utf-8' as seen in this statement.
con = pymysql.connect( db = 'metrites', host = 'localhost', user =
'me', passwd = 'somepass', charset='utf-8', init_command='SET NAMES UTF8' )
Yoiu mean i shoudl chnag eit to greek isoo= (iso-8859-7)
but then i store english names
46 matches
Mail list logo