Hi,
Do anyone know if any hosting solution in India supports web2py
deployments?
--
Thanks
Narendran
You can use service like linode / slicehost /webfaction to deploy. If
you need managed deployment optimized for web2py with service in
India, contact me
Regards
Vihang
On Jun 24, 11:14 am, Narendran gunanar...@gmail.com wrote:
Hi,
Do anyone know if any hosting solution in India supports web2py
Hi!
I'm validating a self referencing field via onvalidation parameter of
crud.update(). My function checks if this field is the same as the id
and emits an error in this case (setting form.errors.ref_field). (form
is the parameter for the function given to onvalidation)
I read the example to
@auth.requires(request.client==None or
auth.has_membership('managers'))
don't work.
What do u mean about fake authentication?
how to do it?
On Jun 22, 3:31 am, Álvaro Justen alv...@justen.eng.br wrote:
On Mon, Jun 21, 2010 at 13:30, mdipierro mdipie...@cs.depaul.edu wrote:
try
Something s wrong in building the upload paths. You get
C:\\...\\web2py\\applications\\Library/databases\\..\\uploads\\...
notice \\ everywhere (correct) but / between Library and databases and
\\..\\ should not be there.
This is a bug somewhere. a Missing os.path.join probably. Will work on
it
This may be useful
http://web2py.com/examples/static/mobile_device_detect.py
On Jun 23, 8:38 am, Doug Warren doug.war...@gmail.com wrote:
Does anyone have some hints for showing mobile browsers a different
set of views than desktop browsers? IE: Detection, redirection,
etc... Since the view
thinking about how to handle this...
On Jun 22, 12:56 pm, Carles Gonzalez carle...@gmail.com wrote:
My english is horrible, an maybe it wasn't clear, but that was exactly
my problem :).
Currently i'm looking at the code massimo told me about but i think
that the problem isn't here.
I
yes. It should be amended. I will add to the queue of summer
tasks. ;-)
On Jun 23, 4:10 pm, Joschua joschu...@yahoo.de wrote:
I think it should be appended not updated, because that are just the
top security flaws, but all are important.
The new one are:
* A6: Security Misconfiguration
My convention is:
static: files that are public
uploads: files that are uploaded into the system and may be subject to
access control
private: files that the app needs but are not sent over the network
If you use the built-in upload mechanism it is not a good idea to move
the file.
On Jun 23,
Hi,
I try to use global variable in a controller.
global a
a=5
def index():
return dict()
def func1():
global a
a=request.vars.id1
def func2():
global a
print a
The html page call func1 first and change the value of the global
variable a to 8. But when html page call func2
Thanks!
On Thu, Jun 24, 2010 at 2:27 PM, mdipierro mdipie...@cs.depaul.edu wrote:
thinking about how to handle this...
On Jun 22, 12:56 pm, Carles Gonzalez carle...@gmail.com wrote:
My english is horrible, an maybe it wasn't clear, but that was exactly
my problem :).
Currently i'm looking
Hi,
I use the ajax function as follows:
ajax('func1', ['id1'], '')
because I don't need to send some value to the html page, so I set the
third parameter null. But IE raises error
'document.getElementById(...)' is null or not an object.
How can I use the ajax function when I don't want to send
So where would I put text and mp3 files that are created by my system
(not uploaded) and available to end users subject to access control:
static or uploads? That doesn't seem to fall into any of your
conventional categories.
On Jun 24, 8:30 am, mdipierro mdipie...@cs.depaul.edu wrote:
My
Hi,
How can I change the encoding of the files edited with the editor's
own web2py?
Rgards,
Jose
Yeah!!! Great, this is super-useful! I was not able to make it work
yet it will not install as an appliances and extracting the
application folder in the web2py didnt work either. Its because some
parts are not ready yet? I cant wait to see this in my application
list in web2py!
gls
You cannot but if you do
ajax('func1', ['id1'], ':eval')
it will interpret the returned page as json and evaluate it. id If you
return 'null' or '', it should work as expected and not raise any
error.
On Jun 24, 9:47 am, ilovesss2004 yyiillu...@gmail.com wrote:
Hi,
I use the ajax function as
If you apply access control to your files, than they are referenced by
the database. In this case you should use the
db.table.field.store(stream,filename) method to store the stream into
uploads. If there is no access control put it in static.
On Jun 24, 10:14 am, weheh richard_gor...@verizon.net
I do not know if that is possible
On Jun 24, 10:22 am, Jose jjac...@gmail.com wrote:
Hi,
How can I change the encoding of the files edited with the editor's
own web2py?
Rgards,
Jose
yes that's what I'm saying... there must be some code in Web2py where
if the field is 'upload' and you're running on GAE, then it triggers
creation of the blob field... but probably shouldn't create the blob
in the same table, since on GAE there is no way to NOT load the blob
(it always loads the
Dear List,
the ajax based background search crashes my web2py installation. It's
version 1.77.3 and I'm using the fcgihandler to access the
application. OS: OpenBSD 4.6, Python version is Python 2.5.4
(r254:67916, Oct 19 2009, 01:52:14).
As You can see below the search makes three database
Hi,
I am having an error in web2py app. I am not able to figure out what
is causing the error. It would be of great help if any can figure out
the error and let me know.
Error is as follows:
Traceback (most recent call last):
File /cube/apps/web2py/gluon/restricted.py, line 178, in
Got it. I will look into creating such option. The issue is to make it
general enough
On Jun 24, 12:06 pm, NickFranceschina nickfrancesch...@gmail.com
wrote:
yes that's what I'm saying... there must be some code in Web2py where
if the field is 'upload' and you're running on GAE, then it
db.define_table(Field('university', length=128,default=''),)
is missing tablename
db.define_table('tablename',Field('university',
length=128,default=''),)
so it thinks the Field(..) is a tablename.
On Jun 24, 12:11 pm, Deepan nicky3...@gmail.com wrote:
Hi,
I am having an error in web2py
This needs to be investigated. I think it may be a problem with
fcgi.py, not with web2py itself. Anywya, let's rule out problems with
session locking. Try add
session.unlock()
to those actions called via ajax that do not write session variables.
Do you still get the problem?
Do you use sqlite?
I've added session.unlock to each of the functions and it seems stable
except under one condition and that is if I'm accidentally double
click the submit button.
I'm using MySQL as the backend.
The first function (bg_quick_dvd()) got executed and it returns the
value but the following just times
It is not an appliance , and not made web2pyapp yet , after you unzip it
into application folder modify view/index.html and
controller/default/web2py_elcon
in Controller:
def web2py_elcon():
cont=connector({
'root': '/home/v3ss/Downloads', # MODIFY to file folder path of your
I re-tried, managed to install extracting files in the correct folder,
but now Im stuck
Note URL (Both in View and web2py_elcon) need to be change to your
host:port (i did with port 8080)
Can you please explain a little more, what I've to change and where?
From what I understand seems to edit
Please ignore my previous message (written before you replied), now I
will try to make your suggested changes
Thanks! Makes sense. What method would you use to stream an mp3, ogg,
wav ... or other audio file? Also, could you clarify what the
filename argument represents -- is it the name you want the file to
be or the name of the file being input (I believe it's the latter)?
On Jun 24, 11:33 am,
OK feel free to ask , and if you stuck give me error message.
On Jun 24, 8:35 pm, Giuseppe Luca Scrofani glsdes...@gmail.com
wrote:
Please ignore my previous message (written before you replied), now I
will try to make your suggested changes
Well I use it without any modification, but using php version, as an
independient application
Now i want integrate it as web2py component, I will show my results
here, ok?
On 19 jun, 23:36, Phyo Arkar phyo.arkarl...@gmail.com wrote:
Has anyone Successfully integrated elFinder into web2py?
I am
Hi M -
So I've used you example (a little simplified):
On Jun 23, 3:15 am, Swell swel...@googlemail.com wrote:
Ok
I will post some code here to show as much as possible
here is the db definition:
db.define_table('papers',
Field('title','string'),
Field('author','string'),
By the way -
The filename in the upload directory was 194 characters --- it's
entirely possible that windows was having trouble with this.
Here is the listing of my test uploads directory (the first was just
a 'normal' length file):
-rw-r--r-- 1 yarko staff 2642 Jun 24 17:33 test.file.
I've done a parent - to - many child GAE / web2py implementation using
SelfReference fields (or you can use Reference as well) using the
technique for adding native GAE fields into a web2py table definition.
It gives fantastic retrieval performance because GAE automatically
adds the link from
As an aside, the mixing of \\ and / is unsightly but does not seem to
cause a problem on widows. If you want to tidy it up, it's around
line 786 of main.py:
request.folder = os.path.join(request.env.web2py_path,
'applications', request.application) + '/'
On Jun 25, 11:15 am,
Very interesting!
I'll try tomorrow.
Thanks a lot, Dave.
On Fri, Jun 25, 2010 at 1:21 AM, dlypka dly...@gmail.com wrote:
I've done a parent - to - many child GAE / web2py implementation using
SelfReference fields (or you can use Reference as well) using the
technique for adding native GAE
Not to be annoying, but can you post an example?
Just to organize the things in my head...
Thanks again.
On Fri, Jun 25, 2010 at 2:41 AM, Carles Gonzalez carle...@gmail.com wrote:
Very interesting!
I'll try tomorrow.
Thanks a lot, Dave.
On Fri, Jun 25, 2010 at 1:21 AM, dlypka
So what i am doing is DB manager which support creating of DBs and
also want to Define predefined set of Tables inside DB.
But , as its going to be dynamic , it have to load DBs on the fly ,
inside controllers..
Lile this:
In Controller:
def __createCase(dbName):
import MySQLdb
actually, Russell, I don't think you want to do that...
On Jun 24, 7:40 pm, Russell russell.mcmur...@gmail.com wrote:
As an aside, the mixing of \\ and / is unsightly but does not seem to
cause a problem on widows. If you want to tidy it up, it's around
line 786 of main.py:
39 matches
Mail list logo