[web2py] Re: URL of an external website

2014-03-28 Thread Niphlod
its expected if you don't pass the request argument (as the URL() was originally written). basically, URL() "behaves" with a,c,f consistently only if you pass r=request, else, a c and f are just "positional", and missing pieces are set on current request. On Friday, March 28, 2014 5:15:59 PM U

[web2py] Re: Cannot unzip the downloaded files from http://www.web2py.com/init/default/download

2014-03-28 Thread Dave S
On Thursday, March 27, 2014 11:56:50 PM UTC-7, Antonis Loumiotis wrote: > > > On Thursday, March 27, 2014 8:12:42 PM UTC+2, Dave S wrote: >> >> >> >> On Thursday, March 27, 2014 4:00:43 AM UTC-7, Antonis Loumiotis wrote: >>> >>> Hi, >>> >>> I'm trying to unzip (using 7-zip) the source code obtain

[web2py] Re: New Windows Vista Install problem

2014-03-28 Thread Dave S
On Thursday, March 27, 2014 2:41:14 PM UTC-7, User wrote: > > Did you install web2py source version or web2py_win.zip? What python > version are you using? And when you "run" it, what are you doing > specifically? > > > On Wednesday, March 26, 2014 4:51:30 PM UTC-4, ian james wrote: > >> I ha

[web2py] Re: search engine

2014-03-28 Thread Dave S
On Thursday, March 27, 2014 12:25:15 PM UTC-7, Hanna Meressa wrote: > > > how to collect data? how to create ad work indexing and stemming? > Building an alternative to Google? That means cURLing a lot of web pages, parsing them for the information, building a database, and indexing that. For

[web2py] Re: Remove query db field

2014-03-28 Thread villas
If you display the rows 'variable' in a view it will be displayed with SQLTABLE. You can also set the headers for that, if you choose to do so. On Thursday, 27 March 2014 03:47:02 UTC, xgp.l...@gmail.com wrote: > > Mandar, > > I use DAL to make a select to my db. > I get field name's as tit

[web2py] Re: URL of an external website

2014-03-28 Thread villas
*Hi Louis >>> URL(a='a',c='c',f='f')'/a/c/f'>>> URL(a='a',c=' ',f=' ')'/a/ / '>>> URL(a='a')'/APPNAME/a'>>> URL(a='a',c='',f='')'/APPNAME/a'In the last two commands, APPNAME appears. Why? That's looks like a bug.@Jonathan, I cannot see why URL() cannot generate extern

[web2py] Re: URL of an external website

2014-03-28 Thread villas
@Massimo, Regarding > *>>> URL(a='a')* > *'/APPNAME/a'* > *>>> URL(a='a',c='c')* > *'/APPNAME/a/c'* > ... may be 'unspecified', but it is still unexpected and confusing. In the latter case, the 'a' becomes the controller and the 'c' the function. @Jonathan, Re: external urls. I see, than

[web2py] Installation Error Windows Vista Home

2014-03-28 Thread egigi
Could someone help me about this error? I'm trying to install the framework just downloaded but something doesn't work fine: C:\web2py>web2py.exe Traceback (most recent call last): File "", line 6, in File "__main__.py", line 128, in File "__main__web2py__.py", line 18, in File "/hom

[web2py] Re: Beginner question: foreign key constraint failed (?)

2014-03-28 Thread Krzysztof Socha
Just an update. It appears to be an issue with SQLITE. The actual problem was related to the fact that I have redefined AUTH_USER table (by company table - not all of it quated in my post). I had a missing field used in the default NavBar - first_name. When I switched from SQLITE to MYSQL, the

[web2py] Re: Beginner question: foreign key constraint failed (?)

2014-03-28 Thread Krzysztof Socha
On Thursday, March 27, 2014 5:21:34 PM UTC+1, Niphlod wrote: > > did you try with a fresh database ? > > After some investigation, it seems that the problem is not related to what I wrote above (!) I tried to change the DB - to MySQL - and the error reported changed to something like 'attribute

[web2py] search engine

2014-03-28 Thread Hanna Meressa
how to collect data? how to create ad work indexing and stemming? -- 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

[web2py] Re: URL of an external website

2014-03-28 Thread Massimo Di Pierro
URL('function') -> ///function URL('controller','function') -> //controller/function URL('myapp','controller','function') -> /myapp/controller/function You are specifying an appname (a) but no controller nor function. I believe that behavior is unspecified. On Friday, 28 March 2014 08:35:39 U

[web2py] Development DB Changes

2014-03-28 Thread Alan Williams
New to web2py and I'm having trouble understanding some of the built in db alter functionality. I have the following table design in a model called db_structure.py: # coding: utf8 db.define_table('dealers', Field('name', length=75), Field('address1', length=100),

[web2py] Re: Remove query db field

2014-03-28 Thread xgp . latino
Mandar. Thank you very much. I will try a different aproach. Regards On Tuesday, March 25, 2014 11:30:01 PM UTC-5, xgp.l...@gmail.com wrote: > > Hi all. > > As mostly may know, when doing a select query the result will show a db > field title for each column. > > How do i remove or change t

Re: [web2py] Re: URL of an external website

2014-03-28 Thread Jonathan Lundell
On 28 Mar 2014, at 6:35 AM, villas wrote: > >>> URL(a='a',c='c',f='f') > '/a/c/f' > > >>> URL(a='a',c=' ',f=' ') > '/a/ / ' > > >>> URL(a='a') > '/APPNAME/a' > > >>> URL(a='a',c='',f='') > '/APPNAME/a' > > > In the last two commands, APPNAME appears. Why? That's looks like a bug. > > @Jon

[web2py] Re: Cannot unzip the downloaded files from http://www.web2py.com/init/default/download

2014-03-28 Thread Antonis Loumiotis
On Thursday, March 27, 2014 8:12:42 PM UTC+2, Dave S wrote: > > > > On Thursday, March 27, 2014 4:00:43 AM UTC-7, Antonis Loumiotis wrote: >> >> Hi, >> >> I'm trying to unzip (using 7-zip) the source code obtained from >> http://www.web2py.com/init/default/download but I get the following >> err

[web2py] Re: Finnish language translator

2014-03-28 Thread 黄祥
for start i think you can do like example below, the rest will automatically add when the page is load in finnish language, and please translate the loaded new phrase on the fi.py file. e.g. *languages/fi.py* # -*- coding: utf-8 -*- { '!langcode!': 'fi', '!langname!': 'Finnish', 'Application nam

[web2py] Re: Finnish language translator

2014-03-28 Thread at
Thank$ : ) -- 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 Groups "web2py-users" grou

Re: [web2py] Re: janrain and web2py

2014-03-28 Thread Quint
But, like already mentioned, there _is_ an alternative: https://github.com/omab/python-social-auth -- 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