[web2py] Re: Problems setting up multiple domains

2016-04-18 Thread Marko Poutiainen
It's a virtual machine that I didn't set up. I might be able to persuade the admins to do that but it would probably cost money. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/li

[web2py] Problems setting up multiple domains

2016-04-18 Thread Marko Poutiainen
Hi everyone, I have tried to set up a web2py installation with two domains but I keep getting the same internal error. I have checked previous discussions (e.g. https://groups.google.com/forum/#!topic/web2py/9jZQbNjLmLk and https://groups.google.com/forum/#!topic/web2py/imNAw_JIlv8) but no luck

[web2py] Re: How to clear the crap initial data?

2016-01-16 Thread Marko Poutiainen
ago and just needed to deploy it so my memory on specifics is a bit hazy... On Saturday, January 16, 2016 at 9:49:23 PM UTC+2, Marko Poutiainen wrote: > > Ah, yes, I have that when I grepped the code. I must have copied it from > somewhere when I wrote the code (probably some example th

[web2py] Re: How to clear the crap initial data?

2016-01-16 Thread Marko Poutiainen
e look like? > > Web2py isn't going to do this on its own. Do you have have code similar > to this someone in your db.py or controller? > > from gluon.contrib.populate import populatepopulate(db.mytable_name_here,100) > > -Jim > > > > On Saturday, January 16,

[web2py] Re: How to clear the crap initial data?

2016-01-16 Thread Marko Poutiainen
What the bleeping bleep bleep? Even with sqlite3 web2py keeps creating this crap again and again. I delete and open the admin page again and the table again has this crap? On Saturday, January 16, 2016 at 8:41:36 PM UTC+2, Marko Poutiainen wrote: > > Sorry for the rude topic but I hav

[web2py] How to clear the crap initial data?

2016-01-16 Thread Marko Poutiainen
Sorry for the rude topic but I have just spent an hour on something so mindbogglingly stupid it makes my blood boil. Why does web2py create those stupid useless rows in my database that I have to clean by hand? Why does telling the delete confirmation not to bother me make the whole delete che

[web2py] Re: Upgrading an old version - will my app work?

2014-10-01 Thread Marko Poutiainen
Argh, just realised what the issue seems to be. I installed from Ubuntu repositories and I'm still running 12.04 on that box -> web2py is from 2011.. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.

[web2py] Re: Upgrading an old version - will my app work?

2014-10-01 Thread Marko Poutiainen
Looks like there's some issues with running the application. Those files pn mentioned were already there but I get the following (couldn't find anything about this in the changelog): > > define_tables() got an unexpected keyword > argument 'signature' This is the code: from gluon.tools impor

[web2py] Upgrading an old version - will my app work?

2014-09-28 Thread Marko Poutiainen
I made a simple application with web2py version 2.4.6-stable+timestamp.2013.04.06.17.37.38 and thought about upgrading to the latest one because someone else wants to use the same application on their server. No point in installing an old version, IMO, so I'll update our version first. Do I run

[web2py] Re: Can't get gmaps plugin to work

2013-05-18 Thread Marko Poutiainen
Ah, that was it! Funny it worked with the other browsers and I never got any errors. Thank you! -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un

[web2py] Re: Can't get gmaps plugin to work

2013-05-17 Thread Marko Poutiainen
OK, things have changed. The map in it's current state doesn't seem to work on Chrome, but it does work with IE and Firefox. It didn't work with IE either previously so I must have made something to make it work. I tried this with Chrome both on Ubuntu and Win7. -- --- You received this mes

[web2py] Can't get gmaps plugin to work

2013-05-17 Thread Marko Poutiainen
I can't seem to get the gmaps plugin to work. I have this in the model: from gluon.storage import Storage plugin_gmap=Storage() plugin_gmap.set=db(db.t_kiinnostuneet).select() points=db(db.t_kiinnostuneet.id>0).select() plugin_gmap.represent=lambda row: '%(db.t_kiinnostuneet.f_lat)s %(db.t_kii

[web2py] Re: web2py with SSL is not starting

2013-04-17 Thread Marko Poutiainen
I finally figured this out (yesterday was my second night trying to get this to work). It was the Linux firewall. I added a few lines to iptables and after that I could open the admin panel. It's not my server so I was unaware that iptables was even installed. Sorry for this. At least I now kn

[web2py] web2py with SSL is not starting

2013-04-17 Thread Marko Poutiainen
I can't seem to get HTTPS connection to start so that I could use the admin panel. I have been trying various things but nothing seems to work. Host name is www2.olka.fi and it works through HTTP. I do get Reloading web server config: apache2apache2: Could not reliably determine the server's

[web2py] Getting SSL to work with web2py

2013-04-17 Thread Marko Poutiainen
Sorry if this is a double post by I posted this question 10 minutes ago and still can't see the original post. I have been trying to get SSL to work with web2py so that I can access the admin panel. Now I'm running out of ideas. I attached the logs that I get when I reload Apache to this messag