[web2py] Re: admin page is not working in web2py 2.7.4

2013-10-17 Thread frasse
em ? Thanks /F Den torsdagen den 17:e oktober 2013 kl. 21:17:14 UTC+2 skrev Niphlod: > > you have some other error elsewhere or you didn't restart apache after the > change. It works flawlessly. > > On Thursday, October 17, 2013 11:24:47 AM UTC+2, frasse wrote: >> >>

[web2py] Re: admin page is not working in web2py 2.7.4

2013-10-17 Thread frasse
s what has been "added" to web2py's scripts to make >> apache serve the same file if there is a _number.number.number "prefix" >> just right after "static". >> Frasse >> > -- Resources: - http://web2py.com - http://web2py.com/

[web2py] Re: admin page is not working in web2py 2.7.4

2013-10-16 Thread frasse
lications/admin/models/0.py#L84 > > from the file. > But, you'll be missing quite an important feature. > > Il giorno mercoledì 16 ottobre 2013 11:21:50 UTC+2, frasse ha scritto: >> >> HI >> I upgrade web2py to 2.7.4 from 2.7.3. admin page is not working an

[web2py] Re: admin page is not working in web2py 2.7.4

2013-10-16 Thread frasse
I am using apache-wsgi-web2py . Should I config static file in apache config files for all app in web2py applications ? /frasse Den onsdagen den 16:e oktober 2013 kl. 11:28:17 UTC+2 skrev Niphlod: > > did you configure your webserver to allow the static files to be served > wi

[web2py] admin page is not working in web2py 2.7.4

2013-10-16 Thread frasse
HI I upgrade web2py to 2.7.4 from 2.7.3. admin page is not working any more please see the attach file. do you have any idea ? Regards Frasse -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p

[web2py] web2py 2.6.4 mysql migration problem

2013-09-23 Thread frasse
ors.py", line 117, in execute self.errorhandler(self, exc, value) File "/var/web2py/gluon/contrib/pymysql/connections.py", line 202, in defaulterrorhandler raise errorclass, errorvalue InternalError: (1071, u'Specified key was too long; max key length is 767 bytes')

[web2py] web2py 2.6.3 editor is not working in firefox

2013-09-19 Thread frasse
Hi all web2py 2.6.3 code editor is not working in firefox . I am running latest firefox. any Idea? Regards Frasse -- 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

[web2py] update_or_insert with Expressions

2013-08-30 Thread frasse
= 10, quantity = db.myproperty.quantity + 1 , product = 'tree', marketType = 'seller') but I am geting following error TypeError(\"unsupported operand type(s) for *: 'float' and 'Expression'\",) Can I use update_or_insert as I use update st

[web2py] unique of multiple Field

2013-03-28 Thread frasse
Hi I like to make unique of 2 Field in my table. in this example I want myId + myThing be unique . How can I do this ? db.define_table('myproperty',Field('myId', 'integer'), Field('myThing', 'integer'), Field('prize', 'double'), Field('quantity', 'integer'), Field('isInMarket', 'boolean', defaul

[web2py] Re: send json string to a json service

2013-03-22 Thread frasse
Thanks . it is working now. Den fredagen den 22:e mars 2013 kl. 13:00:04 UTC+1 skrev frasse: > > > Hi > > I try to send a json string to a json service but I am geting invalid > request all the time. The echo service is works with normal string. > > do you have a

[web2py] send json string to a json service

2013-03-22 Thread frasse
Hi I try to send a json string to a json service but I am geting invalid request all the time. The echo service is works with normal string. do you have any idea Thanks /F @service.json def echo(data): """ echo test """ return data My client things = "[hi,ho]" url = "http

[web2py] bug in web2py admin

2013-03-19 Thread frasse
Hi It is a bug in web2py 2.4.4 admin page. when you create a file using create/uploade for modules it create file under static not under modules. /F -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and sto

[web2py] customize css for auto form

2013-03-07 Thread frasse
Hi How can I use customize css for auto form ? Thanks /F -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more o

[web2py] Re: Returns a list of all exposed methods

2013-03-05 Thread frasse
(): return dict(msg= BEAUTIFY(reg.all)) @service.json @doc def echo(data): """ echo test """ return data Den måndagen den 25:e februari 2013 kl. 10:40:01 UTC+1 skrev frasse: > > Hi > I like to have a method to returns a list of all exposed methods i

[web2py] Returns a list of all exposed methods

2013-02-25 Thread frasse
Hi I like to have a method to returns a list of all exposed methods in a controller so it can be use in a view. I want to build a information webpage for service consumers (xmlRpc , Json .) that can be updated when I add /update/ remove new service to my application API. Can web2py do it f

[web2py] custom validation for Authentication form

2013-02-22 Thread frasse
Hi I have done some custom login form like this in db.py file. auth = Auth(db, hmac_key=Auth.get_or_create_key()) crud, service, plugins = Crud(db), Service(), PluginManager() auth.settings.extra_fields['auth_user']= [ Field('WithdrawalAddress', label = 'Withdrawal Address'), Field('Address',

[web2py] auth.register() with SQLFORM.factory

2012-05-31 Thread frasse
s here SyntaxError: define_table argument is not a Field or Table: First name: Last name: E-mail: Password: Verify Password: please input your password again any Idea ? Thanks /Frasse

Re: [web2py] custom css

2012-03-24 Thread frasse
I need to reinstall web2py. It works now . /F Den söndagen den 11:e mars 2012 kl. 12:53:52 UTC+1 skrev Martin.Mulone: > > What is not working?, you change views/layout.html? > > 2012/3/11 frasse > >> Hi >> >> I like to use my custom css and add it to m

[web2py] Re: custom css

2012-03-12 Thread frasse
}}; {{=response.flash or ''}} {{include 'huvud.html'}} {{include 'meny.html'}} {{include}} -- /F On 12 mar, 19:43, monotasker wrote: > Can you post the parts of yo

[web2py] Re: custom css

2012-03-11 Thread frasse
One more think. yes I change the layout.html On 11 mar, 15:38, frasse wrote: > color for .error is not change and .flash move to left with no border. > /F > > On 11 mar, 12:53, Martín Mulone wrote: > > > > > > > > > What is not working?, you change vi

[web2py] Re: custom css

2012-03-11 Thread frasse
color for .error is not change and .flash move to left with no border. /F On 11 mar, 12:53, Martín Mulone wrote: > What is not working?, you change views/layout.html? > > 2012/3/11 frasse > > > Hi > > > I like to use my custom css and add it to my application base.css

[web2py] custom css

2012-03-11 Thread frasse
Hi I like to use my custom css and add it to my application base.css mess my application. I have remove base.css and move classes .flash and .error to my custom css file. when I do that it is not working in FireFox 10 in windows but it works in all other browser and OS (mac Ubuntu , win). Can yo

[web2py] Lock wait timeout exceeded; Try restarting transaction

2011-12-12 Thread frasse
ames.LotteryDrawTime > now)).select() db(db.games.LotteryDrawTime < now).update(active = 'No') .. def cleanDB(now): db((db.games.LotteryDrawTime < now) &(db.games.numberPlayer == 0) ).delete() Thanx Frasse

[web2py] Re: cache.shelv problem

2011-08-21 Thread frasse
I think I fix the problem by change access permission for cache.lock to 777. On 21 Aug, 12:00, frasse wrote: > I hade a working application for some time now. now it stop working > and it give the following error. > the cache directory is exist and access permission is 775 to it . >

[web2py] cache.shelv problem

2011-08-21 Thread frasse
directory: '/home/www-data/web2py/ applications/myapp/cache/cache.shelve' Thanx Frasse

[web2py] personalise sqltable

2011-06-15 Thread frasse
]))) # This code is working r.__setitem__('gameName', B(str(r['gameName']))) # This code is not working return rows Thanx Frasse

[web2py] Re: dynamic link and image as represent in db Field

2011-06-15 Thread frasse
Thanx Villas . but it is not my real code . I just put a example to explain my problem On Jun 15, 6:45 pm, villas wrote: > Just a general comment - I don't think using a field name of "join" is a > good idea.  It must be a reserved word and therefore might lead to problems.

[web2py] Re: dynamic link and image as represent in db Field

2011-06-15 Thread frasse
oh sorry url is just img url like that url = URL('static/images','join.jpeg') On Jun 15, 1:02 am, pbreit wrote: > I think that should be possible. Where is "url" coming from? > > I would definitely advise against doing this, tho. Just put that in your > view.

[web2py] dynamic link and image as represent in db Field

2011-06-14 Thread frasse
Field('ownerEmail'), Field('numberPlayer', default = 1), Field('StartTime','datetime',default=now), Field('join',represent =lambda value:A(IMG(_src=url,_alt='join'), _href=URL('join_game', args=value))) ) Thanx Frasse

[web2py] multiprocessing

2011-05-09 Thread frasse
understand this combination. Thanx Frasse