If I use the function git push from the admin console I get an error
Traceback
1.
2.
3.
4.
5.
6.
Traceback (most recent call last):
File /home/olituks/web2py/gluon/restricted.py, line 224, in restricted
exec ccode in environment
File
On Monday, 29 September 2014 21:26:11 UTC+8, Massimo Di Pierro wrote:
can you tells us more about the problem. If in path it should just use it.
what error do you get?
Hi,
This is the error message:
type 'exceptions.RuntimeError' Failure to connect, tried 5 times:
Traceback (most
Hi,
I am intending to use web2py to build some services and tools. I really
admire how Massimo DiPierro and the contributors has created an amazing web
app development platform from what I have seen so far. It takes away so
much pain from web dev. Its been a month since I have started using
All files have the same ownership...other thoughts?
On Fri, Sep 26, 2014 at 8:27 AM, Trevor Strauss trevor.stra...@gmail.com
wrote:
Hi, upgraded through the admin console. will check the user/file
ownership but but think I recall them being the same when I checked file
permissions. Thanks
Hi Simone,
Thanks for your reply. I used the solution from the web2py document site:
http://www.web2py.com/books/default/chapter/29/13/deployment-recipes, in
section Start the scheduler as a Linux service (upstart). After I started
it, the status check (sudo status web2py-scheduler) shows that
Dave: This is exactly what I am looking for.
Very good solution. Thanks!
On Tuesday, September 30, 2014 11:11:08 AM UTC-7, Dave S wrote:
On Tuesday, September 30, 2014 12:02:32 AM UTC-7, Niphlod wrote:
nope, just an A. if ou need a something that when you click on it it
brings you on
in theory they should be in sync. In practice, sometimes googlecode falls
behind. For sure the originator of new code is now github, thanks to its
social features.
On Wednesday, October 1, 2014 6:11:13 AM UTC+2, pbreit wrote:
Is Github the preferred source now?
On Tuesday, September 30,
On Tuesday, September 30, 2014 3:42:41 PM UTC+2, Pengfei Yu wrote:
Hi Simone,
Thanks for your reply. I used the solution from the web2py document site:
http://www.web2py.com/books/default/chapter/29/13/deployment-recipes, in
section Start the scheduler as a Linux service (upstart). After I
This error should never happen since that filename matches
REGEX_UPLOAD_PATTERN, what version of web2py are you using?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
I sometimes find very inconvenient the translate feature. Some views
contain a lot of static text, so if I want to translate it I would do:
p{{=T('I sometimes find very inconvenient the translate feature. Some
views contain a lot of text, so if I want to translate it I would
do:')}}/p
but if
I think you shouldn't use the built in translation for big static texts.
Static texts should be in the db in their different language versions and
then you can pick the correct one using T.accepted_language.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hi:
I search an dms (documental management system) as
http://mayan.readthedocs.org/en/latest/contents.html than is in django.
I search some write on web2py, but not found anything.
Does anyone know any? Any idea?
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book
I noticed a pretty nasty glitch while scaling my production server today :
The implementation of close_connection() in dal.py doesn't work well with
multiple dynos in a cloud hosting solution.
Here's the code I have, runnint web2py 2.9.5 :
def close_connection(self):
if self.db is
On Tuesday, September 30, 2014 8:45:46 AM UTC-7, Anthony wrote:
You'll need to get it from Github -- Google Code is broken at the moment
(the commit is missing the entire new dal folder).
I have tried the github version now and it is broken:
File /home/js/web2py/gluon/dal/base.py, line
uhm. strange. did you care to prune the old dir before overwriting ? (i.e.
you don't have a gluon/dal.py file) ?
On Wednesday, October 1, 2014 2:08:36 PM UTC+2, Johann Spies wrote:
On Tuesday, September 30, 2014 8:45:46 AM UTC-7, Anthony wrote:
You'll need to get it from Github -- Google
to be fair, you shouldn't have migration turned on on production. what
you're seeing is some app trying to store the equivalent of .table files
inside the db. Only one app should be allowed to do that, not both (i.e.
only one frontend).
On Wednesday, October 1, 2014 2:07:58 PM UTC+2, Louis
I've added a file to the modules folder, in a controller I import this
module which works fine locally (Windows). When I deploy my application to
the server (linux, apache) I get the following error when I try to import
my module:
File web2pypath/gluon/custom_import.py, line 82, in
How are you importing the module?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google
import jasperclient
jasperclient is the module name (there is a file modules/jasperclient.py).
Am Mittwoch, 1. Oktober 2014 16:12:09 UTC+2 schrieb Leonel Câmara:
How are you importing the module?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Let me check if I got your idea:
You mean I should create a table (slug,lang)-text
db.define_table('texts',
Field('slug', 'string'),
Field('language', 'string'),
Field('text', 'text')
)
and then use it in controllers and views like this:
def my_controller():
...
return
That seems like a good solution. And yes you will need to make an interface
in the backoffice for people to translate.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
After you deployed your application with the module in the modules folder,
did you restart apache?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
not until now. Restarting apache didn't make any difference.
Am Mittwoch, 1. Oktober 2014 16:53:01 UTC+2 schrieb Leonel Câmara:
After you deployed your application with the module in the modules folder,
did you restart apache?
--
Resources:
- http://web2py.com
- http://web2py.com/book
That's weird, it's normal to have to restart for web2py to detect new
modules in the application, this should have solved the problem. How did
you configure web2py and apache?
BTW if you're using Linux I seriously recommend a switch to nginx and
uwsgi-emperor.
--
Resources:
-
Translation Markmin is available.
T.M('**bold** this text')
On Wednesday, October 1, 2014 6:03:44 PM UTC+8, Pablo Angulo wrote:
I sometimes find very inconvenient the translate feature. Some views
contain a lot of static text, so if I want to translate it I would do:
p{{=T('I sometimes
Hello,
I'm working on a personal project using Rackspace's pyrax bindings to
create a Control Panel. I've made some progress however am confused on a
few things and could use some guidance.
1) Correctly storing authenticated user data.
e.g.
I have a module called rs_auth.py that takes
Another idea, delete all .pyc files in your modules folder. Restart apache
and try again.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received
2.5.1-stable
Den onsdagen den 1:e oktober 2014 kl. 12:54:51 UTC+3 skrev Leonel Câmara:
This error should never happen since that filename matches
REGEX_UPLOAD_PATTERN, what version of web2py are you using?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Looks like there's some issues with running the application. Those files pn
mentioned were already there but I get the following (couldn't find
anything about this in the changelog):
type 'exceptions.TypeError' define_tables() got an unexpected keyword
argument 'signature'
This is the
Looks like something is wrong with the filename. It should be of the form:
[tablename].[fieldname].[first 16 characters of UUID].[b16encoded original
filename].[extension]
Instead, it looks like it includes a full (non-truncated) UUID and no
b16encoded filename. Was the file originally stored
you're having a problem with the upgrade. auth.define_tables() didn't
change anything, and *signature* is a valid argument for it check again
if your current version of web2py is correctly updated.
On Wednesday, October 1, 2014 8:40:49 PM UTC+2, Marko Poutiainen wrote:
Looks like there's
Hi,
yes I use this function:
def makeThumbnail(dbtable,ImageID,size=(150,150)):
try:
thisImage=db(dbtable.id==ImageID).select()[0]
import os, uuid
from PIL import Image
except: return
if thisImage.image == :
return
im=Image.open(request.folder +
I have a site at http://netdecisionmaking.appspot.com and related code at
https://github.com/NewGlobalStrategy/NetDecisionMaking. It demonstrates an
asynchronous group decision making solution using web2py. Moving group
decision making online seems to be an opportunity. The internet
Argh, just realised what the issue seems to be. I installed from Ubuntu
repositories and I'm still running 12.04 on that box - web2py is from
2011..
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
thanks for your help. Unfortunately I could not resolve the issue so far. I
deleted all .pyc files and restarted apache, still does not work (there are
no .pyc files in the modules folder now). what web2py or apache
configuration could have an effect on this? are there any specific
settings?
def makeThumbnail(dbtable,ImageID,size=(150,150)):
try:
thisImage=db(dbtable.id==ImageID).select()[0]
import os, uuid
from PIL import Image
except: return
if thisImage.image == :
return
im=Image.open(request.folder + 'uploads/' +
Testing the latest 2.9.11 on GAE, seems like /admin app is breaking, since
many static resources can't be found.
I used the new web2py.py -G configure.
However it seems like the .yaml may not have all the static routes?
See Screenshot here:
You can not compile the app and deploy in another machine as pyc files are
not portable. You should remove the compiled directory and compile it again
on the server.
Then go to admin clear all sessions and cache.
Restart apache and try again.
As for nginx, I find that Apache and mod_wsgi are
Hi,
Currently i have a problem with a sqlform.grid
def retail_rates():
user = auth.user.id
customer = auth.user.customer
customer_service = request.vars.customer_service
currency = request.vars.currency
information = data_voip(customer_service)
if len(information) == 0:
39 matches
Mail list logo