This is handled by web2py. The filenames are truncated according to the
size of the uploadfield. This defaults to 512. In new versions of windows
the make file length has been reduced so you have to do
Field(name, 'upload', size=200)
and all filenames will be limited to 200 bytes.
On Sunday,
I assume your classifier has an internal state which you want to maintain
and a startup time you want to avoid. If you are running on a single
machine with rocket (the built-in web2py server) you can cache that state
in ram. For example given
class NLP(object):
lock = threading.Lock()
Will get to the bottom of this today.
On Sunday, 19 July 2015 10:10:21 UTC-5, wish7c...@gmail.com wrote:
Same with me...
Am Mittwoch, 15. Juli 2015 08:42:39 UTC+2 schrieb Annet:
This would happen if the user has already clicked the link.
This also happens when clicking the link for the
We never delete any post. Ever. First posts from new users are moderated so
it may take some time before they are approved are you are whitelisted.
There have been a few rare cases of posts deleted by google. We think it is
a bug. There have been a few occasions of posts deleted by moderated by
Because of the way web2py rein dent python code in templates. You have to do
{{if deal.name == 'phone +7':}} {{url = URL('to_phone','index')}}
{{elif deal.name == 'WALLET':}} {{url =
URL('to_wallet','index')}}
{{else:}} {{url = URL('to_deal','index',
We never delete posts from users, unless the users ask (because they
accidentally post the server password, for example). Yet first posts are
moderated to avoid spam. Usually when a post is on hold for moderation it
is approved within 24 hours or less.
There are some glitches in the process.
thank you, I tested it works very well with web2py
Le dimanche 19 juillet 2015 18:04:11 UTC+2, Anthony a écrit :
On Sunday, July 19, 2015 at 11:10:19 AM UTC-4, eric cuver wrote:
can we use brython with web2py ?
Sure. Brython simply generates Javascript code that then gets executed in
Is there any specific reason, why my posts were denied
As requested, I was providing detailled informations on my setting to
reproduce the issue.
As everybody on the list, I try to help making web2py better.
Deleting posts without comment or reason then seems a litte bit unpolite to
me.
syntax error - why?
{{if deal.name == 'phone +7': url =
URL('to_phone','index')}}
{{elif deal.name == 'WALLET': url =
URL('to_wallet','index')}}
{{else: url = URL('to_deal','index', args=[deal.id])}}
Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Hi,
I have created a text classifier in spyder which classifies text data into
certain categories. Now i want to create a web application(i am using
web2py based on lot of positive reviews) on top of that. So workflow will
be; User enters or types text into a user input box, input is stored
Hi Alessio
If you call from Apache then you can call subprocess directly from
webserver but in nginx you have to use schedule task. Better to run
wkhtmltopdf via schedule task in case of generate pdf or process a report.
THIS IS MY CODE:
def schedule_task__pdf_render():
# import
in /gluon/globals.py I edit all to pickle.dumps(self) ,
pickle.HIGHEST_PROTOCOL)
and then web2py work good
понедельник, 26 января 2015 г., 12:28:57 UTC+3 пользователь Dmitry Ermolaev
написал:
solve^^
replace all pickle.dumps with:
session_pickled = pickle.dumps(self) ,
but slow as hell. ditch apache.
On Monday, July 20, 2015 at 8:14:41 AM UTC+2, ermolaev...@gmail.com wrote:
in /gluon/globals.py I edit all to pickle.dumps(self) ,
pickle.HIGHEST_PROTOCOL)
and then web2py work good
понедельник, 26 января 2015 г., 12:28:57 UTC+3 пользователь Dmitry
Where is this spelled out in the documentation? I could not find it.
- Scott
On Monday, July 20, 2015 at 2:24:24 AM UTC-4, Massimo Di Pierro wrote:
This is handled by web2py. The filenames are truncated according to the
size of the uploadfield. This defaults to 512. In new versions of
If you are logged in, you should be able to see them.
On Friday, 17 July 2015 03:05:21 UTC-5, Walter Munguia wrote:
I should be able to see My orders?
I have:
Not Authorized
Privilegios insuficientes
El martes, 14 de julio de 2015, 11:44:29 (UTC-5), Massimo Di Pierro
escribió:
I
I submitted a pull request. My orders is requesting the user be a manager
and not authorized user.
On Monday, July 20, 2015 at 6:17:27 AM UTC-4, Massimo Di Pierro wrote:
If you are logged in, you should be able to see them.
On Friday, 17 July 2015 03:05:21 UTC-5, Walter Munguia wrote:
I
Anyone who is interested in getting this up and running, please email me
privately and we can talk.
On Wednesday, May 20, 2015 at 8:03:14 PM UTC-5, jjs0sbw wrote:
https://opbeat.com/
--
Joe Simpson
“Reasonable people adapt themselves to the world. Unreasonable people
attempt to adapt
thanks, Anthony.
storing the session ID in the auth_user table upon login sounds like a good
idea. I get the session ID from response.session_id and when I want to
logout the user I generate the session filename with
recfile.generate(user.session_id)
Alex
--
Resources:
- http://web2py.com
-
Nowhere. We only state that Field(..., lenght=) is a parameter. We do
not say that for upload fields this is also the length of the tmp
filename.
On Monday, 20 July 2015 05:28:02 UTC-5, Scott Hunter wrote:
Where is this spelled out in the documentation? I could not find it.
- Scott
Hi @ all,
is there a easy or preferred way to integrate plugin_ckeditor as the default
editor for built-in wiki?
I'm sure i'm missing a basic point there.
Any hints/links to docs?
Kalle
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
https://lh3.googleusercontent.com/-QFRL1ECG8R0/Va0zFfZq47I/GOU/6llw782qMoY/s1600/buttons.png
To approve both a message and the new member, click the button on the right
(the left button approves only the message but doesn't change the member's
status).
Anthony
On Monday, July 20,
Does the second button allow also the message of the user?
On Mon, Jul 20, 2015 at 1:36 PM, Anthony abasta...@gmail.com wrote:
One problem we have is that some moderators approve individual messages of
new members but fail to change the permissions of the member from Moderated
to Allowed. So,
What I do not understand is why. Why would anybody want to build a desktop
in this day and age. You can always install a webapp locally, with a single
user, run the server in background via a .bat script and auto-open the
browser. How is that different than a desktop app in practice?
On
storing the session ID in the auth_user table upon login sounds like a
good idea. I get the session ID from response.session_id and when I want to
logout the user I generate the session filename with
recfile.generate(user.session_id)
That's not how the session filename is generated, and
On Monday, July 20, 2015 at 1:43:33 PM UTC-4, Richard wrote:
Does the second button allow also the message of the user?
Yes, exactly.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Mail crossing :)
Richard
On Mon, Jul 20, 2015 at 1:50 PM, Anthony abasta...@gmail.com wrote:
On Monday, July 20, 2015 at 1:43:33 PM UTC-4, Richard wrote:
Does the second button allow also the message of the user?
Yes, exactly.
--
Resources:
- http://web2py.com
-
One problem we have is that some moderators approve individual messages of
new members but fail to change the permissions of the member from Moderated
to Allowed. So, instead of having just the first post moderated, some
members end up being moderated for much longer. In the admin interface,
Hi
Apologies for resurrecting an old topic, but I have not used web2py in
quite a while and found myself asking the same question.
The application I intend to create needs to have 3rd level menus (perhaps
even 4th)
Without it, my menu structure will be a real mess and there would be no way
to
On Sunday, July 19, 2015 at 8:10:30 AM UTC-7, zenze...@gmail.com wrote:
Hi Dave,
I am a mercurial-cli very addicted user.
In my very very very personal opinion mercurial is better than git for my
projects,
but now I'm not looking for a flame mercurial vs git or hg-cli vs hg-api.
I
On Monday, July 20, 2015 at 10:47:25 AM UTC-7, Massimo Di Pierro wrote:
What I do not understand is why. Why would anybody want to build a desktop
in this day and age. You can always install a webapp locally, with a single
user, run the server in background via a .bat script and auto-open
Some interesting points made here:
https://medium.com/@collinmathilde/why-desktop-apps-are-making-a-comeback-5b4eb0427647
On Monday, July 20, 2015 at 4:23:37 PM UTC-4, Iuri Guilherme dos Santos
Martins wrote:
On Monday, July 20, 2015 at 10:47:25 AM UTC-7, Massimo Di Pierro wrote:
What I do
On Monday, July 20, 2015 at 10:47:25 AM UTC-7, Massimo Di Pierro wrote:
What I do not understand is why. Why would anybody want to build a
desktop in this day and age. You can always install a webapp locally, with
a single user, run the server in background via a .bat script and auto-open
I know there is a post somewhere about this but i´m just sharing something
i found
http://electron.atom.io/
https://www.fyears.org/2015/06/electron-as-gui-of-python-apps.html
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
Is this an oversight or a conscious decision? If I understand you, if
one's filesystem allowed filenames greater than 512 characters, long-enough
but still legal names will still be truncated, and thus thwart the ability
to extract the original file name. That could be a nasty surprise.
P.S.
34 matches
Mail list logo