Understood. Thanks!
On Jun 26, 1:25 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I do not believe this is possible at all (except by downloading a
zipped file). The JS in the browser is not allowed to initiate
downloads because it has no access to local filesystem. Downloads must
On Jun 26, 1:25 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I do not believe this is possible at all (except by downloading a
zipped file). The JS in the browser is not allowed to initiate
downloads because it has no access to local filesystem. Downloads must
explicitly initiated
Hello!
I've been trying to use login via linkedin using the
contrib/login_methods/linkedin_account.py module.
Off the bat, I got the error : AttributeError: 'module' object has no
attribute 'LinkedIn'
(this is the same problem Kuba mentioned on nov 12 2010)
the reason is that
I am using Facebook's Registration plugin which allows users to
either register or login into a 3rd party site using their facebook
account. I would like to know if its possible to get the signed data
from facebook and do a manual insert into the user table and still
have auth working? or in other
Code updated to support python2.5 in generating the md5 checksum. Thanks
Peter.
Hi,
I have one server and one IP address. I use Ubuntu 10.04 with Apache
and Web2py.
I have the default installation working.
I have the following domain names:
castle.example.com
www.demonstration.com
So here is my problem... I want to use Apache and Virtual Hosts for
multiple domains. I want
what about the functions defined in the models ? (global functions)
Hello,
I think the best way is to let Apache take care of sort out web2py
domains and non web2py domains. If you want to have a PHP site on one
vhost and the rest are web2py then you need two vhost files. All web2py
domains are pointed towards webpy.
Web2py with routes.py takes care of
Thank you very much!
Martin
2011/6/25 Anthony abasta...@gmail.com
First, I think you want FORM(INPUT(_name='n')), otherwise you'll have an
empty form.
If you want to pre-populate a form using form.vars.fieldname=somevalue, you
have to do that after the form is created, but *before* you call
Hi everybody,
I'm searching for a way to interface into a web2py application, that
does not use any of the built-in function-decorators.
I want to write a service that would run locally, and interact with
the web2py server, located on our company server, and serve as a
common bridge for multiple
Please do not use exec_environment. Can you tell us more what kind of
interface you need? What is the purpose?
There are various way to interface and which one you use depend on the
purpose:
1)
web2py.py -S app -M -N -R yourcode.py
2)
From your code
db =
I found the cause it this problem. It is not a bug in web2py but
something to be careful about in your programs.
You have a models/meteo.py which imports modules/meteo.py.
models/meteo.py does
current.database = db
and modules/mete.py does
db = current.database
the problem is that the
Still awaiting my response
thanks guys
On Jun 26, 8:36 am, Pystar aitoehi...@gmail.com wrote:
I am using Facebook's Registration plugin which allows users to
either register or login into a 3rd party site using their facebook
account. I would like to know if its possible to get the signed data
Not many changes but lots of small bug fixes that make things work
better.
generic fields are now disabled by default for old app and only
enabled on localhost for new apps.
This is a security improvement that was discussed extensively here,
was release in 1.96.x but was still not working as it
An update (getting closer, but still problems):
It seems there are a couple more errors in linkedin_account.py:
There is an extraneous command which must have been left over from sample
code:
profile = self.api.GetProfile(profile).public_url =
http://www.linkedin.com/in/ozgurv;
On Sunday, June 26, 2011 1:10:48 AM UTC-4, weheh wrote:
p.s. Massimo - is this anywhere in the doc? If not, I can put it in
there for the community. Which chapter should it be in? I would never
have figured this out without your response!!!
For static file requests, it looks like
One more clue:
In the infinite loop, every loop through the linkedin grant access
(/oas/oauth/authorize) page has a new oauth_token, such as
https://www.linkedin.com/uas/oauth/authorize?oauth_token=f9eef16e-4f45-4f5e-aa5f-82ab18ad3a16
L.
2011/6/26 sebastian sebastianov...@gmail.com
what about the functions defined in the models ? (global functions)
Pydev won't see them because they are imported implicitly by web2py. You can
use the if 0: trick so the static code analyzer will not complain:
if 0:
from
On 26/06/2011 20:03, Massimo Di Pierro wrote:
Hope this makes sense.
thanks a lot
I got it now :)
Manuele
I just updated to trunk;
I also modified the auth table and added an extra few fields,
I added
Field('key','string')
as well I added
auth.signature
Each time I try to login now Login fails with invalid login.
Is there something I have to do enable this?
Thanks.
David
By the way I forgot to mention this is only for existing users;
Not new ones; I created a new user and I can login with that account.
On 6/26/11 3:50 PM, David J. wrote:
I just updated to trunk;
I also modified the auth table and added an extra few fields,
I added
Field('key','string')
as
I noticed the password in the last user I added is in plain text and no
longer encrypted/hashed?
On 6/26/11 3:50 PM, David J. wrote:
I just updated to trunk;
I also modified the auth table and added an extra few fields,
I added
Field('key','string')
as well I added
auth.signature
Each
{{=LOAD(f='list.load', ajax=True, vars=dict(table='customer'))}}
Works fine but if I change to ajax=False then it gives a restricted
error.
On Jun 26, 7:29 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Not many changes but lots of small bug fixes that make things work
better.
Massimo is right and I support him. No exec unless ABSOLUTELY needed,
and I mean it. :P
Running the web2py as a service does a good job.
From what you say, you could do as massimo says and create a service to
handle that special communication.
Basically, I am just seconding Massimo cause he
As nice and easy as it is (I love how easy the language is). Couldn't
we just do this with python? That way we could just add our css file as
a dynamic file like the others. I am personally planning to use the
python code in my css generation as I need to do a bit of math and want
variables
In email
On 06/24/2011 02:00 PM, villas wrote:
I notice that group member Dwayne was offering a 'bounty' to the
project for information etc. I really like this idea and I wonder
what others thought.
It provides an incentive to provide more functionality and gives
people an excuse to
Hi All,
just wondering how strongly coupled are the web2py LOAD with the ajax
componetnts present in the applications... (web2py_ajax.html and
web2py_ajax.js for example)
I mean, would an old application that works fine with an old web2py, still
work on a newer web2py version which has changed
The tables defined with a request_tenant field have the multi-tenant
feature.
If you want a 'global' table, then define it before you start using the
request_tenant field.
Can you call the list.load action directly? Do you get a ticket?
On Jun 26, 3:01 pm, apple simo...@gmail.com wrote:
{{=LOAD(f='list.load', ajax=True, vars=dict(table='customer'))}}
Works fine but if I change to ajax=False then it gives a restricted
error.
On Jun 26, 7:29 pm, Massimo Di
There should be no coupling at all. Anyway all changes to LOAD and or
web2py_ajax (and I mean intentional changes, not bugs) are implemented
with backward compatibility in mind.
On Jun 26, 3:36 pm, Sebastian E. Ovide sebastian.ov...@gmail.com
wrote:
Hi All,
just wondering how strongly coupled
The new version of web2py_ajax.html/web2py_ajax.js should work the same as
the old web2py_ajax.html, so you shouldn't need to update if you don't want
to. Most of the original file was separated into a .js file in static (a)
so the content can be cached by browsers instead of being sent on
So does that mean tables defined before:
db._common_fields=[Field('request_precinct',default=request.env.http_host,writable=False,readable=False)]
Don't get populated with the common field?
If so that's great, lets you define which tables get fields, or even
have several levels of common fields.
correct
On Jun 26, 4:05 pm, Chris S sanders.ch...@gmail.com wrote:
So does that mean tables defined before:
db._common_fields=[Field('request_precinct',default=request.env.http_host,w
ritable=False,readable=False)]
Don't get populated with the common field?
If so that's great, lets you
Try changing the field name 'key' which is likely to cause issues because it
has been a reserved word.
great !
On Sun, Jun 26, 2011 at 10:01 PM, Anthony abasta...@gmail.com wrote:
In general, when you upgrade to a new web2py version, you shouldn't need to
update your applications, though you may want to in order to take advantage
of some new features (or bug/security fixes).
--
Sebastian
Windows:
C:\WINDOWS\system32\drivers\etc\hosts
http://bjk5.com/post/6944602865/google-app-engine-mini-profiler
Still not working
I actually reset s password on a test account and it worked. So something
else must be causing this error
On Jun 26, 2011 5:33 PM, villas villa...@gmail.com wrote:
Try changing the field name 'key' which is likely to cause issues because
it
has been a reserved word.
yes. works fine if I just type it in the url box.
On Jun 26, 9:57 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Can you call the list.load action directly? Do you get a ticket?
On Jun 26, 3:01 pm, apple simo...@gmail.com wrote:
{{=LOAD(f='list.load', ajax=True,
Thanks Pierr,
I was trying to do that but it is not working... actually I have a bunch of
imports insede that if 0 trick that solve all the web2py dependencies
errors...
the only errors stil there are those due to functions in my model files (as
for example the models of my plugins)
I've tried
add info:
from applications.soso.models import my_db_helper_here
eclipse give this error:
Unresolved import: my_db_helper_here
Unused import: my_db_helper_here
On Sun, Jun 26, 2011 at 11:43 PM, Sebastian E. Ovide
sebastian.ov...@gmail.com wrote:
Thanks Pierr,
I was trying to do that but
How about you specify the controller?
{{=LOAD('default','list.load', ajax=False,
vars=dict(table='customer'))}}
On Jun 26, 5:18 pm, apple simo...@gmail.com wrote:
yes. works fine if I just type it in the url box.
On Jun 26, 9:57 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
no difference. with ajax=True it works. with ajax=False it throws a
restricted error.
On Jun 26, 11:50 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
How about you specify the controller?
{{=LOAD('default','list.load', ajax=False,
vars=dict(table='customer'))}}
On Jun 26, 5:18 pm,
I cannot reproduce this. I just tried this and it works:
def index():
load = LOAD(f='test.load',ajax=False,vars=dict(table='customer'))
return locals()
def test():
return 'hello world'
Would you send me a minimalist app so I can reproduce it. It is not a
good idea to call an action
2011/6/26 Sebastian E. Ovide sebastian.ov...@gmail.com
add info:
from applications.soso.models import my_db_helper_here
eclipse give this error:
Unresolved import: my_db_helper_here
Unused import: my_db_helper_here
Is the web2py folder in your path?
I guess you are missing a level. Try
I guess we could roll our own. But I see it more like jQuery and
other add-ins. Life would be very difficult if we tried to duplicate
_everything_ in Python!
This looks easy to use, it's pretty small, and sort of... well...
elegant for lack of a better word. It is aesthetically pleasing as
I agree. Moreover when we move stuff like this to the client our apps
get faster, when we move it to the server they get slower.
On Jun 26, 10:55 pm, Joe Barnhart joe.barnh...@gmail.com wrote:
I guess we could roll our own. But I see it more like jQuery and
other add-ins. Life would be very
I just found this thread. This is an awesome feature I could see using a
lot in the future.
BR,
Jason
On Mon, Jun 27, 2011 at 12:09 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
correct
On Jun 26, 4:05 pm, Chris S sanders.ch...@gmail.com wrote:
So does that mean tables defined
48 matches
Mail list logo