Re: [web2py] Re: Do we have Plugin solid form upgraded code for python 3 ?

2022-04-04 Thread Rahul
python 3.x.x can give it a try. [image: working.png] *Thanks snide.. and all* Regards, *Rahul* On Sunday, April 3, 2022 at 11:07:05 PM UTC+5:30 snide...@gmail.com wrote: > On Friday, March 25, 2022 at 11:14:07 PM UTC-7 Rahul wrote: > >> yes I used some things like *trunc *or *cei

Re: [web2py] Re: Do we have Plugin solid form upgraded code for python 3 ?

2022-04-02 Thread Rahul
Do we have alternatives to this feature ? Rahul On Saturday, March 26, 2022 at 11:44:07 AM UTC+5:30 Rahul wrote: > yes I used some things like *trunc *or *ceil *to fix it however the error > persists on the same line. Pretty weird. Also used what was suggested like > // > but

Re: [web2py] Re: Do we have Plugin solid form upgraded code for python 3 ?

2022-03-25 Thread Rahul
t me some plugin to manage fields in the layout for proper UI orientation. All suggestions are welcome Regards, *Rahul* On Thursday, March 24, 2022 at 4:51:46 PM UTC+5:30 snide...@gmail.com wrote: > On Thursday, March 24, 2022 at 3:21:01 AM UTC-7 Massimiliano wrote: > >> Thi

[web2py] Re: Do we have Plugin solid form upgraded code for python 3 ?

2022-03-24 Thread Rahul
anyone has any ideas ? On Wednesday, March 23, 2022 at 5:13:15 PM UTC+5:30 Rahul wrote: > Hi All, > I am migrating my python 2.7 project to py 3.7 - I am facing > issues with plugin solid form conversion to py3 code. My code uses this > plugin a lot. Rest all code works

[web2py] Do we have Plugin solid form upgraded code for python 3 ?

2022-03-23 Thread Rahul
structured_fields.append(_inner) elif inner: flat_fields.append(inner) structured_fields.append(inner.name) return SOLIDFORM(DAL(None).define_table(table_name, *flat_fields), fields=structured_fields, **attribut

[web2py] Re: How to add multiple onvalidation

2021-06-02 Thread Rahul
Nevermind, I was able to achieve that using nested functions. Thanks! Rahul On Wednesday, June 2, 2021 at 3:05:32 PM UTC+5:30 Rahul wrote: > Hi All, > It may be simple one but I want to know how to *add multiple > onvalidation functions/methods* in my code. For e

[web2py] How to add multiple onvalidation

2021-06-02 Thread Rahul
function. form = SQLFORM(db.numbers) if form.process(*onvalidation*=*my_form_processing*).accepted: do something def my_form_processing(form): do something ... Regards, Rahul -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py

[web2py] Re: Auto-generate PUT and DELETE methods

2020-08-24 Thread Rahul
t/api/mblog/id/37.json Am I doing this properly ?? Is there something I am missing -- The above code in controller is the only code I am using -- Please see the image attached -- It looks like a huge security risk. Regards, *Rahul* On Friday, June 22, 2012 at 7:55:19 PM UTC+5:30 Massimo Di

Re: [web2py] Re: How do I prevent going back to previous page after user is logged out?

2020-08-03 Thread Rahul
(): session.pop('user_name', None) redirect(URL(r=request, f='login')) return dict() Regards, Rahul Dhakate On Sunday, August 2, 2020 at 3:29:25 PM UTC+5:30 lbjc...@gmail.com wrote: > Hi > Thanks for this. > I put these functions in the model.py, I hope it

Re: [web2py] Re: does having similar controller names or app folder names cause conflict in web2py?

2019-10-09 Thread Rahul Dhakate
All, I tested this scenario can now confirm that it does not have an impact for the issue I mentioned below. Thank you. Rahul On Sun, 22 Sep 2019 at 3:55 PM, Rahul Dhakate wrote: > Hi Massimo, > I appreciate your reply. I had an application where in I had two > contro

Re: [web2py] Re: does having similar controller names or app folder names cause conflict in web2py?

2019-09-22 Thread Rahul Dhakate
. Regards, Rahul On Sun, 22 Sep 2019 at 12:15 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I do not see any problem with that > > On Saturday, 21 September 2019 01:09:36 UTC-7, Rahul wrote: >> >> >> Hello All, >>Will having a st

[web2py] does having similar controller names or app folder names cause conflict in web2py?

2019-09-21 Thread Rahul
01.py .. default_02.py 2] *Applications *- Multple applications in web2py Applications folder Example app1, app1_001, app1_002 Regards, *Rahul* -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/i

[web2py] Error that I couldnt catch - TypeError: getattr(): attribute name must be string Error

2019-09-21 Thread Rahul
: form_label_separator : : formstyle : table3cols generic_patterns : * headers : X-Powered-By : web2py menu : meta : postprocessing : session_client : 109.102.111.32 session_cookie_compression_level : None session_cookie_expires : None session_data_name : session_data_artpic session_file :

Re: [web2py] Re: Whats the best way to create an Android or iOS app for web2py project

2019-09-18 Thread Rahul Dhakate
Hi All, Any clues anyone on the questions asked? Regards, *Rahul* On Fri, 13 Sep 2019 at 12:53 PM, Rahul Dhakate wrote: > Thanks! Dave and Pbop for getting back with the answers. Sorry about > posting less details > > *@dave* - No, I do not intend to run web2py on mobile de

Re: [web2py] Re: Whats the best way to create an Android or iOS app for web2py project

2019-09-13 Thread Rahul Dhakate
, *Rahul* On Wed, 11 Sep 2019 at 2:24 PM, Dave S wrote: > > On Friday, September 6, 2019 at 4:28:30 AM UTC-7, Rahul wrote: >> >> Hey Everyone, >> I have some interesting questions (It might have been asked before) >> I want to know - >> >> 1) Whats th

[web2py] Whats the best way to create an Android or iOS app for web2py project

2019-09-06 Thread Rahul
application? 3) Can we use python to write such apps? 4) Has anyone written any apps that do the above successfully? Rahul -- 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

Re: [web2py] Re: Question with saving the thumbnail name on linux disk

2019-09-04 Thread Rahul
One major error resolved. THANK YOU FOR ALL THE SUGGESTIONS AND GUIDANCE :-) Regards, *Rahul * On Wednesday, September 4, 2019 at 1:54:48 AM UTC+5:30, Dave S wrote: > > > > On Saturday, August 31, 2019 at 6:54:21 PM UTC-7, Rahul wrote: >> >> To Add - >> >>

Re: [web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-31 Thread Rahul Dhakate
e/www-data/web2py/applications/artpic/languages/ru.py > What's trying to write to this file? [Rahul] This is not me. I am not trying to write anything to this file as I dont use it - I donk know about it. I gave the write permissions to language folder to resolve the issue. It got resolved a

Re: [web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-31 Thread Rahul Dhakate
yesterday I executed this command *chmod *... to give appropriate write permissions to it again. I will remove the try catch block today to check it gives me the raw error. Thanks and regards Rahul On Sun, Sep 1, 2019 at 5:15 AM Dave S wrote: > > > On Saturday, August 31, 2019 at 6:40:

[web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-30 Thread Rahul
eb2py_src\web2py\applications\artpic\static\user_uploads\fotoz.upload_photo.bf976468faa81f30.3030372e4a5047.JPG thumbnail_filename: 99.thumbnail.jpg thumbpath and outfile: E:\web2py_src\web2py\applications\artpic\static\thumbs\99.thumbnail.jpg Cannot create thumbnail (un-recognized format) for: E:\web2

[web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-29 Thread Rahul
Regards, Rahul On Friday, August 30, 2019 at 12:51:41 AM UTC+5:30, Rahul wrote: > > Hi Val and Dave, > > Have a look at the code below - the line foto_path=... below works but it > uploads the photos to"web2py\applications\artpicstatic\user_uploads" > folder in

[web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-29 Thread Rahul
user_uploads\fotoz.upload_photo.862f9808c7622ca7.3033372e4a5047.JPG SCREENSHOT CODELISTING IS ATTACHED Looks like a simple answer but feels like my code is badly written... Regards, Rahul On Thursday, August 29, 2019 at 2:17:49 AM UTC+5:30, Val K wrote: > > It is no n

[web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-28 Thread Rahul
Hi Dave, upload_pic is the form variable that user specifies for uploading the file from local disk. Basically it is the filename. I removed the braces for outfile = (thumbpath) but this is still not working. Any more suggestions ? Regards Rahul On Tuesday, August 27, 2019 at 2:21

[web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-27 Thread Rahul
was using simple code.Thanks for the questions I’ll try getting in details. Regards, Rahul -- 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

[web2py] Question with saving the thumbnail name on linux disk

2019-08-25 Thread Rahul
im.save(outfile, "JPEG") if (image_format == "GIF"): im.save(outfile, "GIF") if (image_format == "PNG"): im.save(outfile, "PNG") except IOError:

Re: [web2py] Re: Hosting question

2019-08-02 Thread Rahul Dhakate
Hi Jose, Thank you !! That worked ... the point #4 resolved that issue. So now no need to work with Apache and all is working well. Thanks a million!! artpic.in and targetsoft.co.in work fine now. Regards, Rahul On Fri, Aug 2, 2019 at 1:53 PM Jose C wrote: > Hi Rahul, > >

Re: [web2py] Re: Hosting question

2019-08-02 Thread Rahul Dhakate
le in the web2py root directory and that there are not any routes.py (app-specific routers) files present in the app directories as well (that could be overriding the main routes.py)? [Rahul] There exists a *routes.example.py <http://routes.example.py>* (not routes.py) in every application

Re: [web2py] Re: Hosting question

2019-08-01 Thread Rahul Dhakate
ions=['Target', 'artpic', ], > default_fucntion = 'index', > ), > Target = dict( > default_language = 'en', >languages = ['en'], > default_function = 'index', > ), > artpic = dict( > default_

Re: [web2py] Re: Hosting question

2019-08-01 Thread Rahul Dhakate
. www.targetsoft.co.in - is linked with app1 2. www.artpic.in is linked with app2 ( Just set-it-up yesterday but work remains to be done for a production launch) Regards, Rahul On Thu, Aug 1, 2019 at 12:56 PM Jose C wrote: > > I added the line in routes.py - While it restricts al

[web2py] Re: Hosting question

2019-07-31 Thread Rahul
x27;s about it. Regards, *Rahul* On Thursday, August 1, 2019 at 2:30:25 AM UTC+5:30, Paco Bernal wrote: > > Hi > Please can you test this url and tell me what you have as result? > http://vps_ip/applications/app1/private/appconfig.ini > > Change vps_ip for the ip of your ser

[web2py] GEVENT error even for imports

2019-07-31 Thread Rahul
rm.accepts(request.vars, session): This operation would block forever Hub: >> threadpool=> thread_ident=0x7f9f8a218040> Handles: [] Any clue ? Rahul -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - htt

[web2py] Hosting question

2019-07-31 Thread Rahul
BASE=dict( #default_application='Target', domains= { 'www.domain1.co.in' : 'app1', 'www.domain2.in' : 'app2', } ), )

[web2py] Re: how can I pass a parameter from the view get the return value from a function of controller?

2019-07-25 Thread Rahul
index')) return dict (dispimage=dispimage) In view - showmyimage.html Rahul On Wednesday, July 24, 2019 at 8:50:57 PM UTC+5:30, Lynn wrote: > > > It seems that i cannot call a function with a parameter of a controller > from the view. > -- Resources: -

[web2py] Re: Error PIL path

2019-07-23 Thread Rahul
Hi It looks like your escape sequence is missing *\\ *try using these before or after the folder path you are specifying. Again , just to add I used Pillow instead of PIL it works properly on windows. Rahul On Monday, July 1, 2019 at 11:50:10 AM UTC+5:30, Márcio Luis Dresch wrote: > &

[web2py] Re: Web2py Thumbnail App

2019-03-06 Thread Rahul
s let the users upload pics to albums they create and view it in thumbnails. It may be broken at places but ofcourse a new version will be out soon.that will address all these issues. Rahul On Tuesday, March 5, 2019 at 2:53:26 AM UTC+5:30, Jeff Lipkowitz wrote: > > Does anyone have a open so

[web2py] Re: 2.18.1 is OUT

2019-02-24 Thread Rahul
of "*web2py_manual_5th*" we can rename it to " *web2py_manual_2.18.x.pdf*". This will remove the ambiguity that the manual is old one and not updated. What do you think ? Regards, *Rahul* On Monday, February 25, 2019 at 8:56:45 AM UTC+5:30, 黄祥 wrote: > > perhaps yo

[web2py] Re: Error when sending email from my custom web app [Errno 111] Connection refuse

2019-01-16 Thread Rahul
et n - - - - smtpd to: *smtps inet n - - - - smtpd* Thanks! Rahul. On Monday, January 14, 2019 at 5:13:57 PM UTC+5:30, Rahul wrote: > > Hi All, > I have a custom email function that was working fine previously

[web2py] Error when sending email from my custom web app [Errno 111] Connection refuse

2019-01-14 Thread Rahul
y 26 works from my local for sending mails but not in production where the application is hosted. Even tried with it IP of the mail server but it wont work. even tried with username without @ sign. Please suggest if you have any idea/clues. Thanks, Rahul -- Resources: - http://web2py.com -

Re: [web2py] Re: Auth question

2018-10-28 Thread Rahul
t has lots of custom js and css files. I would need to figure out a way to merge them with it properly. Again, Thank you! for your patience and wonderful support. And thank you everyone. Regards, Rahul. On Sunday, October 28, 2018 at 6:33:25 AM UTC+5:30, Jim S wrote: > > Rahul > >

Re: [web2py] Re: Auth question

2018-10-27 Thread Rahul
login form as it is different than layout file. Let me know. Thanks! Regards, Rahul On Friday, October 26, 2018 at 5:11:12 PM UTC+5:30, Jim S wrote: > > Can you show the entire db.py, default py and index.html? > > Jim > > > On Fri, Oct 26, 2018, 1:44 AM Rahul > > wro

Re: [web2py] Re: Auth question

2018-10-25 Thread Rahul
ding and experimenting with Auth to make it work . Not too much coded. @auth.requires_login() def index(): response.flash = T("Hello User") #redirect(URL(r=request, c='default/user', f='login')) # Redirects user to login page return dict(message=T(&#

Re: [web2py] Re: Auth question

2018-10-24 Thread Rahul
Yes this is in default.py. Please excuse me for my bad code as I am still experimenting with Auth and not totally familiar with the implementation. Is this the right way that I am doing it? or only having user() function is enough ? Thanks, Rahul On Wednesday, October 24, 2018 at 9:45:21 PM

Re: [web2py] Re: Auth question

2018-10-23 Thread Rahul
mentioned but only after all the login stuff works properly. auth.settings.extra_fields['auth_user'] = [ Field ('workspace', length=128), Sincerely, Rahul On Tuesday, October 23, 2018 at 7:49:48 PM UTC+5:30, Jim S wrote: > > Did you modify the user() function in default.py? Or,

Re: [web2py] Re: Auth question

2018-10-23 Thread Rahul
now it doesnt allow. Note I did cleanup a lot of HTML code from my login page. There sure is something going on here that I am not catching - http: //127.0.0.1:8000/scaffolding_app/default/user/login?username=rahul&password=integer10&_next=%2Fscaffolding_ace_admin%2Fdefault%2Findex&

Re: [web2py] Re: Auth question

2018-10-18 Thread Rahul
Hi Jim, That makes sense. I will check it out on which option to go. Thanks! for all the guidance. Thank you, *Rahul Dhakate* On Wednesday, October 17, 2018 at 7:57:32 PM UTC+5:30, Jim S wrote: > > Rahul > > First, what I was referring to was common_filters, not c

[web2py] Re: Auth question

2018-10-17 Thread Rahul
ession variable. Or is this not needed at all after we use common fields ? I hope I am clear and make sense :-) Regards, Rahul On Tuesday, October 16, 2018 at 7:49:49 PM UTC+5:30, Jim S wrote: > > Have you looked at common filters? > > > http://web2py.com/books/default/

[web2py] Auth question

2018-10-16 Thread Rahul
ble already *Q2]* Which all tables need to be modified ? *Q3] *Any changes in any other code in any files ? I know I can clone my app multiple times and support multi-tenancy however, if this can be achieved with Auth - that would be great. Regards, *Rahul * -- Resources: - http

[web2py] Re: Err while trying to submit a new web2py site

2018-09-30 Thread Rahul
Oops.. Looks like a low priority issue ;-) Thanks! Rahul On Monday, September 17, 2018 at 12:01:43 PM UTC+5:30, Rahul wrote: > > Hi Everyone, > Any updates on this yet ? > > Rahul > > On Tuesday, September 4, 2018 at 10:19:02 AM UTC+5:30, Rahul wrote: >>

[web2py] Re: Postgres migration errors

2018-09-30 Thread Rahul
Thank you so much! It means a lot to me :-) Cheers, Rahul On Friday, September 28, 2018 at 11:28:44 AM UTC+5:30, Massimo Di Pierro wrote: > > Congratulations! > > On Monday, 17 September 2018 23:39:50 UTC-7, Rahul wrote: >> >> Hi Everyone, >> I am g

[web2py] Re: lose focus events in form fields

2018-09-27 Thread Rahul
CRUD forms is what I am looking for. Regards, Rahul On Thursday, September 27, 2018 at 2:24:04 AM UTC+5:30, Dave S wrote: > > > > On Wednesday, September 26, 2018 at 10:43:31 AM UTC-7, Donald McClymont > wrote: >> >> Hi Rahul >> >> You could just do this

[web2py] lose focus events in form fields

2018-09-25 Thread Rahul
it ... how ? Rahul -- 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 "w

[web2py] Re: Postgres migration errors

2018-09-17 Thread Rahul
to me with my issues. Web2py is superb. Thank you, Rahul Dhakate. On Thursday, August 2, 2018 at 10:17:17 AM UTC+5:30, Rahul wrote: > > Hi Anthony, > Yes there are many queries that are being fired - Since it is a > dashboard I have multiple queries being fired sequentially

[web2py] Re: Err while trying to submit a new web2py site

2018-09-16 Thread Rahul
Hi Everyone, Any updates on this yet ? Rahul On Tuesday, September 4, 2018 at 10:19:02 AM UTC+5:30, Rahul wrote: > > Hi All, > I am not able to submit a new site [ > http://web2py.com/poweredby/default/submit]. While doing that a ticket is > raised. Please see

[web2py] Err while trying to submit a new web2py site

2018-09-03 Thread Rahul
Hi All, I am not able to submit a new site [http://web2py.com/poweredby/default/submit]. While doing that a ticket is raised. Please see the screenshot attached. Rahul -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: global name 'Recaptcha' is not defined error when my app is run in web2py 2.17.1 (latest)

2018-09-03 Thread Rahul
Thank you very much Anthony. I have opened a ticket in git #2001 Cheers, Rahul On Monday, September 3, 2018 at 8:21:21 PM UTC+5:30, Anthony wrote: > > On Monday, September 3, 2018 at 12:29:02 AM UTC-4, Rahul wrote: >> >> Hi Anthony, >>Yes - It is defined in db

[web2py] Re: global name 'Recaptcha' is not defined error when my app is run in web2py 2.17.1 (latest)

2018-09-02 Thread Rahul
ticket. I was expecting the message instead. So I wanted to know if it there is an issue with web2py or some modifications need in my code. *Rahul* On Monday, September 3, 2018 at 9:59:02 AM UTC+5:30, Rahul wrote: > > Hi Anthony, >Yes - It is defined in db.py file as

[web2py] Re: global name 'Recaptcha' is not defined error when my app is run in web2py 2.17.1 (latest)

2018-09-02 Thread Rahul
:30, Anthony wrote: > > Recaptcha must be imported somewhere for you to use it. Do you have an > import somewhere in your code? We need more details. > > Anthony > > On Friday, August 31, 2018 at 8:48:49 AM UTC-4, Rahul wrote: >> >> Hi All, >> There seem

[web2py] global name 'Recaptcha' is not defined error when my app is run in web2py 2.17.1 (latest)

2018-08-31 Thread Rahul
ned File "web2py/applications/artpic/controllers/default.py", line 1759, in register crud.settings.create_captcha= Recaptcha(request, publickey, privatekey) NameError: global name 'Recaptcha' is not defined Any idea ? Rahul -- Resources: - http://web2py.com - http://web2py.c

[web2py] Re: Postgres migration errors

2018-08-01 Thread Rahul
that provide data for viewing, analysis and updates are carried out separately when required. Thanks, Rahul - On Wednesday, August 1, 2018 at 8:59:27 PM UTC+5:30, Anthony wrote: > > On Wednesday, August 1, 2018 at 8:48:54 AM UTC-4, Rahul wrote: >> >> Hi Ant

[web2py] Re: Postgres migration errors

2018-08-01 Thread Rahul
*! for this tip however I would have to make sure that my code works fine even if this is not there Rahul On Tuesday, July 31, 2018 at 11:50:57 PM UTC+5:30, Anthony wrote: > > It sounds like this error can happen when you run an incorrect SQL > statement within a transaction and then fo

[web2py] Re: Postgres migration errors

2018-07-31 Thread Rahul
e_today <= today)).select(db.issues.ticket_no) Here, today = datetime.date.today()# day 1 daysix = today - datetime.timedelta(days=5) # day6 Rahul On Tuesday, July 31, 2018 at 5:18:26 PM UTC+5:30, Rahul wrote: > > Hi Anthony, > I am printing this to console - The query is trying

[web2py] Re: Postgres migration errors

2018-07-31 Thread Rahul
;issues"."sub_project", "issues"."team", "issues"."date_today", "issues". "category", "issues"."created_by", "issues"."workspace", "issues"."eta_date" , "issues&

[web2py] Re: Postgres migration errors

2018-07-30 Thread Rahul
packages\dal\pydal\adapters\base.py", line 412, in execute rv = self.cursor.execute(command, *args[1:], **kwargs) InternalError: current transaction is aborted, commands ignored until end of transaction block current transaction is aborted, commands ignored until end of transaction block An

[web2py] Postgres migration errors

2018-07-26 Thread Rahul
commands ignored until end of transaction block', u'src\\backend\\tcop\\postgres.c', u'1259', u'exec_parse_message', u'', u'') I have checked this for but no help - Postgres error 25P02 is for "transaction aborted" is returned

[web2py] Re: Dealing with reserved keywords when you change or upgrade your database from SQLite to POSTGRES

2018-07-26 Thread Rahul
This information is awesome. Thank you for sharing this with us. Glad I am coding web2py. Cheers, Rahul On Thursday, July 26, 2018 at 3:09:35 AM UTC+5:30, Anthony wrote: > > On Wednesday, July 25, 2018 at 3:36:58 PM UTC-4, pbreit wrote: >> >> ...or Anthony! >> >>

[web2py] Re: Dealing with reserved keywords when you change or upgrade your database from SQLite to POSTGRES

2018-07-25 Thread Rahul
ixing migration bugs in the app. Although so far all seems to be working well. Except collecting user_statistics for each page. I will check the app and get back if I find anything crucial. Thank you very much for all your help . *Sincerely,* *Rahul* On Wednesday, July 25, 2018 at 4:37:39 AM

[web2py] Re: Dealing with reserved keywords when you change or upgrade your database from SQLite to POSTGRES

2018-07-24 Thread Rahul
something I need to fix in application. I will keep you posted. I am hoping I am going the right way. Thanks! Sincerely, Rahul -- 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: Dealing with reserved keywords when you change or upgrade your database from SQLite to POSTGRES

2018-07-24 Thread Rahul
uot;POSTGRES_NONRESERVED" reserved SQL/NOSQL keyword Am I using it properly ? *Rahul * On Tuesday, July 24, 2018 at 2:15:42 AM UTC+5:30, Dave S wrote: > > > > On Sunday, July 22, 2018 at 10:28:46 PM UTC-7, Rahul wrote: >> >> Hey everyone, &g

[web2py] Re: Dealing with reserved keywords when you change or upgrade your database from SQLite to POSTGRES

2018-07-22 Thread Rahul
Hey everyone, Any clues on this one? OR should I start updating the application and the models with unused field names? Please let me know Thank you, *Rahul* On Friday, July 20, 2018 at 12:40:04 PM UTC+5:30, Rahul wrote: > > Hello All, >I am mig

[web2py] Dealing with reserved keywords when you change or upgrade your database from SQLite to POSTGRES

2018-07-20 Thread Rahul
e/column name "state" is a "POSTGRES_NONRESERVED" reserved SQL/NOSQL keyword Please suggest how I can get rid of this issue Rahul -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.googl

Re: [web2py] Re: passing variables to plugin_layout view - plugin_layouts\layouts\

2018-06-07 Thread Rahul Dhakate
Yes this works! I've modified the code accordingly. Thanks! Anthony On Fri, Jun 8, 2018 at 11:12 AM, Rahul Dhakate wrote: > Oh I see. I'll check this out and modify the code if required. Thanks! for > the tip. > > Thanks & Regards, > > Rahul > > On Thu,

Re: [web2py] Re: passing variables to plugin_layout view - plugin_layouts\layouts\

2018-06-07 Thread Rahul Dhakate
Oh I see. I'll check this out and modify the code if required. Thanks! for the tip. Thanks & Regards, Rahul On Thu, Jun 7, 2018 at 5:53 PM, Anthony wrote: > Note, you do not have to declare the variable as global in the model. All > objects defined in models are added to th

[web2py] Re: Google wallet widget wont initialize on the page

2018-06-07 Thread Rahul
Hey Anybody, Any idea how to do this ? I've paid google back in December for this but am yet to get a working prototype for payment. Rahul On Tuesday, December 26, 2017 at 4:17:54 PM UTC+5:30, Rahul wrote: > > Hi Massimo, Everyone, > Merry Christmas! > >

Re: [web2py] Re: passing variables to plugin_layout view - plugin_layouts\layouts\

2018-06-07 Thread Rahul Dhakate
me of the layout be) I passed this variable > {{if user_right1 ==True:}} > Show the HTML stub > {{pass}} > Done Thanks, *Rahul * On Wed, Jun 6, 2018 at 6:57 PM, Anthony wrote: > Keep in mind that the layout is executed for every page (that extends it), > so only defining tha

[web2py] Re: passing variables to plugin_layout view - plugin_layouts\layouts\

2018-06-06 Thread Rahul
his error for every other navigation in the application unless it is dashboard.html ? Thanks! Rahul D. On Tuesday, June 5, 2018 at 7:21:41 PM UTC+5:30, Anthony wrote: On Tuesday, June 5, 2018 at 7:34:38 AM UTC-4, Rahul wrote: Hi A > >> ll, >> I am visiting this group af

[web2py] passing variables to plugin_layout view - plugin_layouts\layouts\

2018-06-05 Thread Rahul
] Thanks! Rahul D. -- 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 "w

[web2py] Re: Parsing and Inserting data from a python dictionary into a database table using DAL

2018-01-11 Thread Rahul
rking with integrating a new payment gateway in web2py app and hope to publish a new slice once it is successfully completed. Thanks! again Rahul. On Friday, January 12, 2018 at 7:38:51 AM UTC+5:30, Anthony wrote: > > On Thursday, January 11, 2018 at 6:39:38 AM UTC-5, Rahul wrote: >>

[web2py] Re: Parsing and Inserting data from a python dictionary into a database table using DAL

2018-01-11 Thread Rahul
od': u'card', u'wallet': None, u'amount': 100, u'contact': u'7001394', u'error_description': u'Payment failed', u'error_code': u'BAD_REQUEST_ERROR', u'created_at': 15138345825}, {u'refund_status&#

[web2py] Parsing and Inserting data from a python dictionary into a database table using DAL

2018-01-10 Thread Rahul
u'entity': u'payment', u'currency': u'INR', u 'id': u'128934802340', } Thanks in advance for all the help, :-) Rahul -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

[web2py] Re: Google wallet widget wont initialize on the page

2017-12-26 Thread Rahul
rchant_id, list_products=list_products) return XML(button) Some how I did not get this error earlier but now it is giving me this error. Seems like it is not able to find XML module in gluon. global name 'XML' is not defined Rahul On Sunday, December 24, 2017 at 9:57:12 PM U

[web2py] Google wallet widget wont initialize on the page

2017-12-19 Thread Rahul
currency='USD', description="running shoes black")])}} I am using web2py version 2.15.3 - Any help/pointers for this would be greatly appreciated. Does the code need to be updated or changed ? Regards, Rahul -- Resources: - http://web2py.com - http://web2py.com

Re: [web2py] Re: Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-31 Thread Rahul
cket error twice for two modules which was fixed by closing the code block in view by using {{pass}}. Perhaps the parser needs a fix for this. We can mark this thread "Done". Thanks, *Sincerely*, Rahul Dhakate. On Friday, August 18, 2017 at 11:10:33 AM UTC+5:30, Rahul w

Re: [web2py] Re: Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-17 Thread Rahul
hanks, Rahul. On Wednesday, August 16, 2017 at 12:09:56 AM UTC+5:30, Anthony wrote: > > On Tuesday, August 15, 2017 at 7:49:09 AM UTC-4, Rahul wrote: >> >> Hi Anthony, >> Thanks for getting back. No changes were made that would break >> the system so badly. &

Re: [web2py] Re: Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-15 Thread Rahul Dhakate
Hi Jim, I have overridden a lot of default web2py stuff and used my own instead. Just wanted to have it work my way but I wouldn't mind using web2py decorators in future projects. Yes I am looking for such patterns but so far there isn't anything I found causing this. Than

Re: [web2py] Re: Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-15 Thread Rahul Dhakate
. Thanks, Rahul. === On Aug 15, 2017 17:02, "Anthony" wrote: If you've removed the routes files and restarted the server and still have problems, it's not clear what would be causing some but not all of your URLs to stop working, assuming you've made no other chang

[web2py] Re: Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-15 Thread Rahul
{{pass}} Note: I even uninstalled and updated my python version 2.7.13 (latest 2.7.x version). Also now I have just tried with latest web2py vers

[web2py] Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-14 Thread Rahul
. Any help and pointers would be highly appreciated. Rahul D. -- 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

Re: [web2py] Sites Powered by web2py

2017-04-03 Thread Rahul
Hi There, Even I had the same problem - I wanted to list my site up there - http://www.artpic.in/ but somehow I cannot do that. It's already up for almost a year. Next month it would be expiring (unless I renew i.e. ;-) ) . Please fix this area. Thanks! Rahul D. On Tuesday, Ap

Re: [web2py] Re: Order of form.vars not same as they appear in form

2017-01-13 Thread Rahul Priyadarsi
ludes the list of field > names in form.fields. > > Anthony > > > On Thursday, January 12, 2017 at 1:37:03 PM UTC-5, Rahul Priyadarsi wrote: >> >> Currently I see that the order in which the fields appear in form is not >> same when i iterate through form.vars >

[web2py] Order of form.vars not same as they appear in form

2017-01-12 Thread Rahul Priyadarsi
Currently I see that the order in which the fields appear in form is not same when i iterate through form.vars I am using SQLFORM. So how do I get the form.vars so that they appear in same order as they do on the form? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: Invalid SQLFORM submit generates ticket instead of redirecting back to form with errors

2017-01-11 Thread Rahul Priyadarsi
red on SO: http://stackoverflow.com/a/41554743/440323 > > Anthony > > On Tuesday, January 10, 2017 at 6:07:17 PM UTC-5, Rahul Priyadarsi wrote: >> >> Here is my db.py: >> >> db.define_table('antenna_details', >> Field('ant

[web2py] Invalid SQLFORM submit generates ticket instead of redirecting back to form with errors

2017-01-10 Thread Rahul Priyadarsi
Here is my db.py: db.define_table('antenna_details', Field('antenna_name',required=True), Field('model_name',required=True), Field('project_name',required=True), Field('frequency_band',required=True), Field('polarizati

Re: [web2py] Re: Dynamic path built for a .svg file using uuid and passing the constructed path to view not working

2016-06-22 Thread Rahul
Yes. That was code copied from my previous code for trial and error code stubs. Agreed - Less is more. Rahul. On Wednesday, June 22, 2016 at 2:58:12 PM UTC+5:30, Nico de Groot wrote: > > Hi Rahul, > > You're welcome. Remarks: The triple double quotes are for multiline &g

[web2py] Re: Dynamic path built for a .svg file using uuid and passing the constructed path to view not working

2016-06-22 Thread Rahul
dont need to use the URL parameter - DLC is passed to the view which is nothing but dynamicLinechartpath variable. This constructed the proper path in the view. Thanks, Rahul On Monday, June 20

[web2py] Re: Dynamic path built for a .svg file using uuid and passing the constructed path to view not working

2016-06-20 Thread Rahul
e problem area. Thanks! Rahul On Monday, June 20, 2016 at 12:18:48 PM UTC+5:30, Nico de Groot wrote: > > Please check the rendered html in the browser. Then you can see what's > going on. Maybe you need the host=True in URL() to get a

[web2py] Re: Dynamic path built for a .svg file using uuid and passing the constructed path to view not working

2016-06-19 Thread Rahul
Hi All - Any updates to this issue ? Rahul. On Friday, June 17, 2016 at 3:55:37 PM UTC+5:30, Rahul wrote: > > Hi All, >I am using uuid to create new temporary files for PYGAL chart. > Although I can see the file being created and available in the file system. > Even

[web2py] Dynamic path built for a .svg file using uuid and passing the constructed path to view not working

2016-06-17 Thread Rahul
n my view when I try to check what is being passed. which I think is looking good. "{{=URL(r=request, c='static', f='charts/bf094fa3-a711-4118-a3aa-89f647cca4f1.svg')}}" Please suggest, Rahul D. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

[web2py] Re: stuck up on Deployment on CentOS 6.7

2016-05-25 Thread Rahul
there exists something like that in web2py) or we have to use *global routes.py (that is the one in web2py directory. Please let me know. Thanks! Rahul. On Thursday, May 19, 2016 at 6:33:18 PM UTC+5:30, Rahul wrote: > > Hi All, > I have root access for the VPS server which is on ce

[web2py] Re: stuck up on Deployment on CentOS 6.7

2016-05-22 Thread Rahul
to my application point to my postgresql installation on my VPS. I would try fixing it this week. Thanks! for your support. I would perhaps post a slice after everything works for me on Web2py slices site. And I hope there would be a new site to add in the web2py sites list . Thanks! Rahul D. On S

[web2py] Re: stuck up on Deployment on CentOS 6.7

2016-05-22 Thread Rahul
to my application point to my postgresql installation on my VPS. I would try fixing it this week. Thanks! for your support. I would perhaps post a slice after everything works for me on Web2py slices site. And I hope there would be a new site to add in the web2py sites list . Thanks! Rahul D. On S

  1   2   3   >