Hi Alan!!
After I read your e-mail, I remebered that I run the scripts in a different
way.
The script worked properly when I run it from Python IDLE, I don't have any
idea the reason why.
2011/5/19 Alan Gauld
>
> "Susana Iraiis Delgado Rodriguez" wrote
>
>
> Well, I tried this code in other
"Susana Iraiis Delgado Rodriguez"
wrote
Well, I tried this code in other computer and it worked just fine.
But when I run the module in my computer it throws many errors,
So what is different between the computers?
What are the respective OS versions and Python versions?
How exactly
Hello everyone!
Well, I tried this code in other computer and it worked just fine. I changed
the line:
lyr.datasource = mapnik.Shapefile(base=filepath, file=filepath)
for lyr.datasource = mapnik.Shapefile(base=ruta,file=archivo[0])
I also did hard coding to test my script:
lyr.datasour
Susana Iraiis Delgado Rodriguez wrote:
>
> Hello Alan!!
> Can you please tell me, how to rebuild my path? I've tried it, but I
> didn't
> succed =(
>
>
The doctest for the Shapefile function includes this line:
>>> shp = Shapefile(base='/home/mapnik/data',file='world_borders')
This tell
ne: 713 - 216 - 5423
From: tutor-bounces+ramit.prasad=jpmchase@python.org
[mailto:tutor-bounces+ramit.prasad=jpmchase@python.org] On Behalf Of Susana
Iraiis Delgado Rodriguez
Sent: Wednesday, May 18, 2011 9:45 AM
To: Alan Gauld
Cc: tutor@python.org
Subject: Re: [Tutor] RuntimeError: file d
On 18 May 2011 15:45, Susana Iraiis Delgado Rodriguez <
susana.delgad...@utzmg.edu.mx> wrote:
> Hello Alan!!
> Can you please tell me, how to rebuild my path? I've tried it, but I didn't
> succed =(
>
> Always post the code you tried, and the full error message you received,
otherwise you make it
Hello Alan!!
Can you please tell me, how to rebuild my path? I've tried it, but I didn't
succed =(
2011/5/17 Alan Gauld
>
> "Susana Iraiis Delgado Rodriguez" wrote
>
>
> message which tells me the file I want to work with
>> doesn't exist, but it does.
>>
>
> I don't believe you! :-)
>
> Trac
"Susana Iraiis Delgado Rodriguez"
wrote
message which tells me the file I want to work with
doesn't exist, but it does.
I don't believe you! :-)
Traceback (most recent call last):...
lyr.datasource = mapnik.Shapefile(base=filepath, file=filepath)
return CreateDatasource(keywords)
Hello Emile!
Well, I changed the values because if I assigned different values, anyways I
got the next error:
Traceback (most recent call last):
File "", line 1, in
File "imagen_shp.py", line 32, in
lyr.datasource = mapnik.Shapefile(base=raiz, file=archivo[0])
File "C:\mapnik-0.7.1\pyt
On 5/17/2011 10:10 AM Susana Iraiis Delgado Rodriguez said...
Hello list!!
I'm using a python dll to create images out from shapefiles. I import a
python module and its functions, when I want to use this library, I get
a message which tells me the file I want to work with doesn't exist, but
it d
Hello list!!
I'm using a python dll to create images out from shapefiles. I import a
python module and its functions, when I want to use this library, I get a
message which tells me the file I want to work with doesn't exist, but it
does. I'm running the script from Windows. This is the code:
impo
11 matches
Mail list logo