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 <alan.ga...@btinternet.com>

>
> "Susana Iraiis Delgado Rodriguez" <susana.delgad...@utzmg.edu.mx> 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 are you running the code on each
> computer - double click in exporer, from IDLE,  from the command line?
>
> Its hard to tell what the problem is from your description.
>
>
>  lyr.datasource = mapnik.Shapefile(base=ruta,file=archivo[0]), it shows
>> Python Runtime Error: wrong file code: -1991225785
>>
>
> But that looks odd, possibly a problem with the python script file itself?
>
>
> --
> Alan Gauld
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
>
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to