Re: [web2py] Re: Webfaction anyone ??

2020-05-21 Thread António Ramos
I will look at it thank you Em qui., 21 de mai. de 2020 às 20:48, Jose C escreveu: > A bit off-topic (other than the title) but given the GoDaddy buyout of > webfaction (putting it on temporary life support) you may want to consider > thinking about options for your hosting if they follow throu

[web2py] Re: Webfaction anyone ??

2020-05-21 Thread Jose C
A bit off-topic (other than the title) but given the GoDaddy buyout of webfaction (putting it on temporary life support) you may want to consider thinking about options for your hosting if they follow through and shutdown webfaction and enforce the godaddy migration they announced. I'd been a

[web2py] Re: Webfaction anyone ??

2020-05-20 Thread António Ramos
Please delete this post. Already created another with a better subject :) Em qua., 20 de mai. de 2020 às 17:15, António Ramos escreveu: > hello i´m using webfaction and this script > > https://github.com/duducosmos/webfaction-web2py-nginx-uwsgi-installer/blob/master/install.py > > that installed

[web2py] Re: Webfaction error after updating

2016-06-01 Thread Dave S
On Wednesday, June 1, 2016 at 1:10:58 PM UTC-7, Jose wrote: > > I chose to use nginx + uwsgi. > > Thanks > José > Did that solve the session issues? Did you check that tickets are behaving? /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com

[web2py] Re: Webfaction error after updating

2016-06-01 Thread Jose
I chose to use nginx + uwsgi. Thanks José -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Goo

[web2py] Re: Webfaction error after updating

2016-06-01 Thread Dave S
On Tuesday, May 31, 2016 at 8:10:52 PM UTC-7, Jose wrote: > > Hi, > > Before upgrading was this: mod_wsgi 3.4/Python 2.7 + Web2py Version > 2.5.1-stable > > [I have several applications in web2py] > > > 1) upgrade to mod_wsgi 4.5.2/Python 2.7 + Web2py Version 2.14.6 > > After this, when starting

Re: [web2py] Re: webfaction nginx uwsgi install

2015-01-12 Thread Willoughby
If you read the discussion on the webfaction community link in your first post, you'll see someone else is having same issue with uwsgi. One of the other users said he created a new script - you might want to look into that. On Monday, January 12, 2015 at 8:23:16 AM UTC-5, Richard Penman wrote:

Re: [web2py] Re: webfaction nginx uwsgi install

2015-01-12 Thread Richard Baron Penman
it's the correct file, run it and you would see. As mentioned this worked fine for me with previous versions of web2py! Anyone else? On Mon, Jan 12, 2015 at 4:37 PM, Paolo Valleri wrote: > I haven't run that script but as far as I can get your are referring to the > wrong file. > The correct fil

Re: [web2py] Re: webfaction nginx uwsgi install

2015-01-12 Thread Paolo Valleri
I haven't run that script but as far as I can get your are referring to the wrong file. The correct file should be placed in ~/webapps/${webfaction_app_name}/uwsgi/uwsgi.xml . Check there, otherwise it would be better to re-run the script to double check that everything has been installed/configure

Re: [web2py] Re: webfaction nginx uwsgi install

2015-01-11 Thread Richard Baron Penman
When the script is run it converts this template into what I posted. So how has web2py changed since that would break this? On Sun, Jan 11, 2015 at 11:29 PM, Paolo Valleri wrote: > According to the script you mention, the uwsgi.xml should be much different > because it doesn't referee to any spe

[web2py] Re: webfaction nginx uwsgi install

2015-01-11 Thread Paolo Valleri
According to the script you mention, the uwsgi.xml should be much different because it doesn't referee to any specific app. it should be something like 127.0.0.1:${nginx_uwsgi_port} 4 /home/${USER}/webapps/${webfaction_app_name}/web2py /home/${USER}/webapps/${webfaction_app

Re: [web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenny Chung
Thank you as always, Anthony. Working great. ;) On Wed, May 1, 2013 at 2:29 PM, Anthony wrote: > What if you add exclusive_domain=True to the BASE dict? I believe that > prevents creating outgoing URLs like that, but not sure if it affects > incoming requests. > > Anthony > > > On Wednesday, Ma

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Anthony
What if you add exclusive_domain=True to the BASE dict? I believe that prevents creating outgoing URLs like that, but not sure if it affects incoming requests. Anthony On Wednesday, May 1, 2013 12:37:11 PM UTC-4, Loïc wrote: > > I would like to understand too... > Maybe somebody else has an ide

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenneth
+1 !! On Wednesday, May 1, 2013 11:37:20 AM UTC-5, Loïc wrote: > > I would like to understand too... > Maybe somebody else has an idea ? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving ema

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Loïc
I would like to understand too... Maybe somebody else has an idea ? -- --- 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+unsubscr...@googlegroups.com. Fo

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Loïc
I would like to understand too... Maybe somebody else has an idea ? -- --- 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+unsubscr...@googlegroups.com. Fo

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenneth
:) Thank you for trying, Loic! Should I just ignore this concern? I am not too concerned about this but I would like to learn about how to solve this problem. On Wednesday, May 1, 2013 8:59:41 AM UTC-5, Loïc wrote: > > You're right. > On my webserver : > > www.domain1.com redirects to app1 ==> O

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Loïc
You're right. On my webserver : www.domain1.com redirects to app1 ==> OK www.domain2.com redirects to app2 ==> OK *but* www.domain1.com/app2 redirects to app2, and I don't understand why... Le mercredi 1 mai 2013 15:54:08 UTC+2, Kenneth a écrit : > > Yeah. I follow the same pattern. > Could you

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenneth
Yeah. I follow the same pattern. Could you try to browse "www.domain1.com/app2" to see if it doesn't direct to app2? Mine does. hmm On Wednesday, May 1, 2013 8:48:31 AM UTC-5, Loïc wrote: > > Did you restart your webserver / reload routes? > > I use a similar routes.py for multiple domains and it

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Loïc
Did you restart your webserver / reload routes? I use a similar routes.py for multiple domains and it works fine. Maybe you could try : routers = dict( BASE = dict( domains = { 'www.domain1.com' : 'app1', 'domain1.com' : 'app1', 'www.domain2.com' : 'a

[web2py] Re: Webfaction account with multiple apps under 1 web2py install

2013-05-01 Thread Kenneth
I am using the routers.domains method to routing the applications to domains, I have a problem that I can access to the applications which are not routed to the assigned domain. for example routers = dict( BASE = dict( domains = { 'domain1.com' : 'app1', 'domain2.c

[web2py] Re: WebFaction

2013-03-22 Thread __pyslan__ - Ayslan Jenken
Eu havia conseguido fazer o admin funcionar, e quando acessei a página da aplicação deu um erro: Traceback (most recent call last): File "/home/igrejarama/webapps/rama/web2py/gluon/restricted.py", line 212, in restricted exec ccode in environment File "/home/igrejarama/webapps/rama/web2p

[web2py] Re: Webfaction & web2py - upgraded to 2.3.2 and now nothing works remotely

2012-12-31 Thread wdtnh
Thanks but this does not appear to be case, I built everything from scratch (except controllers and views - which aren't the issue because there's nothing exotic going on there). When I did a fresh installation and rebuilt my website using SQLite and installed remotely, the problem went away.

[web2py] Re: Webfaction & web2py - upgraded to 2.3.2 and now nothing works remotely

2012-12-31 Thread Alan Etkin
> then re-enter the URL and now I get auth_user table already exists error. I have no idea where the problem might be, but I think this could help, if you didn't try it already: http://web2py.com/books/default/chapter/29/06?search=fake_migrate#Fixing-broken-migrations --

[web2py] Re: Webfaction & web2py - upgraded to 2.3.2 and now nothing works remotely

2012-12-30 Thread wdtnh
If this helps. I noticed two things happen after I install the web2py script. - standard installation script - the welcome application works fine - edit the db.py file to switch from SQLITE to MYSQL db = DAL('mysql://myusername:mypwd@localhost/databasename',pool_size=1,check_reserved=['al

[web2py] Re: Webfaction Deployment and Tuning Web2py Slice.

2012-12-16 Thread HittingSmoke
How do you do this on Webfaction (use web2py/uwsgi with the native nginx instance)? I've asked for this specifically and been told by Webfaction staff that it's not actually possible to use a framework with the native nginx instance, only with static and PHP apps. Right now I'm using a custom n

Re: [web2py] Re: Webfaction Deployment and Tuning Web2py Slice.

2012-11-07 Thread Vasile Ermicioi
PS: I also have websites on webfaction --

Re: [web2py] Re: Webfaction Deployment and Tuning Web2py Slice.

2012-11-07 Thread Vasile Ermicioi
I prefer using built in uwsgi webserver - very fast and low memory usage --

[web2py] Re: Webfaction Deployment and Tuning Web2py Slice.

2012-11-07 Thread Neil
I'm certainly no expert, but I'm also on webfaction and you may want to consider using nginx/uwsgi. At least in my case, there was very little I needed to worry about in terms of configuration/memory management. Just two tricks: - no need to install nginx, as you can just use webfaction's nginx

[web2py] Re: Webfaction: app memory quota upgraded to 256MB for everyone

2011-12-16 Thread Plumo
excellent news - 80 MB wasn't enough for web2py + Apache on webfaction.

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-27 Thread Vasile Ermicioi
but the binary works as it executes web2py and website works but doesn't allow me to login (without showing errors) and my flex app shows the error that I wrote before, and --version shows this error ./uwsgi --version uWSGI 1.0-dev *** glibc detected *** ./uwsgi: free(): invalid pointer: 0x099204e

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-27 Thread Roberto De Ioris
> and also uwsgi --version doesn't give the version but tells that there > is an error > This could only be generated by a wrong compiled-binary (maybe a make without a make clean after some config changes). --version triggers only a fprintf() on a fixed binary blob, so if it fails something rea

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread elffikk
and also uwsgi --version doesn't give the version but tells that there is an error

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread elffikk
with the latest uwsgi version I cannot login to my website, even no error is generated I use also a flex app with web2py service and it gives an error Traceback (most recent call last): File "/home/yourname/web2py/gluon/restricted.py", line 194, in restricted exec ccode in environment File

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Vasile Ermicioi
a question to Roberto I don't see --async parameter in this command uwsgi --http-socket 127.0.0.1:port --pythonpath /user/web2py --module wsgihandler -d /user/uwsgi.log -t 20 -r --no-orphans -M -p 1--touch-reload /user/uwsgireload.txt --evil-reload-on-rss 64 how does it work? does it spawns gree

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Vasile Ermicioi
your 2 cents are misguided I said that before - web2py is a great framework - webfaction is a great hosting but have memory constraints !!! *uwsgi *makes it possible to use them together !!! yes, I got memory problems when I installed apache+mod_wsgi, I tried there many servers/modes: nginx+u

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Sefa Denizoğlu
I have started with webfaction (as I was going to learn Django, and people suggested them very strongly for Django) a month ago but meanwhile I found out web2py since I was trying to find my own way of programming IN Python. Now I went for VPS of Hetzner (and I'm still fiddling with the basics of a

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Roberto De Ioris
> I was migrated to a newer webfaction server and now uwsgi compiles. I > first > tried limiting to 64 MB of memory and 1 process: > > uwsgi --http=127.0.0.1:port --pythonpath /user/web2py --module wsgihandler > -d /user/uwsgi.log -t 20 --async 24 --ugreen --limit-as 64 -r --no-orphans > -M -p 1 -

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Vasile Ermicioi
a few advises: - I tested many uwsgi versions, but the most stable one I found to be 0.9.8.6 http://projects.unbit.it/downloads/uwsgi-0.9.8.6.tar.gz - you can set --async 10 without fear, this is the maximum requests handled at the same time - limit your database queries: gae limits database sea

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Plumo
I was migrated to a newer webfaction server and now uwsgi compiles. I first tried limiting to 64 MB of memory and 1 process: uwsgi --http=127.0.0.1:port --pythonpath /user/web2py --module wsgihandler -d /user/uwsgi.log -t 20 --async 24 --ugreen --limit-as 64 -r --no-orphans -M -p 1 --touch-relo

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-22 Thread Roberto De Ioris
Il giorno 22/nov/2011, alle ore 14:19, Plumo ha scritto: > very useful information - thanks Robert. > > I got compile errors for nginx - tried multiple versions and only 0.9.6.5 > built, which doesn't support --http-socket. > I am on web9 which I understand is one of the older servers: > http:

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-22 Thread Plumo
very useful information - thanks Robert. I got compile errors for nginx - tried multiple versions and only 0.9.6.5 built, which doesn't support --http-socket. I am on web9 which I understand is one of the older servers: http://community.webfaction.com/questions/3042/uwsgi-installation Which serv

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-16 Thread elffikk
hi Roberto, a few questions about uwsgi 1: - how it is running by default: threaded or async? - does it limits memory usage or I have to use as before --limit-as 80 ? I suppose that I have to pass parameter as it doesn't know the memory limit please tell me what you think about my command uw

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-14 Thread Massimo Di Pierro
Thanks Roberto. How about you send me a setup-script to include in the scrips folder? On Nov 14, 3:03 am, "Roberto De Ioris" wrote: > > Again at Webfaction my memory usage is way over my limit: > > > Below is the list of processes that you're running with the memory > > that they use (the command

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-13 Thread Web2Py Freak
Dear Annet, I had the same problem as you Remember but there is one thing that was helpful to me , First : i am using now one application for all my websites . second : i prepared the welcome app to be like a router and its working fine in welcome/default.py: def index(): if request.env.http

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-09 Thread MidGe
Any progress with uwsgi? I am about to give up on this project and will have to wait for another to try web2py again. I have a deadline of having to renew a hosting arrangement and that date is pretty much fixed. It is now nearly two weeks since I decided to give web2py a shot and unfortunate

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread MidGe
Yes Johann, I also believe that there is something happening webfaction side and I think that they are fiddling something. It has happened before in my short experience and I am slightly weary. Your issue is probably different as in this case it was working and then stopped without any interf

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread Johann Spies
On 5 October 2011 06:48, MidGe wrote: > Ah, ok, I thought this was a different branch and that I had to use a > different repo name or branch to pull it. > > But now, uwsgi, doesn't seem to work again. So I am not sure about > introducing another issue prior to fixing the main one.. to have uwsg

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread MidGe
Ah, ok, I thought this was a different branch and that I had to use a different repo name or branch to pull it. But now, uwsgi, doesn't seem to work again. So I am not sure about introducing another issue prior to fixing the main one.. to have uwsgi working.

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread Roberto De Ioris
> But where do I download the code for that version? In the directory where you cloned the sources yesterday, run hg pull hg update make -- Roberto De Ioris http://unbit.it

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread Roberto De Ioris
> Bad news... > > I left my site well alone after the success yesterday. > > This morning, unfortunately, it was as if nothing had be done. > > I killed uwsgi and re-started after overwriting the copy... All to no > avail... > > I get the double log in (wth two web2py logos in top left corner), a

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread MidGe
Bad news... I left my site well alone after the success yesterday. This morning, unfortunately, it was as if nothing had be done. I killed uwsgi and re-started after overwriting the copy... All to no avail... I get the double log in (wth two web2py logos in top left corner), and request to r

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread MidGe
But where do I download the code for that version?

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread MidGe
Ok Roberto, I am willing to try that. Does this version of uwsgi include the fix for my problem? Or can I run two different version of uwsgi at the same time. If so, is it just a matter of renaming uswgi file to something different?

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread Roberto De Ioris
> Ok Roberto, > > I managed to build and test. At first view It seems to work. I can > modify > files and save them. > > So, there is great progress, thanks a lot. > > Is there anything else I could do to help you or the community in anyway? > Don't hesitate to ask or suggest. > > Michel > Tha

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-04 Thread MidGe
Ok Roberto, I managed to build and test. At first view It seems to work. I can modify files and save them. So, there is great progress, thanks a lot. Is there anything else I could do to help you or the community in anyway? Don't hesitate to ask or suggest. Michel

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-03 Thread MidGe
Hi Roberto, Unfortunately, it failed on the make. It is missing libxml2 development package, In the error message there is a mention of using libexpat or disabling XML... Anything I can do about this? Michel

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-03 Thread Roberto De Ioris
> OK, will give it a shot and let you know. > > What is the mercurial command for the version you committed? > > Michel > hg clone http://projects.unbit.it/hg/uwsgi cd uwsgi make -- Roberto De Ioris http://unbit.it

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-03 Thread MidGe
OK, will give it a shot and let you know. What is the mercurial command for the version you committed? Michel

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-03 Thread Roberto De Ioris
Il giorno 03/ott/2011, alle ore 07:51, MidGe ha scritto: > Thank you for your interest and quick reply. > > > > > Ah! Yes, I could do that, But I also am able to log in and edit when using > apache as a server. > > > Yes, something like that is the cause. > > > Fine I can duplic

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-02 Thread MidGe
> > Thank you for your interest and quick reply. > > > > Ah! Yes, I could do that, But I also am able to log in and edit when using apache as a server. Yes, something like that is the cause. Fine I can duplicate an re-duplicate here. I can insert any code to debug/test and am quite p

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-02 Thread Roberto De Ioris
> Hi there, > > If I disable the https requirement for the admin, I will not be able > to get into the admin area either. I was meaning disabling it in: applications/welcome/controllers/appadmin.py > > The strange thing is that I can log in. The system recognizes my > password as valid (when i

Re: [web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-02 Thread Bruno Rocha
try to change for the uswgi user. can you see which user it is using? may be www-data or even www or apache On Sun, Oct 2, 2011 at 10:20 PM, MidGe wrote: > Hi there, > > If I disable the https requirement for the admin, I will not be able > to get into the admin area either. > > The strange thi

[web2py] Re: webfaction clean install unable to save any files in admin edit mode

2011-10-02 Thread MidGe
Hi there, If I disable the https requirement for the admin, I will not be able to get into the admin area either. The strange thing is that I can log in. The system recognizes my password as valid (when it is, and not when it is not) but it does get me back to the login screen, in an endless loo

[web2py] Re: webfaction install misses password file (parameters_nnn).

2011-09-27 Thread MidGe
The answer to my question will please the fans of the Hitchhiker guide to the galaxy. The answer is: 3031! That's it folks! Ah! for those interested as to why, it is simply because request.env.server_port returns 3031! See line 23 of admin/models/access.py. I would love a more in-depth explanat

[web2py] Re: webfaction install misses password file (parameters_nnn).

2011-09-27 Thread MidGe
Permissions seem to be right: -rw-rw-r-- >From other posts I gather that there is another port number in play in the webfaction setup... or web2py doesn't derive the port number correctly when building the filename it is looking for! On Sep 28, 10:46 am, pbreit wrote: > Maybe check the owners

[web2py] Re: webfaction install misses password file (parameters_nnn).

2011-09-27 Thread pbreit
Maybe check the ownership or permissions on those files?

[web2py] Re: webfaction python2.5 -> python2.6

2011-06-08 Thread jbrown
I used the same installation as olivier, which is causing my modules (installed with easy_install-2.6) not to be located when I try to run my application. I've tried changing my .bash_profile per the webfaction instructions to change the default python version. Same problem, modules aren't found an

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-05 Thread Pepe Araya
Quoting Jonathan Lundell: It should be* IOError* (capital E) --- with that change it works.

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-05 Thread Pepe Araya
Massimo, I did a fresh install with the new trunk and this is the traceback: Traceback (most recent call last): File "web2py.py", line 16, in import gluon.widget File "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/__init__.py", line 15, in from globals import current File "/h

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-05 Thread Massimo Di Pierro
can you check the new trunk? If ok, I will post 1.96.4 On Jun 4, 5:45 pm, Pepe Araya wrote: > Massimo, bad news :( it not work > this is the log: > > [Sat Jun 04 17:41:31 2011] [error] [client 127.0.0.1]   File > "/home/pepearaya/webapps/crewcatalyst/web2py/gluon/html.py", line 29, in > > [Sat

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-04 Thread Pepe Araya
Massimo, bad news :( it not work this is the log: [Sat Jun 04 17:41:31 2011] [error] [client 127.0.0.1] File "/home/pepearaya/webapps/crewcatalyst/web2py/gluon/html.py", line 29, in [Sat Jun 04 17:41:31 2011] [error] [client 127.0.0.1] from utils import web2py_uuid, hmac_hash [Sat Jun 04

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-04 Thread Pepe Araya
Thanks Massimo! I'll give a try

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-04 Thread ron_m
To add some more, on Ubuntu and according to man urandom all major Linux distributions since 2000 the file /etc/init.d/urandom saves the random number pool into a seed file and restores it on startup by writing it back to /dev/urandom.

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-04 Thread ron_m
On my Ubuntu 10.04 system /dev/urandom has mode 666 which means read and write for everyone. If it is not writeable on Webfaction for others then it is either a policy for a different Linux distribution or a policy of Webfaction. The idea behind writing to /dev/urandom is to seed the random num

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-04 Thread Massimo Di Pierro
I am releasing 1.96.3 in a minute to fix this. Massimo On Jun 4, 3:09 am, Pepe Araya wrote: > Reply 2: > > > open('/dev/urandom','r').write(''.join(chr(t) for t in ctokens)) > > In this line, you are attempting to open /dev/urandom for reading, and then > are attempting to write to it. > > Ins

[web2py] Re: webfaction: Internal Server Error after upgrade to 1.96.2

2011-06-04 Thread Pepe Araya
Reply 2: > open('/dev/urandom','r').write(''.join(chr(t) for t in ctokens)) In this line, you are attempting to open /dev/urandom for reading, and then are attempting to write to it. Instead, you need to read the data from /dev/urandom, and then open a new file for writing to write your output

[web2py] Re: webfaction python2.5 -> python2.6

2011-05-07 Thread robsan
Thanks Vasile, I will give it a go.

Re: [web2py] Re: webfaction python2.5 -> python2.6

2011-05-06 Thread Vasile Ermicioi
I guess you can use nginx 1.0.1, but I send you what I did and I know that it works [nginx] wget http://nginx.org/download/nginx-0.8.54.tar.gz tar xvxf nginx-0.8.54.tar.gz cd nginx-0.8.54 ./configure \ --prefix=/home/yourusername/nginx \ --sbin-path=/home/yourusername/nginx/sbin/nginx \ --co

[web2py] Re: webfaction python2.5 -> python2.6

2011-05-06 Thread robsan
I'd appreciate if you could share your insight on that configuration, as I'm currently using Apache and would like to slim down the setup. On May 6, 5:29 pm, Vasile Ermicioi wrote: > I also use webfaction : python2.7 + uwsgi + nginx > > if you like and need help with that configuration...

Re: [web2py] Re: webfaction python2.5 -> python2.6

2011-05-06 Thread Vasile Ermicioi
I also use webfaction : python2.7 + uwsgi + nginx if you like and need help with that configuration...

[web2py] Re: webfaction python2.5 -> python2.6

2011-05-06 Thread pbreit
Is this what you want? http://docs.webfaction.com/software/python.html 1. Open an SSH session. 2. Open ~/.bash_profile in a text editor. 3. On a new line, add alias python=python*X.Y* where *X.Y* is the Python version number. For example, to use Python 2.6 by default, add a new line

[web2py] Re: Webfaction deployment

2010-07-30 Thread mdipierro
of course ;-) appadmin sets session.secure() which turns the session cookie into a secure cookie and it cannot go over http, only https. You can disable this by commenting session.secure() in appadmin.py Massimo On Jul 30, 10:14 am, Iceberg wrote: > webfaction day2: the auto-logout probl

[web2py] Re: Webfaction deployment

2010-07-30 Thread Iceberg
webfaction day2: the auto-logout problem and why Many coincidence lead to the "auto-logout (lost session)" problem. Here is a how-to which you shall not follow. :-) Problem: Even the web2py welcome app on webfaction tends to ask me to re-login often, due to so

[web2py] Re: Webfaction deployment

2010-07-29 Thread Iceberg
On Jul 30, 12:29 am, iceb...@21cn.com wrote: > Hi pals, > > Today I start my day 1 with webfaction. Here come some experience and > thoughts to share. > > a. web2py installation will be smooth if you use these install script [1] & > [2], and follow its docstring instructions. (One bug in [2] is f

[web2py] Re: Webfaction deployment

2010-07-29 Thread Iceberg
On Jul 30, 1:40 am, Vasile Ermicioi wrote: > I think you don't need that a install script for web2py > > I would recommend > > 1. Create from your panel an application: >           - category:  mod_wsgi >           - type:  mod_wsgi 3.2 / python2.6 > 2. Use mod_wsgi deployment > recipeshttp://web

[web2py] Re: Webfaction rocks

2010-05-09 Thread mdipierro
What these people do not understand is what they could do with web2py. If configured properly a web2py-ready virtual machine would allow them to provide a service very similar to heroku for Rails. I have tried to convince webfaction but no luck there either. Massimo On May 9, 12:48 pm, Albert Abr

Re: [web2py] Re: Webfaction rocks

2010-05-09 Thread Albert Abril
>From a year ago I'm using djangoeurope.com, because its cheap plans, because it's near home (Europe), and because its one-click Django-Install, for do my test with django. Also, it does support for php, and for mysql or postresql databases. djangoeurope.com serves with lighttpd (may config web2py

[web2py] Re: Webfaction rocks

2010-04-29 Thread aure
Oh... Great! Thank you for the information, Yarko! (I really have a lot to learn...) Regards, Aurelien On 28 avr, 10:59, Yarko Tymciurak wrote: > You are using a shared SSL certificate (courtesy of webfaction); > > That is, the SSL certificate is issued to a URI other than yours. > Depending on

[web2py] Re: Webfaction rocks

2010-04-28 Thread Yarko Tymciurak
... see http://docs.webfaction.com/user-guide/websites.html#secure-sites-https On Apr 28, 3:24 am, aure wrote: > Hi everyone, > > Thanks for your help! > > @Jonathan: yes, if I disable https I can access the welcome web2py app > without any problem. I just cannot login into the admin.. > > @Thade

[web2py] Re: Webfaction rocks

2010-04-28 Thread Yarko Tymciurak
You are using a shared SSL certificate (courtesy of webfaction); That is, the SSL certificate is issued to a URI other than yours. Depending on browser, and it's security settings it will react in different ways (for example, you can have some browsers permanently remember the exception you make a

[web2py] Re: Webfaction rocks

2010-04-28 Thread aure
Hi everyone, Thanks for your help! @Jonathan: yes, if I disable https I can access the welcome web2py app without any problem. I just cannot login into the admin.. @Thadeus, yes I have told firefox to accept the SSL certificate anyway, and I can then access the app. But I would not want that to

[web2py] Re: Webfaction rocks

2010-04-27 Thread annet
Aurelien, Don't you have a domain name? I asked my domain registrar to point my domain name to WebFaction's domain name servers: ns1.webfaction.com ns2.webfaction.com ns3.webfaction.com ns4.webfaction.com Comment: Your domain name registrar may not require all four domain name servers; enter as

Re: [web2py] Re: Webfaction rocks

2010-04-27 Thread Thadeus Burgess
You should be able to tell your browser (if firefox) to accept the SSL certificate anyways. At least, you have to do that with self-signed certificates as well. As far as publishing SSH, sometimes I just fire up a program called gFTP (for Ubuntu Linux), and SFTP (ssh-ftp) into my account, and jus

Re: [web2py] Re: Webfaction rocks

2010-04-27 Thread Jonathan Lundell
On Apr 27, 2010, at 7:32 AM, aure wrote: > As I had started to do it your way before you even mentioned it > (created 2 websites...), I decided to try your solution. > Unfortunately, when I try to access the admin website I get this in > Firefox: > > -- > Secure Connection Failed > > admin.a

[web2py] Re: Webfaction rocks

2010-04-27 Thread aure
Hello Thadeus, After trying Annet's solution, I tried yours. Now if I try to access my site I get a webfaction message: "Site not configured..." This seems to be because I have enables HTTPS. Is normal that I cannot access the website using HTTP now? I am a bit confused. Now if try to access the

[web2py] Re: Webfaction rocks

2010-04-27 Thread aure
Hello Annet, As I had started to do it your way before you even mentioned it (created 2 websites...), I decided to try your solution. Unfortunately, when I try to access the admin website I get this in Firefox: -- Secure Connection Failed admin.aurerua.webfactional.com uses an invalid securi

[web2py] Re: Webfaction rocks

2010-04-25 Thread aure
Annet and Thadeus, Thanks a lot for the quick reply! :) I will check that tomorrow. Aurelien On Apr 25, 6:30 pm, annet wrote: > I took a somewhat different approach. I signed up for a shared 1 plan > and got a dedicated IP address. Under domains I added two subdomains: > www and admin. Under a

[web2py] Re: Webfaction rocks

2010-04-25 Thread annet
I took a somewhat different approach. I signed up for a shared 1 plan and got a dedicated IP address. Under domains I added two subdomains: www and admin. Under applications I created a web2py application of type custom install script (http://wiki.webfaction.com/wiki/Web2py- LatestSource?format=txt

Re: [web2py] Re: Webfaction rocks

2010-04-25 Thread Thadeus Burgess
- SSH into the machine, navigate to your root web2py directory (containing web2py.py), and then run ``python2.5 web2py.py -a `` - Then rename parameters_8000.py to parameters_443.py - Make sure you have HTTPS triggered for your domain inside the webfaction control panel. Replace your app like any

  1   2   >