On Jan 23, 2011, at 8:28 PM, pbreit wrote:
> Is there any chance that is correct behavior?
"Correct in what sense?" is the necessary question. Trailing slashes on URLs
tend to be ignored. For args, it could be used as a means of asking for empty
strings, but it could get pretty confusing. Do we
I emailed my hosting company www.wiredtree.com and they told me that
script will not work
On Jan 23, 9:14 pm, pbreit wrote:
> Perhaps try the Ubunut setup
> script:http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ub...
>
> Either run it or try typing in each command.
>
> Does
I upgraded to 1.91.6. The problem still exists.
If the server dialog box is shut down abnormally, by clicking the
close button without clicking the stop server button first, does this
kind of a problem arise?
Rupesh
On Jan 19, 8:59 pm, Massimo Di Pierro
wrote:
> Please upgrade. 1.91.4 has known
Is there any chance that is correct behavior?
Perhaps try the Ubunut setup script:
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh
Either run it or try typing in each command.
Does you host have instructions for running Python or Django apps?
I'm working in my homepage based on a modified version of the
plugin_wiki. I think you can easily adapt to make it work that way.
Install it, check the controller/plugin_wiki.py index() to understand
how it works and define your frontpage the way it suits the best for a
blog. You may also want to e
is the source code available?
Ok, now I have converted to a clean MySQL database (on EC2) so that
the tables are only generated by web2py. Then I ported the data and
set all the tables to migrate=False before uploading to the server,
and STILL I have the same exact issue. The tables that were originally
created through MySQL st
In this application there is a template tag_cloud, how can I do to
make it excluisivo for each person, since the main page it shows all
the records stored in the table.
Hello Bruno,
I just got a beta account on dotcloud. I saw here that you've been
experimenting with the service and I'm wondering whether you have any
advice for installing and running web2py in that environment. I've
read their docs, but they mostly describe a django installation. For
web2py, it s
I have researched and have found no solutions on installing web2py on
WHM. I have ssh access to the server. This server is running the
latest version of Centos . So I am not sure why there isn't any docs
showing users how to install web2py with that configuration. I need
help with this because
I don't think it would affect the case of 0 args.
On Jan 23, 2011, at 2:05 PM, Kenneth Lundström
wrote:
> I´m a little bit surprised that I havn´t noticed this before as I have used
> len(request.args) quite much to determine the state of an operation.
>
>
> Kenneth
>
>> I think we should
I'll write a unit test and then fix it.
On Jan 23, 2011, at 1:09 PM, Massimo Di Pierro
wrote:
> I think we should change it and treat is like a bug.
>
> On Jan 23, 12:46 pm, Jonathan Lundell wrote:
>> On Jan 23, 2011, at 8:24 AM, Kenneth Lundström wrote:
>>
>>
>>
>>> Has it allways been l
I´m a little bit surprised that I havn´t noticed this before as I have
used len(request.args) quite much to determine the state of an operation.
Kenneth
I think we should change it and treat is like a bug.
On Jan 23, 12:46 pm, Jonathan Lundell wrote:
On Jan 23, 2011, at 8:24 AM, Kenneth Lu
I think we should change it and treat is like a bug.
On Jan 23, 12:46 pm, Jonathan Lundell wrote:
> On Jan 23, 2011, at 8:24 AM, Kenneth Lundström wrote:
>
>
>
> > Has it allways been like this or?
>
> >http://./application/controller/function/args1 len(request.args) = 1
> >http://./appl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
El 23/01/11 09:25, Offray Vladimir Luna Cárdenas escribió:
> Hi,
>
> El 23/01/11 04:29, mart escribió:
>> its not markmin, but perhaps a place to start?
>
>> http://code.google.com/p/rst2pdf/
>
>
>> Mart
>
> Thanks Mart I will take a look (an
It would be nice to be able to deploy bytecode compiled code on GAE
but they seem to use a different magic_number which prevents it.
On Jan 23, 9:50 am, devGS wrote:
> Thanks a lot! I removed the compiled version and it works now.
>
> On Jan 23, 5:27 pm, Massimo Di Pierro
> wrote:
>
>
>
>
>
>
>
After testing the results in the shell, I can't believe Web2py keeps
throwing an (!) error that the date is not in %Y-%m-%d format (!) (or
%Y-%m-%d %H:%M:%S.%f for datetime), when it clearly is in the shell.
I have tried several different methods, with the most logical (in my
opinion) being:
top10
On Jan 23, 2011, at 8:24 AM, Kenneth Lundström wrote:
>
> Has it allways been like this or?
>
> http://./application/controller/function/args1 len(request.args) = 1
> http://./application/controller/function/args1/args2 len(request.args)
> = 2
>
> but
> http://./application/cont
On 01/23/2011 11:38 AM, Jonathan Lundell wrote:
Did you restart web2py?
Jonathan,
That was it, THANK YOU! A quick Apache restart cured my ills. I didn't
realize that, when running web2py behind WSGI, the routes.py file was
only read once.
-- Art Z.
--
Art Zemon, President
Hen's Teeth
It's probably doing a split without a strip, so args[1] is ''. I need to check
that the new and old URL parsers treat this the same way. Maybe it's a feature;
how else would you get an empty string?
On Jan 23, 2011, at 10:24 AM, Kenneth Lundström
wrote:
> Has it allways been like this or?
>
This is an older feature. Should work.
On Jan 23, 2011, at 11:37 AM, Kenneth Lundström
wrote:
> As it was my first error I´ll pass it on to you. What version of web2py are
> you using. If not trunk then the new router does not work as it is in beta
> still.
>
> Otherwise will´ll have till w
Did you restart web2py?
A quick test is to insert a Python syntax error to make sure the file is being
processed.
On Jan 23, 2011, at 11:19 AM, Art Zemon wrote:
> Help! I feel like a dolt. I have a trivial routes.py installed in
> DOCROOT/web2py/routes.py:
> #!/usr/bin/python
As it was my first error I´ll pass it on to you. What version of web2py
are you using. If not trunk then the new router does not work as it is
in beta still.
Otherwise will´ll have till wait for more wiser guys.
Kenneth
Help! I feel like a dolt. I have a trivial routes.py installed in
DOCRO
Help! I feel like a dolt. I have a trivial routes.py installed in
DOCROOT/web2py/routes.py:
#!/usr/bin/python
default_application = 'gotosigns'
default_controller = 'default'
default_function = 'invalid'
If I visit https://web2py.hens-teeth.net/ , I end up at
https://web2py.hens-te
Has it allways been like this or?
http://./application/controller/function/args1 len(request.args) = 1
http://./application/controller/function/args1/args2
len(request.args) = 2
but
http://./application/controller/function/args1/ len(request.args) = 2
I would have guessed th
I guess theoretically there is nothing wrong in creating tables and then
writing the model files but in practise it can be quite hard to get them
exactly correct.
So either write model files for all tables and then let web2py create
them or create tables in the database, import the table struc
Thanks a lot! I removed the compiled version and it works now.
On Jan 23, 5:27 pm, Massimo Di Pierro
wrote:
> You may be trying to run a compiled app on GAE. You cannot do that.
> Run web2py normally first (no appserver), remove the compiled one,
> then run it.
>
> On Jan 23, 7:32 am, devGS wrot
Validators are filters. So if the first validation does not pass, the
value does no get sent to the next.
You could do:
class CHECK_ALL(object):
def __init__(self,*validators):
self.validators=validators
def __call__(self,value):
errors = [e for e in [v(value)[1] for v in
Hi all,
When using multiple validators per form field, the validation process
stops when the first check fails.
Is there a way to get all the field errors when validating a form?
Thanks for your time,
Stefan Izota
You may be trying to run a compiled app on GAE. You cannot do that.
Run web2py normally first (no appserver), remove the compiled one,
then run it.
On Jan 23, 7:32 am, devGS wrote:
> Update: there is an error I found in the log
>
> ERROR 2011-01-23 06:30:11,664 restricted.py:151] Traceback (m
Thanks. Was planning to switch the db over at some point anyway, so
guess it might as well be now. Didn't realize mixing existing tables
with the DAL was such a no no.
On Jan 23, 10:03 am, Kenneth Lundström
wrote:
> Two options:
>
> - if possible use an other database of the remote server and let
Two options:
- if possible use an other database of the remote server and let web2py
create all tables and then check whats different between those two databases
- backup up data on remote server, drop database, create database, let
web2py create tables and try to restore backup.
Kenneth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
El 23/01/11 04:29, mart escribió:
> its not markmin, but perhaps a place to start?
>
> http://code.google.com/p/rst2pdf/
>
>
> Mart
Thanks Mart I will take a look (and thanks Massimo too ;-).
Cheers,
Offray
-BEGIN PGP SIGNATURE-
Ver
Update: there is an error I found in the log
ERROR2011-01-23 06:30:11,664 restricted.py:151] Traceback (most
recent call last):
File "C:\Users\vitamin\Desktop\web2py\gluon\main.py", line 446, in
wsgibase
serve_controller(request, response, session)
File "C:\Users\vitamin\Desktop\web2py
It didn't work. I also tried to run it in different ways,
the only thing that worked was starting web2py
and GAE launcher on the same port (web2py first). The first time I
tried to run it,
there were no problems or errors. However that was before the above
error occurred.
On Jan 23, 12:45 am, Mass
Hello,
Today I got web2py running on EC2 and it wasn't too bad despite my
unix newbie status, but now I've run into a strange problem.
The app connects to a remote MySQL database. This database was
partially created and filled directly through MySQL, then we connected
web2py and let it manage fur
Http://web2pybrasil.com.br is only plugin wiki (outdated)
Em 23/01/2011, às 02:18, Plumo escreveu:
> http://web2py.com/book/default/chapter/13#plugin_wiki
> The welcome app plus the plugin_wiki can be thought of as a development
> environment in itself that is suitable for building simple web
its not markmin, but perhaps a place to start?
http://code.google.com/p/rst2pdf/
Mart
On Jan 23, 3:19 am, Massimo Di Pierro
wrote:
> It is NOT as easy ...
>
> somehow the NOT was missing.
>
> On Jan 22, 9:54 pm, Offray Vladimir Luna Cárdenas
> wrote:
>
>
>
>
>
>
>
> > -BEGIN PGP SIGNED M
have you tried html2markdown to import things to plugin_wiki?
I'm not sure about the differences between markmin and markdown, don't
know if they are "compatible" but that would be a smaller step. In
last case, you can even adapt plugin_wiki to work with it...
On Jan 21, 12:53 am, Offray Vladimir
I'm getting "Internal error Ticket issued: unrecoverable" after running the
sample app
few times and deleting some entities from my local datastore.
I don't know what stack trace I can look into since my log console doesn't
show any errors.
The error happens when running web2py from GAE Launch
It is NOT as easy ...
somehow the NOT was missing.
On Jan 22, 9:54 pm, Offray Vladimir Luna Cárdenas
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> El 22/01/11 19:28, Massimo Di Pierro escribi :
>
> > I cannot find that code any longer. Anyway, it is as easy as I thought
>
42 matches
Mail list logo