Re: [mezzanine-users] Re: Mezzanine master version in requirements.txt

2015-05-25 Thread Federico Bruni
> > > Le lundi 25 mai 2015 13:07:54 UTC+2, Federico Bruni a écrit : >> >> Even if I install mezzanine from git repository, the requirements file >> created by mezzanine-project will be taken from the version present in >> project_

[mezzanine-users] Mezzanine master version in requirements.txt

2015-05-25 Thread Federico Bruni
Even if I install mezzanine from git repository, the requirements file created by mezzanine-project will be taken from the version present in project_template: https://github.com/stephenmcd/mezzanine/blob/081dd68c8c53893c28c6c96cca666f6db15317ca/mezzanine/project_template/requirements.txt that i

[mezzanine-users] 404 - absolute link in the github README

2015-05-19 Thread Federico Bruni
Hi all If you go here: https://github.com/stephenmcd/mezzanine and click on Multi-lingual-sites you get a 404, as it searches in jupo.org, where there's still version 3.1.10 and that page is still missing. Better change this absolute link to readthedocs.org (where page is updated regularly)? h

[mezzanine-users] Re: Alternate Fabfile for deploying to VPS

2015-03-05 Thread Federico Bruni
Thanks a lot Eduardo! I've struggled a lot with deploying in the past (and I still struggle sometimes). I'll try the new fabfile as soon as it lands in the next release. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from thi

[mezzanine-users] migration is failing when I run 'fab deploy'

2015-02-26 Thread Federico Bruni
Hi all Mezzanine==3.1.10 South==0.8.4 I've updated my Mezzanine instance after a long time and I'm experiencing the same problem described here: https://groups.google.com/forum/#!topic/mezzanine-users/7Hz_5DK_Q0Q I know I can 'fab remove' the project and deploy again from scratch. But this time

Re: [mezzanine-users] Re: pg_restore error

2014-06-10 Thread Federico Bruni
I've just had this same problem and the command above didn't work at first. It worked when I switched the local to english: export LANG=C pg_restore -c -d DATABASE FILE Maybe it's just a coincidence? 2014-03-27 20:30 GMT+01:00 Federico Bruni : > I've resolved followin

Re: [mezzanine-users] Re: database error while running migration

2014-06-10 Thread Federico Bruni
missing. > > I could be totally off and I'm not sure how changing the language code > would affect the db. > > > On Tue, Jun 10, 2014 at 12:07 PM, Federico Bruni > wrote: > >> Any pointer? >> I don't want to destroy the project and re-deploy from scratch.

[mezzanine-users] Re: database error while running migration

2014-06-10 Thread Federico Bruni
Any pointer? I don't want to destroy the project and re-deploy from scratch. Il giorno mercoledì 4 giugno 2014 12:05:17 UTC+2, Federico Bruni ha scritto: > > Hi all > > I have a problem with the database migration during a deployment. > > I have changed only the LA

[mezzanine-users] database error while running migration

2014-06-04 Thread Federico Bruni
Hi all I have a problem with the database migration during a deployment. I have changed only the LANGUAGE_CODE variable in settings.py When I launch 'fab deploy' I get this error: ''' out: django.db.utils.ProgrammingError: ERROR: the relation "conf_setting" already exists [xx.xx.xx.xx] out: [

Re: [mezzanine-users] Re: [Django] ERROR: Invalid HTTP_HOST header: 'domain.com'.You may need to add u'domain.com' to..

2014-05-26 Thread Federico Bruni
inked above. > Cheers. > > > On Monday, May 26, 2014 5:34:23 AM UTC-6, Federico Bruni wrote: >> >> I've been getting this error message since I've deployed my mezzanine >> website: >> [Django] ERROR: Invalid HTTP_HOST header: 'domain.com'.You m

[mezzanine-users] [Django] ERROR: Invalid HTTP_HOST header: 'domain.com'.You may need to add u'domain.com' to..

2014-05-26 Thread Federico Bruni
I've been getting this error message since I've deployed my mezzanine website: [Django] ERROR: Invalid HTTP_HOST header: 'domain.com'.You may need to add u'domain.com' to ALLOWED_HOSTS where domain.com is most of the times the IP of the server, few times a secondary domain which redirects to th

Re: [mezzanine-users] Re: pg_restore error

2014-03-27 Thread Federico Bruni
are using? These are the commands I use to > dump and then restore and I've never had a problem. > > pg_dump -U USERNAME -F t -f NAMEOF.backup DATABASE-NAME > > pg_restore -d DATABASE-NAME -O -U USERNAME NAMEOF.backup > > > > On Monday, March 24, 2014 2:28:41 AM UTC-6,

[mezzanine-users] Re: Image order with zip import

2014-03-25 Thread Federico Bruni
Which version of Mezzanine are you using? See if this issue helps you: https://github.com/stephenmcd/mezzanine/issues/843 I've used the zip import and the images were sorted alphabetically, so I'm surprised to read that it doesn't work for you. Il giorno martedì 25 marzo 2014 11:43:07 UTC+1, ant

Re: [mezzanine-users] pg_restore error

2014-03-25 Thread Federico Bruni
the fabfile is highlighted here: > https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L340-L350 > . > > hth. > > best, > ken > > > On Mon, Mar 24, 2014 at 4:29 AM, Federico Bruni wrote: > >> I've made the dump of the local dat

[mezzanine-users] pg_restore error

2014-03-24 Thread Federico Bruni
I've made the dump of the local database and I've tried to restore it on the server, but I'm getting the error below. BTW, how can I force the output to be in english? I've tried LANG=C but didn't work. Should I change the locale on the server? Any help appreciated. $ pg_restore -d database db.

[mezzanine-users] pg_restore error

2014-03-24 Thread Federico Bruni
I've made the dump of the local database and I've tried to restore it on the server, but I'm getting the error below. BTW, how can I force the output to be in english? I've tried LANG=C but didn't work. Should I change the locale on the server? Any help appreciated. _restore: [archiviatore (db)

Re: [mezzanine-users] building the docs

2014-03-10 Thread Federico Bruni
al/getting-started.html and install >>> Django, Mezzanine, and other applications in a virtualenv ( >>> http://www.virtualenv.org/en/latest/). >>> >>> hth, >>> ken >>> >>> >>> On Fri, Mar 7, 2014 at 12:03 PM, Federico Brun

Re: [mezzanine-users] building the docs

2014-03-07 Thread Federico Bruni
/dist-packages/. I urge you to follow the > recommendations of > http://effectivedjango.com/tutorial/getting-started.html and install > Django, Mezzanine, and other applications in a virtualenv ( > http://www.virtualenv.org/en/latest/). > > hth, > ken > > > On Fri, Mar 7, 2014 at 12

[mezzanine-users] building the docs

2014-03-07 Thread Federico Bruni
I've tried building the docs but I'm getting this error: $ sphinx-build -b html docs docs/build Running Sphinx v1.2 /usr/local/lib/python2.7/dist-packages/mezzanine/utils/conf.py:51: UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django 1.5 requires. Will fall back to the dom

Re: [mezzanine-users] step by step mezzanine deployment

2014-03-07 Thread Federico Bruni
2014-03-06 18:36 GMT+01:00 Federico Bruni : > 2014-03-06 18:20 GMT+01:00 Federico Bruni : > > 2014-03-03 13:01 GMT+01:00 Federico Bruni : >> >> First of all, the DATABASES options are divided in 3 files: >>> >>> - local_settings.py: the setting for local

Re: [mezzanine-users] Re: step by step mezzanine deployment

2014-03-07 Thread Federico Bruni
Hi Eduardo thanks for the explanation! It would be nice if it was included in the documentation... 2014-03-07 1:06 GMT+01:00 Eduardo Rivas : > Hi Federico. The DATABASE setting that is applied is the one in > live_settings.py. In production, this file is renamed to local_settings.py > by Fabric

Re: [mezzanine-users] step by step mezzanine deployment

2014-03-06 Thread Federico Bruni
2014-03-06 18:20 GMT+01:00 Federico Bruni : > 2014-03-03 13:01 GMT+01:00 Federico Bruni : > > First of all, the DATABASES options are divided in 3 files: >> >> - local_settings.py: the setting for local development. By default, >> sqlite is used. I wonder what's th

Re: [mezzanine-users] step by step mezzanine deployment

2014-03-06 Thread Federico Bruni
2014-03-03 13:01 GMT+01:00 Federico Bruni : > First of all, the DATABASES options are divided in 3 files: > > - local_settings.py: the setting for local development. By default, > sqlite is used. I wonder what's the best approach if I know that I want to > deploy on Post

Re: [mezzanine-users] Re: step by step mezzanine deployment

2014-03-05 Thread Federico Bruni
2014-03-05 17:25 GMT+01:00 Federico Bruni : > I'll try again from scratch a new project and set up immediately > PostgreSQL also in local_settings.py, before running 'manage.py createdb'. > > I've done the sync local>server manually, set up nginx on the server

Re: [mezzanine-users] Re: step by step mezzanine deployment

2014-03-05 Thread Federico Bruni
2014-03-04 18:15 GMT+01:00 Ross Laird : > I don't actually use Fabric, so I have been a bit hesitant to make > suggestions here. But my guess is that you have one problem and one problem > only, and it just keeps changing how it looks depending on what you do. To > step through a solution to this,

Re: [mezzanine-users] Re: step by step mezzanine deployment

2014-03-04 Thread Federico Bruni
2014-03-03 23:33 GMT+01:00 Ross Laird : > Postgresql authentication can be tricky. > You may need to make changes to your pg_hba.conf file. Like so: > > # Database administrative login by Unix domain socket > local all postgrespeer > # TYPE DATABASE

Re: [mezzanine-users] step by step mezzanine deployment

2014-03-03 Thread Federico Bruni
ns on port 5432? pg_dump: [archiver (db)] connection to database "xx" failed: fe_sendauth: no password supplied 2014-03-03 16:26 GMT+01:00 Ken Bolton : > Fabric does not sync the content of the databases. > > Fabric does sync the database schemas! > > > On Mon, Mar 3, 20

Re: [mezzanine-users] first steps with fabric deployment

2014-03-03 Thread Federico Bruni
iday, February 28, 2014 1:08:44 AM UTC+1, Federico Bruni wrote: >> >> 2014-02-26 13:18 GMT+01:00 : >> >> Yes, I think fab create has to restart from the beginning. One more >>> advice, be sure that all Fabric settings in settings.py are completed >>> (

Re: [mezzanine-users] step by step mezzanine deployment

2014-03-03 Thread Federico Bruni
2014-03-03 13:01 GMT+01:00 Federico Bruni : > Now I should find out why my real project is failing. Maybe I could start > it from scratch step by step and see what happens. > I've just one more test: added a page in my local project and then launched 'fab deploy' to

[mezzanine-users] step by step mezzanine deployment

2014-03-03 Thread Federico Bruni
I'm opening a new thread and try to make the deploy of a simple test. Let's see if I understand the basics... First of all, the DATABASES options are divided in 3 files: - local_settings.py: the setting for local development. By default, sqlite is used. I wonder what's the best approach if I kn

Re: [mezzanine-users] Re: deployment issue --- gunicorn

2014-02-27 Thread Federico Bruni
fix matched up with that > issue - good to know! > > > On Fri, Feb 28, 2014 at 10:42 AM, Federico Bruni wrote: > >> I confirm that this solved the same problem. More info here: >> >> http://gunicorn-docs.readthedocs.org/en/latest/configure.html#configuration-file

Re: [mezzanine-users] first steps with fabric deployment

2014-02-27 Thread Federico Bruni
2014-02-26 13:18 GMT+01:00 : > Yes, I think fab create has to restart from the beginning. One more > advice, be sure that all Fabric settings in settings.py are completed (or > as much as you can). I tried to leave the field REPO_URL empty and fab > deploy didn't work until I set a real git reposi

Re: [mezzanine-users] Re: deployment issue --- gunicorn

2014-02-27 Thread Federico Bruni
I confirm that this solved the same problem. More info here: http://gunicorn-docs.readthedocs.org/en/latest/configure.html#configuration-file It's been fixed two months ago: https://github.com/stephenmcd/mezzanine/issues/870 Il giorno giovedì 16 gennaio 2014 12:35:58 UTC+1, Klamann, Norbert ha

Re: [mezzanine-users] first steps with fabric deployment

2014-02-25 Thread Federico Bruni
2014-02-25 11:47 GMT+01:00 : > I have just deployed my first Mezzanine project and I agree with what you > say: the deployment was clearly the most difficult part. > I used fabric too, but it's not very easy but once it works it really > saves you a lot of time. I have the feeling that when a step

Re: [mezzanine-users] first steps with fabric deployment

2014-02-24 Thread Federico Bruni
2014-02-23 20:24 GMT+01:00 Ken Bolton : > You might have luck with the Django's dumpdata and loaddata management > commands. Alternatively, django-extensions has a dumpscript command that > may work. > Ok, I've used dumpdata and loaddata to move from sqlite to postgresql. Now I'm still trying to

Re: [mezzanine-users] doc: dead link in third party modules page

2014-02-23 Thread Federico Bruni
e yourself > and send a pull request. > > It's really no effort for myself, but it's worth making the point here :-) > > Could you do that? > > > On Mon, Feb 24, 2014 at 9:02 AM, Federico Bruni wrote: > >> mezzanine-mailchimp is now here: >> https://

Re: [mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Federico Bruni
2014-02-23 18:45 GMT+01:00 Federico Bruni : > Ok, I should have looked up deploy/nginx.conf and deploy/live_settings.py > in my project. > How can I transfer the sqlite database of development to postgresql in > production? Do you know a specific tutorial on this? > I've

[mezzanine-users] doc: dead link in third party modules page

2014-02-23 Thread Federico Bruni
mezzanine-mailchimp is now here: https://bitbucket.org/naritas/mezzanine-mailchimp the link in the doc should be updated -- 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 a

Re: [mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Federico Bruni
Il giorno domenica 23 febbraio 2014 18:37:14 UTC+1, Federico Bruni ha scritto: > > > Let's start with the nginx error: > > Starting nginx: nginx: [emerg] > SSL_CTX_use_certificate_chain_file("/etc/nginx/conf/project.crt") failed > (SSL: error:02001002:

Re: [mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Federico Bruni
Il giorno domenica 23 febbraio 2014 18:01:23 UTC+1, Kenneth Bolton ha scritto: > Federico, > > Have you reviewed the tutorial at > http://bscientific.org/blog/mezzanine-fabric-git-vagrant-joy/? It may be > a bit dated, but should work. > > Hi Ken yes, I did before asking here. Unfortunately it

[mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Federico Bruni
Hi I'm trying Fabric for the first time and after several tries I have to ask for help. Do you know a simple step by step tutorial? There are many detailed tutorials but I need the big picture. IIUC, 'fab all' should care for everything needed, if I set up correctly the variables in settings.p

Re: [mezzanine-users] gallery zip import and collections directory

2014-02-15 Thread Federico Bruni
> https://groups.google.com/d/msg/mezzanine-users/SnSEsx0g3lo/DdI4KZW8v94J > > > On Thu, Feb 13, 2014 at 3:58 PM, Federico Bruni > > > wrote: > >> I've realized that the problem is not specific of zip import. It occurs >> with any method used to add an image to a galle

Re: [mezzanine-users] gallery zip import and collections directory

2014-02-13 Thread Federico Bruni
2-08 23:57 GMT+01:00 Federico Bruni : > I've just tried to upload some images into a gallery using the zip import. > The files are saved in static/media/uploads/collections/ > > When I view the gallery, Mezzanine is not able to see these images, even > though the path is cor

Re: [mezzanine-users] write raw html inside a page

2014-02-13 Thread Federico Bruni
2014-02-08 22:35 GMT+01:00 Danny : > On 8/02/2014 11:54 PM, Federico Bruni wrote: > >> Hi >> >> I wonder what's currently the best method to include raw html in a page. >> I found this thread: >> https://groups.google.com/forum/#!topic/mezzanine-users/_a

[mezzanine-users] gallery zip import and collections directory

2014-02-08 Thread Federico Bruni
I've just tried to upload some images into a gallery using the zip import. The files are saved in static/media/uploads/collections/ When I view the gallery, Mezzanine is not able to see these images, even though the path is correct. I get a 404 error. If I create a gallery using images saved in s

[mezzanine-users] write raw html inside a page

2014-02-08 Thread Federico Bruni
Hi I wonder what's currently the best method to include raw html in a page. I found this thread: https://groups.google.com/forum/#!topic/mezzanine-users/_amLgOCQD5Y But I see that there's an "Edit HTML source" button in the editor, which _might_ allow to write raw html. Unfortunately I get a Ba

[mezzanine-users] Re: homepage: removing a column defined in base.html

2014-02-08 Thread Federico Bruni
Il giorno sabato 8 febbraio 2014 13:49:35 UTC+1, Federico Bruni ha scritto: > > I've just realized that I'd better change bootsrap.css > I'm reading this page: > http://getbootstrap.com/examples/grid/ > > Yes, sorry for the noise (again). I changed base.html to

[mezzanine-users] Re: homepage: removing a column defined in base.html

2014-02-08 Thread Federico Bruni
I've just realized that I'd better change bootsrap.css I'm reading this page: http://getbootstrap.com/examples/grid/ Il giorno sabato 8 febbraio 2014 13:15:16 UTC+1, Federico Bruni ha scritto: > > Hi > > I'm building the homepage and I'm trying to cente

[mezzanine-users] homepage: removing a column defined in base.html

2014-02-08 Thread Federico Bruni
Hi I'm building the homepage and I'm trying to center align an image slider (I'm using bootstrap carousel). The problem is that it's placed inside the col-md-7-middle div while I'd like to place it in the row div (only in the home page). In my base.html I have: {% block main %}{% endbl

Re: [mezzanine-users] select multiple images for a gallery

2014-02-02 Thread Federico Bruni
002l1t313C > > > On Mon, Feb 3, 2014 at 9:19 AM, Federico Bruni wrote: > >> I can see this feature in galleries/models.py, but I cannot make it work. >> I cannot upload zip files, as far as I can see. These are the supported >> formats (as shown by the help): >> &g

Re: [mezzanine-users] select multiple images for a gallery

2014-02-02 Thread Federico Bruni
) Video (.mov, .wmv, .mpeg, .mpg, .avi, .rm) Document (.pdf, .doc, .rtf, .txt, .xls, .csv) The file browser forces me to select only files with these extensions. 2014/2/2 Luc Milland > Hi, > you can upload a zip file. > > Luc > > Le dimanche 02 février 2014 à 13:35 -0800

[mezzanine-users] select multiple images for a gallery

2014-02-02 Thread Federico Bruni
Hi There's a way to add multiple images at once to a gallery? Currently I have to add the images one by one by clicking on the first icon (the light blue one, with the arrow). I see that the second icon is a kind of check box which might do what I'm looking for, but if I click on it nothing hap

Re: [mezzanine-users] change language of Admin site in Mezzanine 3.0.4

2014-01-25 Thread Federico Bruni
Oh, I missed it! It was set to False. Now it works, thanks! Il giorno venerdì 24 gennaio 2014 02:15:36 UTC+1, Stephen McDonald ha scritto: > > Make sure you have in your settings: > > USE_I18N = True > > > On Fri, Jan 24, 2014 at 9:28 AM, Federico Bruni > > > wr

[mezzanine-users] change language of Admin site in Mezzanine 3.0.4

2014-01-23 Thread Federico Bruni
Hi all it's my first post here. I've just started using Mezzanine and it seems a wonderful platform. I have a very simple question(s) about locale. I'm trying to change the language of the Admin site. I see that as soon as I add a language to settings.py, e.g.: LANGUAGES = ( ('en', _('Engl