Re: Django 1.5.1, gdal 1.9.2: segmentation fault on DataSource import

2013-05-13 Thread Fernando Rocha
> I find weird pygame reference there, do you also have pygame > installed)? > I've just tested on a env without pygame and: In [4]: In [6]: lgdal['GDALVersionInfo'](b'RELEASE_NAME') zsh: segmentation fault (core dumped) python manage.py shell -- You received this message because you are subscr

Re: Django 1.5.1, gdal 1.9.2: segmentation fault on DataSource import

2013-05-13 Thread Fernando Rocha
Same here (also running Arch Linux), by running functions on shell: --- In [1]: from ctypes import CDLL In [3]: lib_path = '/usr/lib/libgdal.so' In [4]: lgdal = CDLL(lib_path) In [5]: lgdal['GDALVersionInfo'] Out[5]: <_FuncPtr object at 0x52447a0> In [6]: lgdal['GDALVersionInfo'](b'RELEASE_NAM

Re: What's your opinion about nested apps?

2013-01-12 Thread Fernando Rocha
On Jan 12, 11:37 am, David Medina wrote: > It's only a email typo, never mind. I wanted to explain the "nested" > concept with code. > > The main question could be: *Has it any side effects?*, Third apps maybe?. I had some issues with commands with an app that uses a similar structure. More ab

Re: Which Linux distro to use on EC2?

2011-11-14 Thread Fernando Rocha
I also agree that you should start with you are familiar with. In my personal experience, after experimenting some. I choose the Basic Amazon AMI, which is Centos compatible. It was what worked best for me. []s On Nov 13, 4:56 pm, ydjango wrote: > I am setting up nginex, apache, python django,

Re: Django as a Standalone Desktop Application

2011-10-21 Thread Fernando Rocha
execute_manager(manage.settings, ['manage.py', 'runserver', '0.0.0.0:8000']) So, the person on the other side has to just install python installer, enter the project directory and double click bootstrap.py. []s Fernando Rocha ps.: Sqlite as backend. -- http://about.m