Segmentation fault

2014-08-08 Thread Tianwei Sheng
Hi, all, Recently I constantly met segmentation fault for my django server(started by runserver). The following is the trace I got from gdb (if not with gdb, I only can see segmentation fault). I knew this may not be a django issues, or even python issue, but anyone met similar issues or wher

Re: deploying djnago on apache

2014-08-08 Thread ngangsia akumbo
Thanks bro for the help you are giving me but after adding that i realease a strange behavior this morning my database name is bluepearlhotel on mysql mi website domain name i set for apache is bluepearlhotel when i open the bluepearlhotel site name it toke me to the mysql pphpmyadmin , listin

Re: deploying djnago on apache

2014-08-08 Thread ngangsia akumbo
apache failed to restart after changing to not py On Friday, August 8, 2014 9:36:04 AM UTC+1, ngangsia akumbo wrote: > > Thanks bro for the help you are giving me > > but after adding that i realease a strange behavior this morning > > my database name is bluepearlhotel on mysql > mi website doma

Re: deploying djnago on apache

2014-08-08 Thread ngangsia akumbo
i got this errore yems@yems /etc/apache2/sites-available $ sudo /etc/init.d/apache2 restart * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf

python manage.py syncdb

2014-08-08 Thread ngangsia akumbo
when i try to suncdb db i get this error below You just installed Django's auth system, which means you don't have any superusers defined. Would you like to create one now? (yes/no): yes Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv)

Re: Problem with profile picture and mysql ( URGENT !!!)

2014-08-08 Thread Collin Anderson
you'll need to manually add the field to your database with something like: alter table myapp_userprofile add image varchar(100); -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it,

Re: deploying djnago on apache

2014-08-08 Thread Collin Anderson
WSGIScriptAlias / /home/yems/bluepearlhotel.wsgi ServerName bluepearlhotel.com Alias /static /var/www/bluepearlhotel/static/ Order allow,deny Allow from all Require all granted -- You received this message because you are subscribed to the Google Groups "Django users" group. To uns

Re: deploying djnago on apache

2014-08-08 Thread ngangsia akumbo
Thanks bro am drawing closer to the solution i got this error when i types www.bluepearlhotel.com Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [no address given] to inform

Re: deploying djnago on apache

2014-08-08 Thread François Schiettecatte
You should check your web server's error_log, there might be something there which would help. François On Aug 8, 2014, at 9:40 AM, ngangsia akumbo wrote: > Thanks bro am drawing closer to the solution > i got this error when i types > www.bluepearlhotel.com > > Internal Server Error > > Th

Re: deploying djnago on apache

2014-08-08 Thread ngangsia akumbo
[Fri Aug 08 14:49:13.738547 2014] [:error] [pid 4517:tid 2998897472] [client 19$ [Fri Aug 08 14:49:13.738584 2014] [:error] [pid 4517:tid 2998897472] [client 19$ [Fri Aug 08 14:49:13.738619 2014] [:error] [pid 4517:tid 2998897472] [client 19$ some example of error_log On Friday, August 8, 20

Displaying multiple documents

2014-08-08 Thread pete
Hi, I wondered if it's possible to display multiple word documents/ excel documents in a Django website look and feel? ie create a document highlevel name, then table of contents, and can move next item in the table of contents or previous. The ability to search. Cheers! Thanks -- You re

Re: Segmentation fault

2014-08-08 Thread Tiago Almeida
Try to update both your python and your mysql<-> python bindings. The libraries you are using are either incompatible or have a bug. Good luck Sexta-feira, 8 de Agosto de 2014 5:21:44 UTC+1, Tianwei Sheng escreveu: > > Hi, all, > > Recently I constantly met segmentation fault for my django serve

Alternatives to markup and comments modules

2014-08-08 Thread Vibhu Rishi
I just picked up an old project i was working on ( wasn't working on it for a year almost), and now the comments and markup modules are not working. It seems that they have been depricated in 1.6 ( project was in 1.4 ). What are the current alternatives for these ? Vibhu -- Simplicity is the u

deploying django

2014-08-08 Thread ngangsia akumbo
is there an easier way to host your django website for testing i am really getting frustrated, is flask more easier than django? i really want to use django but am getting frustrated -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscri

Re: Problem with profile picture and mysql ( URGENT !!!)

2014-08-08 Thread Swathi Rajanna
Thanks !! That worked ! On Friday, August 8, 2014 6:12:19 PM UTC+5:30, Collin Anderson wrote: > > you'll need to manually add the field to your database with something like: > > alter table myapp_userprofile add image varchar(100); > -- You received this message because you are subscribed to t

Re: Alternatives to markup and comments modules

2014-08-08 Thread Collin Anderson
Create your own custom template filter for the markdown. Django's filter didn't do much besides import markdown and send the content through that. Comments now live here: https://github.com/django/django-contrib-comments -- You received this message because you are subscribed to the Google Group

Image not loading. IOError..

2014-08-08 Thread Swathi Rajanna
Exception Value: [Errno 2] No such file or directory: u'home/swathi/images/NoProfileUser.png' Exception Location:/usr/local/lib/python2.7/dist-packages/django/core/files/images.py in get_image_dimensions, line 46 w, h = get_image_dimensions(avatar) MEDIA_ROOT = ( os.path.join(PROJECT_ROOT,

Re: Image not loading. IOError..

2014-08-08 Thread Collin Anderson
should your PROJECT_ROOT be '/home/swathi' instead of 'home/swathi' ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com.

Unable to access data in field during migration v1.7c2

2014-08-08 Thread Matthew Meyer
I have a model with a FK to a field called employee. I'm trying to migrate it to django.contrib.auth.models.User. I call a migrations.RunPython command and when I try to access the data in the field before I migrate it and after I have updated the model it is not giving me the correct data. If

RE: Segmentation fault

2014-08-08 Thread Paul Greenberg
Tianwei, This happened to me when I hosted a project on Amazon AMI. It is likely your machine does not have enough RAM memory. Best Regards, Paul Greenberg, Esq. Law Office of Paul Greenberg 530 Main Street, Suite 102 Fort Lee, NJ 07024 E-mail: p...@greenberg.pro Tel: 201-402-6777 Fax: 201

Starting with Python 3 and Django 1.x?

2014-08-08 Thread Ari Davidow
I am new to Django, and relatively new to (well, re-learning) python. I am working on a website that requires a lot of bidirectional type. Sanity suggests that starting this off with Python 3 and all the built in Unicode sanity makes sense. The online tutorials assume Python 2. Are there equivale

Re: Starting with Python 3 and Django 1.x?

2014-08-08 Thread Ari Davidow
Belay the part of the post that asks about Python 2 vs Python 3 tutorial. Had not yet found https://docs.djangoproject.com/en/1.7/intro/tutorial01/ which is the same tutorial, but written for Python 2. Still curious about learning 1.6 and transferring to 1.7, or jumping into the water now and savi

Re: Starting with Python 3 and Django 1.x?

2014-08-08 Thread Collin Anderson
I'd start with 1.7 as it should be more friendly to newcomers. There will be another release candidate soon and the final version should be out in about a month. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group an