Re: Snow Leopard Issues?

2009-09-21 Thread Graham Dumpleton



On Sep 21, 8:22 pm, "kelley@gmail.com" 
wrote:
> I'm using it, without macports or fink.  Although I'm having problems
> with sqlite3 (posted here yesterday), I'd say things are going a lot
> smoother than when I was trying things with my previous system.
>
> I have decided not to put either macports or fink on the machine.  So
> far, I've not needed them, and it is a great relief, not having to
> mess about with them.
>
> Note: my sqlite3 problem relates to permissions, since I'm running a
> deployment system, not a development system, and so I need to let user
> _www (apache) and myself both access the database and other files.  I
> think if you're running a development server with sqlite3, things will
> go smoothly.  (As for mysql and postgress, I had problems installing
> both.  I may need to return to one of them, if I can't get this
> sqlite3 working.)

Use Apache/mod_wsgi and run your application in daemon mode. Then have
that daemon process run as you rather than Apache user. That way you
don't have to fiddle permissions of directories/files to allow Apache
user access where sqlite database is stored.

Graham
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Snow Leopard Issues?

2009-09-21 Thread kelley....@gmail.com

I'm using it, without macports or fink.  Although I'm having problems
with sqlite3 (posted here yesterday), I'd say things are going a lot
smoother than when I was trying things with my previous system.

I have decided not to put either macports or fink on the machine.  So
far, I've not needed them, and it is a great relief, not having to
mess about with them.

Note: my sqlite3 problem relates to permissions, since I'm running a
deployment system, not a development system, and so I need to let user
_www (apache) and myself both access the database and other files.  I
think if you're running a development server with sqlite3, things will
go smoothly.  (As for mysql and postgress, I had problems installing
both.  I may need to return to one of them, if I can't get this
sqlite3 working.)

Dan.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Snow Leopard Issues?

2009-09-11 Thread Anthony

Thanks to all for the info.



On Sep 10, 9:11 pm, Graham Dumpleton 
wrote:
> On Sep 11, 9:38 am, Anthony  wrote:
>
> > Has anyone running Django on their MacBook updgraded to Snow Leopard
> > successfully?  I've been holding off to avoid any potential hassles,
> > but with the release of 10.6.1, would like to do it soon.
>
> > - Python 2.5
> > - Django 1.0.2 (although I may upgrade to 1.1 as well)
> > - SQLite3
>
> If you intend using Apache/mod_wsgi, I would recommend at this point
> avoiding using MacPorts Apache/Python and instead use the Apple
> supplied Apache/Python as the latter are known to work. The MacPorts
> Python is giving some problems with wrong Python framework being
> picked up with an embedded system like Apache/mod_wsgi when MacPorts
> Python is same major/minor version of Python as Apple supplies.
>
> Still trying to work out a predictable recipe for building Apache/
> mod_wsgi with MacPorts that avoids the problem.
>
> If you using Apache/mod_wsgi and need to rebuild it, you also need to
> ensure you reinstall XCode off the Snow Leopard install disk from
> optional installs, after having upgrade to Snow Leopard, else you will
> be missing a lot of stuff needed to build it.
>
> Graham
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Snow Leopard Issues?

2009-09-10 Thread Graham Dumpleton



On Sep 11, 9:38 am, Anthony  wrote:
> Has anyone running Django on their MacBook updgraded to Snow Leopard
> successfully?  I've been holding off to avoid any potential hassles,
> but with the release of 10.6.1, would like to do it soon.
>
> - Python 2.5
> - Django 1.0.2 (although I may upgrade to 1.1 as well)
> - SQLite3

If you intend using Apache/mod_wsgi, I would recommend at this point
avoiding using MacPorts Apache/Python and instead use the Apple
supplied Apache/Python as the latter are known to work. The MacPorts
Python is giving some problems with wrong Python framework being
picked up with an embedded system like Apache/mod_wsgi when MacPorts
Python is same major/minor version of Python as Apple supplies.

Still trying to work out a predictable recipe for building Apache/
mod_wsgi with MacPorts that avoids the problem.

If you using Apache/mod_wsgi and need to rebuild it, you also need to
ensure you reinstall XCode off the Snow Leopard install disk from
optional installs, after having upgrade to Snow Leopard, else you will
be missing a lot of stuff needed to build it.

Graham
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



RE: Snow Leopard Issues?

2009-09-10 Thread anes hamdoon


 
> Date: Thu, 10 Sep 2009 18:17:48 -0700
> Subject: Re: Snow Leopard Issues?
> From: timster...@gmail.com
> To: django-users@googlegroups.com
> 
> 
> I'm running django on Snow Leopard successfully.
> 
> The only difference I ran into is that Snow Leopard has python 2.6, so
> I had to move all my site-packages from /Library/Python/2.5/site-
> packages to /Library/Python/2.6/site-packages
> 
> After that it worked flawlessly.
> 
> Or you could could symlink /usr/bin/python to use 2.5 if you didn't
> want to use 2.6 yet.
> > 

_
Windows Live Spaces متوفر هنا! من السهل أن تقوم بإنشاء موقع الويب الشخصي الخاص 
بك.
http://spaces.live.com/signup.aspx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Snow Leopard Issues?

2009-09-10 Thread Tim

I'm running django on Snow Leopard successfully.

The only difference I ran into is that Snow Leopard has python 2.6, so
I had to move all my site-packages from /Library/Python/2.5/site-
packages to /Library/Python/2.6/site-packages

After that it worked flawlessly.

Or you could could symlink /usr/bin/python to use 2.5 if you didn't
want to use 2.6 yet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---