Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57509 > unrolled thread
| Started by | Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> |
|---|---|
| First post | 2013-10-25 12:50 +0300 |
| Last post | 2013-10-25 15:22 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
Cookie aint retrieving when visiting happens from a backlink. Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-10-25 12:50 +0300
Re: Cookie aint retrieving when visiting happens from a backlink. Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-25 15:22 +0000
| From | Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-10-25 12:50 +0300 |
| Subject | Cookie aint retrieving when visiting happens from a backlink. |
| Message-ID | <l4detn$dbi$1@dont-email.me> |
[code]
Hello, i was happy to see that a python module for geoip2 came out.
But unfortunately when i tried to install it:
root@secure [~]# pip install geoip2[DB]
Downloading/unpacking geoip2[db]
Running setup.py egg_info for package geoip2
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip-build/geoip2/setup.py", line 29, in <module>
long_description=open('README.rst').read(),
File "/usr/local/bin/python/lib/python3.3/encodings/ascii.py",
line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in
position 2255: ordinal not in range(128)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip-build/geoip2/setup.py", line 29, in <module>
long_description=open('README.rst').read(),
File "/usr/local/bin/python/lib/python3.3/encodings/ascii.py", line
26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position
2255: ordinal not in range(128)
----------------------------------------
Command python setup.py egg_info failed with error code 1 in
/tmp/pip-build/geoip2
Storing complete log in /root/.pip/pip.log
root@secure [~]#
[/code]
What is wrong and the module cannot be installed?
[toc] | [next] | [standalone]
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Date | 2013-10-25 15:22 +0000 |
| Message-ID | <l4e2b6$99a$4@dont-email.me> |
| In reply to | #57509 |
On Fri, 25 Oct 2013 12:50:47 +0300, Νίκος Αλεξόπουλος wrote: > Hello, i was happy to see that a python module for geoip2 came out. What has this got to do with your cookies problem? > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position > 2255: ordinal not in range(128) > What is wrong and the module cannot be installed? 'ascii' codec can't decode byte 0xe7 in position 2255: ordinal not in range(128) Hmm, let me try and phrase this in a way you might understand: You fed poison to baby. Baby got sick and died. -- Denis McMahon, denismfmcmahon@gmail.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web