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


Groups > comp.lang.python > #50036

Re: Geo Location extracted from visitors ip address

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.152
X-Spam-Level *
X-Spam-Evidence '*H*': 0.70; '*S*': 0.00; 'scripts': 0.03; 'that?': 0.05; 'skip:/ 10': 0.09; 'cc:addr:python-list': 0.11; 'desktops': 0.16; 'likely.': 0.16; 'origin.': 0.16; 'through.': 0.16; '\xc2\xa0i': 0.16; 'wrote:': 0.18; 'pointed': 0.19; 'cc:addr:python.org': 0.22; 'server.': 0.24; 'cc:2**0': 0.24; 'permission': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'cgi': 0.31; 'file:': 0.31; "user's": 0.31; 'file': 0.32; 'probably': 0.32; 'url:python': 0.33; 'running': 0.33; 'addresses': 0.33; 'fri,': 0.33; 'subject:from': 0.34; 'except': 0.35; 'more,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'problems': 0.38; 'city.': 0.38; 'pm,': 0.38; 'aside': 0.39; 'users': 0.40; 'url:mail': 0.40; 'even': 0.60; 'phones': 0.60; 'full': 0.61; 'first': 0.61; "you've": 0.63; 'information': 0.63; 'kind': 0.63; 'such': 0.63; 'city': 0.66; 'between': 0.67; 'dont': 0.67; 'wish': 0.70; '8bit%:92': 0.71; 'to,': 0.72; 'jul': 0.74; 'directory:': 0.84; 'located.': 0.84; 'subject:Location': 0.84; 'joel': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ykBLnnRGDGJ1+ah3qXKaEEVDae8wQmnfizR5h07emhY=; b=vbCzXHENTyeJs5bUB6zwQlWU/o56zog5zJaaI0vq6s3Rq9o5/+QIWy7Cy2NNOCXSX9 RsB0nGT8/CT7eShlJtLRWNQhUNxws8BqiksKiHiSp8KPfipA+H+FWuMVWRnN/E+pV0Q9 A9b7JbA+tQ/yK4vtuxDc5G6HG7GxRsZy/TsPrDamItglqGV8ChmgfUOK6dRDvVDwTJF8 VJJfHiV4Cw1XtCEs1EhigeAPdQknttSYxv5kfpoMSFnkY2hEJEp6PvcFusufclhCcvk7 6GNmHrcG7+nwn3zy1hLAwCBZ0jzk6hqI5kNB943ji8YdwSIG2b2YEGRN5FD32nAJtbvV U0og==
MIME-Version 1.0
X-Received by 10.221.55.132 with SMTP id vy4mr8636134vcb.73.1373074306724; Fri, 05 Jul 2013 18:31:46 -0700 (PDT)
In-Reply-To <kr7qq2$vqj$1@news.grnet.gr>
References <kr75jj$eqv$1@news.grnet.gr> <mailman.4310.1373054197.3114.python-list@python.org> <kr7me1$jco$1@news.grnet.gr> <kr7mjs$jco$2@news.grnet.gr> <kr7n56$jco$3@news.grnet.gr> <mailman.4319.1373072195.3114.python-list@python.org> <kr7qq2$vqj$1@news.grnet.gr>
Date Fri, 5 Jul 2013 21:31:46 -0400
Subject Re: Geo Location extracted from visitors ip address
From Joel Goldstick <joel.goldstick@gmail.com>
To Νίκος Gr33k <nikos@superhost.gr>
Content-Type multipart/alternative; boundary=001a1133959e4da24d04e0cdc6fe
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4320.1373074314.3114.python-list@python.org> (permalink)
Lines 160
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373074314 news.xs4all.nl 15876 [2001:888:2000:d::a6]:48080
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50036

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jul 5, 2013 at 9:10 PM, Νίκος Gr33k <nikos@superhost.gr> wrote:

> Στις 6/7/2013 3:56 πμ, ο/η Joel Goldstick έγραψε:
>
>>
>> Your code is not finding /root/GeoIPCity.dat because your directory has
>> this file: GeoLiteCity.dat
>>
>>     FileNotFoundError: [Errno 2] No such file or directory:
>>     '/root/GeoIPCity.dat'
>>
>
> My mistake.
> Is there a differnce between GeoLiteCity.dat and GeoIPCity.dat
>
>
>  Aside from that you might have some permission problems since the file
>> is owned by root.
>>
>
> But he cgi scripts when running have full access to the server.
> No? or they only have the kind of access that their user has also?
>
>
>
>
>  As was also pointed out, you only get information about where your isp
>> is located.
>>
> Its the best i can get to, since there is no other way to match the users
> city.
>
> Β  Phones and tablets find location from triangulating cell
>
>> towers.Β  I don't think that laptops have that capability, and desktops
>> probably even less likely.
>>
>
> What do you mean by that?
>



>
>  What is the purpose that you wish to serve.Β  I don't think you've
>> thought this through.
>>
>
> I just dont want to store visitor's ip addresses any more, i prefer to
> store its city of origin.
>
> Except its the ISP city that you are getting, not the user's

>
>
> --
> What is now proved was at first only imagined!
> --
> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
>



-- 
Joel Goldstick
http://joelgoldstick.com

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


Thread

Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-05 22:08 +0300
  Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-05 14:58 -0500
    Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 02:55 +0300
      Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 02:58 +0300
        Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 03:08 +0300
          Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 20:56 -0400
            Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 04:10 +0300
              Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 04:41 +0300
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 11:01 +0300
                Re: Geo Location extracted from visitors ip address Chris Angelico <rosuav@gmail.com> - 2013-07-06 18:30 +1000
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 11:41 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 06:20 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:14 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 15:32 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:51 +0300
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-07 12:40 +0300
                Re: Geo Location extracted from visitors ip address Dave Angel <davea@davea.name> - 2013-07-06 07:49 -0400
                Re: Geo Location extracted from visitors ip address Robert Kern <robert.kern@gmail.com> - 2013-07-06 11:21 +0100
                Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-08 14:27 +0000
                Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-08 14:27 +0000
              Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 21:31 -0400
              Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-05 22:52 -0400
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 10:10 +0300
                Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-06 10:43 -0400
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:12 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 15:33 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:49 +0300
                Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-06 18:36 -0400
  Re: Geo Location extracted from visitors ip address Support by Νίκος <nikos@superhost.gr> - 2013-07-05 22:59 +0300
  Re: Geo Location extracted from visitors ip address Tim Roberts <timr@probo.com> - 2013-07-05 13:44 -0700
    Re: Geo Location extracted from visitors ip address Dave Angel <davea@davea.name> - 2013-07-05 17:18 -0400
    Re: Geo Location extracted from visitors ip address Chris Angelico <rosuav@gmail.com> - 2013-07-06 11:06 +1000
  Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-05 17:21 -0500
  Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-05 22:24 +0000
  [OT] Re: Geo Location extracted from visitors ip address Tony the Tiger <tony@tiger.invalid> - 2013-07-06 13:23 -0500
  Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 15:23 -0400
  Re: Geo Location extracted from visitors ip address Jerry Hill <malaclypse2@gmail.com> - 2013-07-05 15:28 -0400
  Re: Geo Location extracted from visitors ip address Support by Νίκος <nikos@superhost.gr> - 2013-07-05 22:43 +0300

csiph-web