ack.config.js*
>
> *- app: './static/reactsrc/index.tsx'*
> + app: './static/src/index.tsx'
>
> среда, 11 марта 2020 г., 18:59:40 UTC+3 пользователь Larry Weinberg
> написал:
>>
>>
>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documenta
Several people have asked about how to set up web2py to work with React
(and Typescript) on the front end. Others have asked how to use an IDE like
Visual Studio Code with web2py. I have a setup that I've posted to github
that has the basics in place for doing this with a pre-configured Visual
I see this happening too. After allowing the app to run, web2py stops
working and the console errors look like this. Is sqlite the problem?
error 11:49:43.484984 -0800 mtmd Can't trash .MobileBackups while MTM
Snapshot Handler is running!
error 11:49:43.599957 -0800
On dreamhost I did the following after enabling passenger:
I placed all web2py files in root folder of website (not the public folder)
e.g. my.subdomain.com/
I copied handlers/wsgihandler.py to passenger_wsgi.py
I edited passenger_wsgi.py:
Added:
import sys
import os
INTERP
I hope to make it.
On Wednesday, November 5, 2014 11:48:14 PM UTC-8, weheh wrote:
Hi Bay Area web2py'ers. Get excited!
*Massimo will attend our very own Bay Area* *web2py meetup* to meet,
greet and present. Additional talks are planned. Details follow:
Date: *Friday, December 5*
Time:
Any Update on finalizing this date?
On Tuesday, September 23, 2014 9:04:07 AM UTC-7, weheh wrote:
Massimo can not commit to a date yet, but his best guess is December 5.
Pencil it into your calendar please: Friday December 5, 6PM to 9PM.
Location, Berkeley CA. THIS IS AN ESTIMATE ONLY AND
I will also try to attend if it's in early December
On Monday, September 15, 2014 7:18:48 PM UTC-7, weheh wrote:
Target early December. How much interest? Looking for another speaker.
Will try to leverage python user's group. Otherwise, I have a nice room on
UC Berkeley campus large
I have experienced and fixed a problem with wsgihandler.py when using the
latest Passenger Phusion and Apache.
Dreamhost automatically upgraded the Phusion on my server and this
immediately broke a couple of my web2py sites.
It boiled down to the following line in the web2py-provided
will one of these work?
form.element('input',_name=field_hidden)['_type'] = hidden
form.element('input[name=field_hidden]')['_type'] = hidden
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
This is happening periodically for me for the last several releases of
web2py. Using apache on centos.
Sometimes I reload the editing page and it works. Often the tab for the
file will show up with no contents. If I click on the tab, the contents
sometimes show up.
Seems like some ajax
I'm doing exactly that and not running into troubles.
Could it be something about your SSL certificate? If it's not a well
trusted certificate sometimes you need to install it on the client side.
Does it match the domain name you are calling?
I test my server with the following python code and
I can get the register to redirect as I wanted by adding this to the CAS
server application's default controller index function:
if session.service_arg:
redirect(session.service_arg)
The only thing missing then is the register button. It should be
relatively trivial to add that in.
It look like trunk gives the same results.
- I create two new apps up casserve and casclient
- In casclient I create auth with this:
- auth = Auth(db,cas_provider =
'http://127.0.0.1:8000/casserve/default/user/cas')
- I launch casclient/default/index and the login menu only
I'm using 2.5.1
Once I set up the client to use the CAS provider, the registration options
go away on the client.
--
---
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
Thanks Massimo. I will try that
On Tuesday, August 27, 2013 1:12:47 PM UTC-7, Massimo Di Pierro wrote:
I believe this is fixed in trunk. You have to update web2py and the
views/default/users.html in your provider app.
On Tuesday, 27 August 2013 09:33:45 UTC-5, Larry Weinberg wrote:
I'm
I've followed instructions elsewhere and set up a CAS provider application
and a client application that uses the CAS service.
It looks like the registration options go away from the client app in this
flow.
Once on the CAS provider login screen, I can navigate to registration
choice, but when
I figured it out.
I needed to add arguments to GET(). That's where the problem was coming
from because I was sending in a value on the curl command.
I think it's working now.
Sorry for the noise.
--
---
You received this message because you are subscribed to the Google Groups
web2py-users
It seems that the requires_login option for @auth.requires() does not work.
Should it?
Is there another way to make this work for restful calls? I want to
implement a token based REST authentication
I get an invalid arguments message.
If I use Basic Authentication alone it works fine
I have a function that returns JSON data.
It works great when called directly over https (using curl or pycurl).
If however I have a redirect somewhere that sends me to my web2py function
it returns html instead which requests a redirect from the caller.
I would like it to continue to deliver
Sorry. Once again this had nothing to do with web2py. I'll try and be
more thorough next time I post.
It was the method of redirect that my redirect server was using that was
causing the problem. urllib2 and pycurl both failed to handle meta redirect
which is supposedly not preferred method
Great! Thanks Massimo. I'm sure that will save some others some time!
to works fine so far.
On Monday, June 25, 2012 5:40:08 PM UTC-7, Larry Weinberg wrote:
This error is always repeatable:
The Internal error page always links incorrectly to the ticket.
It links back to the top site.
admin/default/ticket/up/10.102.67.127.2012-06-25.17-37-36.38cfaa82-a858
I'm a newbie to apache configuration, so I just spent hours trying to
determine why none of the REST-api-with-authentication web2py examples
were working for me. All worked fine without authentication.
It turns out the apache server with mod_wsgi strips the authorization out
by default.
A one
In order to have the web2py examples work out of the box on Apache with
mod_wsgi, an extra directive is needed in the Apache configuration for the
VirtualHost
WSGIPassAuthorization On
This allows basic authentication to proceed through.
It looks like there are some good reasons why mod_wsgi
I am again running into occasional problems trying to run the trunk code
from a subfolder instead of from a root folder under apache and mod_wsgi.
Maybe my problem is compounded because I also have another web2py installed
at the root, but it seems that some of the internal web2py
functions are
More info:
I restart apache.
Log in to admin in the subfolder version.
Everything works properly.
Log in to admin in the top level version.
Visit the admin of the lower level version.
Sometimes errors occur. Sometimes not.
Sometimes it makes me log in again sometimes not.
It appears
This error is always repeatable:
The Internal error page always links incorrectly to the ticket.
It links back to the top site.
admin/default/ticket/up/10.102.67.127.2012-06-25.17-37-36.38cfaa82-a858-4e7b-9a69-9afc0fb3e7e7
If I visit the errors link normally I can see the error.
--
I am working on a centos 5.5 server using apache and mod_wsgi.
I have a subdomain set up which has web2py 1.99 installed at the root of
the domain.
This works great.
I have been trying to set up a subfolder to host the trunk version of
web2py independently so I can try it.
I added to the apache
some more info:
If I try to pack up a newly created app on the subfolder version, it fails
with a ticket.
Internal errorTicket issued:
unknownhttps://pgdev.smithmicro.com/admin/default/ticket/unknown
If I click on the ticket link, it's linked to unknown in the main web2py
install instead of the
Um, I may have solved my own problem.
In the https (443) section of the apache conf file I had a mistake:
I had
AliasMatch ^/trunk([^/]+)/static/(.*)
/opt/web-apps/w2p_trunk/web2py/applications/$1/static/$2
instead of
AliasMatch ^/trunk/([^/]+)/static/(.*)
My previous web2py installation works fine
I grabbed the trunk and out of the box the editor is unable to save. I can
edit text, but there is no way to save the text now. Also, the menu bar is
not visible for it.
Is this a known problem or do I have some python installation problem?
I cannot save with the button.
I tried Safari and Chrome. Both had the problem.
On Sunday, May 20, 2012 8:46:42 AM UTC-7, Larry Weinberg wrote:
My previous web2py installation works fine
I grabbed the trunk and out of the box the editor is unable to save. I
can edit text
You want style of overflow:hidden I believe.
I'm not sure if this is web2py question or javascript related issue.
In an HTML view I am trying to call a subview with a form in it that has a
jquery
autocomplete attached to a text field in the form.
I attach the autocomplete like this in the form view's document ready
function:
)}
})}});
});
On Monday, May 14, 2012 3:19:05 PM UTC-7, Larry Weinberg wrote:
OK, here is a minimal sample app that demonstrates the problem. I'm
pretty new to web2py so maybe I'm not using the system as I should be.
Thank you for taking a look!
Is this being addressed? I am finding the same problem. Other than that,
and a couple of other suggestions for having more links to speed up the
admin interface workflow I am loving web2py!
Once again I am LOVING web2py. It's transformational technology.
I do have some admin interface suggestions:
1 - It would be very nice if all views in the admin interface included a
single horizontal line near the top that had links back to the last 4 or 5
edited files to make it easier to
37 matches
Mail list logo