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

2013-10-17 Thread frasse
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/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

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

2013-10-17 Thread frasse
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: Hi Niphlop It is not working for me. I change AliasMatch

[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] 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 with folder

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

2013-10-16 Thread frasse
/web2py/blob/master/applications/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 any more please see the attach

[web2py] web2py 2.6.4 mysql migration problem

2013-09-23 Thread frasse
202, in defaulterrorhandler raise errorclass, errorvalue InternalError: (1071, u'Specified key was too long; max key length is 767 bytes') any idea Thanks Frasse -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[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
= 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 statement ? Regards /Frasse -- --- You received this message because you

[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',

[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 =

[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 any idea Thanks /F @service.json

[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 stop

[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

[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 in a controller so it can be use in a view. 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

[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'),

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

2012-05-31 Thread frasse
-8b6b-2b6d9093cf67 /input name=_formname type=hidden value=register //div/form 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 frass...@gmail.com Hi I like to use my custom css and add it to my application base.css mess my

[web2py] Re: custom css

2012-03-12 Thread frasse
mar, 19:43, monotasker scotti...@gmail.com wrote: Can you post the parts of your css code that aren't working? Ian On Sunday, March 11, 2012 7:39:42 AM UTC-4, frasse wrote: Hi I like to use my custom css and add it to my application base.css mess my application. I have remove

[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

[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 mulone.mar...@gmail.com wrote: What is not working?, you change views/layout.html? 2012/3/11 frasse frass...@gmail.com Hi I like to use my custom css and add it to my application

[web2py] Re: custom css

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

[web2py] Lock wait timeout exceeded; Try restarting transaction

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

[web2py] cache.shelv problem

2011-08-21 Thread frasse
' 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 frass...@gmail.com 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

[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 pbreitenb...@gmail.com 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] 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 villa...@gmail.com 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] personalise sqltable

2011-06-15 Thread frasse
']))) # This code is not working return rows Thanx Frasse

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

2011-06-14 Thread frasse
('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
to understand this combination. Thanx Frasse