[mezzanine-users] Re: Internal Server Error - could be due to static files?

2014-03-18 Thread Jesse Carrigan
Good thought, I had been running collectstatic as part of the fabric deploy. This time I ran the command by itself. It correctly copied everything into the location specified by the static root, so it's putting them where I expected. I'm still not seeing any new error messages in the ngnix

Re: [mezzanine-users] Multilingual website

2014-03-18 Thread Josh Cartmell
Hey Cajoline, there isn't a way to do that out of the box, but I bet you could write a short script to copy all content and just change the site_id. On Tue, Mar 18, 2014 at 12:11 AM, Cajoline cont...@circonflex.net wrote: Thank you for your answers, but is it possible with this technique to

Re: [mezzanine-users] mezzanine poll_twitter

2014-03-18 Thread Radomir Wojcik
Does the cached query make sense? It won't update even if changed in db. I'm trying to generate a new app and see if I can get it working -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails

Re: [mezzanine-users] mezzanine poll_twitter

2014-03-18 Thread Stephen McDonald
Yes there's an interested flag that gets set against a query each time its tweets are displayed. The management command will only retrieved tweets from twitter for queries with this set. Take a moment to read these and you'll be in the best position to work out your issue:

Re: [mezzanine-users] mezzanine poll_twitter

2014-03-18 Thread Radomir Wojcik
OK so I connected to the database and cleared the mixed case queries and updated it to the all lower case. Works in dev but in production I get an error. Not very descriptive and don't see any twitter docs that can help: Twitter query error [Search: from:the_gelatospot]: Error retrieving:

Re: [mezzanine-users] Cannot save new pages after launching site?

2014-03-18 Thread Scott Diehl
Hey guys, I really appreciate your help on this. So strange, but I finally got mezzanine upgraded - it seems to be running smoothly. However, same thing, when I try creating a new page and hit save, I get an error page http://www.perceptyx.com/er/index.html. Any ideas? Anything else I can

[mezzanine-users] Re: mezzanine poll_twitter

2014-03-18 Thread Radomir Wojcik
I give up, the twitter widget though from twitter is neater for me anyways, and no need to run any jobs, plus it has pics -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send

[mezzanine-users] how to run gunicorn command?

2014-03-18 Thread Ziwei Zhou
Hi I have my mezzanine project named as *mezzanine-test* and located at /sites/test/code/mezzanine-test, inside *mezzanine-test* folder following are the files. ubuntu@test:/sites/test/code/mezzanine-test$ ls -l total 156 drwxrwxr-x 3 ubuntu ubuntu 4096 Mar 17 19:27 *deploy* -rwxr-xr-x

Re: [mezzanine-users] how to run gunicorn command?

2014-03-18 Thread Stephen McDonald
The project name needs to be a valid Python package name, which mezzanine-test isn't since you can't use dashes. Try mezzanine_test. On Wed, Mar 19, 2014 at 2:04 PM, Ziwei Zhou ziweiz...@gmail.com wrote: Hi I have my mezzanine project named as *mezzanine-test* and located at

Re: [mezzanine-users] how to run gunicorn command?

2014-03-18 Thread Ziwei Zhou
Thanks for the reply, now I got this error ImportError: Could not import settings 'mezzanine_test.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'mezzanine_test' On Wednesday, March 19, 2014 11:10:30 AM UTC+8, Stephen McDonald wrote: The

Re: [mezzanine-users] how to run gunicorn command?

2014-03-18 Thread Ziwei Zhou
yes, i renamed from mezzanine-test to mezzanine_test, but the error is the same. On Wednesday, March 19, 2014 11:58:14 AM UTC+8, Danny S wrote: Did you also rename your directory? Python can't handle dashes in module names, and your directory name identifies the module as well. On 19

Re: [mezzanine-users] how to run gunicorn command?

2014-03-18 Thread Danny
In, your wsgi.py, you've got the following lines (which is fairly standard): settings_module = %s.settings % PROJECT_ROOT.split(os.sep)[-1] os.environ.setdefault(DJANGO_SETTINGS_MODULE, settings_module) This will resolve to mezzanine_test.settings Django will try to import this. But as the

Re: [mezzanine-users] Multilingual website

2014-03-18 Thread Mehmet Özgür Bayhan
What about cartridge? 18 Mart 2014 Salı tarihinde, Josh Cartmell joshcar...@gmail.com yazdı: Hey Cajoline, there isn't a way to do that out of the box, but I bet you could write a short script to copy all content and just change the site_id. On Tue, Mar 18, 2014 at 12:11 AM, Cajoline

Re: [mezzanine-users] how to run gunicorn command?

2014-03-18 Thread Ziwei Zhou
It certainly works. :) Just wondering when mezzanine makes the project folder the same level as manage.py files, instead of following the traditional django project format. Thanks again. On Wednesday, March 19, 2014 1:02:58 PM UTC+8, Danny S wrote: In, your wsgi.py, you've got the