[web2py] Error (web2py on GAE): ImportError: No module named gluon.settings

2020-03-17 Thread PRACHI VAKHARIA
*web2py on GAE* gives the following error: *ImportError: No module named gluon.settings (/base/data/home/apps/s~appname/appversion.425325282173601763/gaehandler.py:47)* Everything was working fine. Can someone enlighten what is happening? -- Resources: - http://web2py.com -

[web2py] Re: Admin on GAE

2018-08-17 Thread PRACHI VAKHARIA
> >>- How to view Error Tickets while doing development in web2py on GAE >>SDK? >> >> every error tickets usually store in errors folder of it's application > folder name, you can check it manually > That is not true for GAE, it appears. There are no files inside the errors folder.

[web2py] Admin on GAE

2018-08-15 Thread PRACHI VAKHARIA
How to access *full web2py Admin* in *GAE SDK*? - How to view Error Tickets while doing development in web2py on GAE SDK? - How to access the full web2py Admin features on GAE SDK? Please Advise! I am a beginner in web2py+GAE. Thank You! -- Resources: - http://web2py.com -

[web2py] Web2Py + GAE + Memcache | How to Implement in Web2Py

2018-02-25 Thread PRACHI VAKHARIA
1. *How to deploy Web2Py+Memcache on GAE * 2. *How does one configure and also monitor the memcache server on GAE from web2py?* The description and details *here* are not enough or

[web2py] Re: What is Web2Py Doing in Background? — How To See Web2py WorkFlow When The Server is Active?

2016-10-19 Thread PRACHI VAKHARIA
> See http://web2py.com/books/default/chapter/29/04/the-core#Logging. Note, > the framework itself will only issue a limited number of INFO logs, so you > won't have much visibility into the framework. > > You can also set up profiling and logging of the HTTP requests (i.e., a > list of each

[web2py] Re: What is Web2Py Doing in Background? — How To See Web2py WorkFlow When The Server is Active?

2016-10-19 Thread PRACHI VAKHARIA
The goals is learning – to see and understand the process and working happening in the background to make everything work – to see the web2py in action from inside. Currently, web2py works so well that one does not need to worry about things like that, which is great, but it also hides the

[web2py] What is Web2Py Doing in Background? — How To See Web2py WorkFlow When The Server is Active?

2016-10-18 Thread PRACHI VAKHARIA
*What is Web2Py Doing in Background? —or— How To See Web2py WorkFlow When The Server is Active?* - *How can a developer see what the Web2Py application and server are doing when it is doing something?* - *How to get a Verbose listing of what the w2p/server is doing in realtime?*

[web2py] Re: PROBLEM WITH .CONTAINS() ON GAE

2016-06-23 Thread PRACHI VAKHARIA
se > the DAL for queries. > > *Note, if you want to simulate a .startswith query, I think you can do > htmlDB.Articles.Author >= request.args(0).* > > Anthony > > On Thursday, June 23, 2016 at 9:32:12 PM UTC-4, PRACHI VAKHARIA wrote: >> >> >> >>

[web2py] Re: PROBLEM WITH .CONTAINS() ON GAE

2016-06-23 Thread PRACHI VAKHARIA
NEW MODIFIED CODE — STILL DOES NOT FUNCTION The following function does not work on GAE – the lines in Red. *MODEL* *htmlDB.define_table('Articles',* *Field('Title'),* *Field('HtmlBody', 'text', label="Enter Full Article"),* *Field('Abstract', 'text', label="Enter Abstract"),* *

[web2py] Re: PROBLEM WITH .CONTAINS() ON GAE

2016-06-23 Thread PRACHI VAKHARIA
*Thank you, Anthony and Massimo!* *What if I do not want Lists, but only a simple text field? There will be only one string field which is the name of a person (Author).How will using list: be different from the simple text field?And does .contains() work at all on GAE?* I am still a

[web2py] PROBLEM WITH .CONTAINS() ON GAE

2016-06-22 Thread PRACHI VAKHARIA
*PROBLEM WITH .CONTAINS() ON GAE* The following function does not work on GAE – the line in Red. *MODEL* *htmlDB.define_table('Articles',* *Field('Title'),* *Field('HtmlBody', 'text', label="Enter Full Article"),* *Field('Abstract', 'text', label="Enter Abstract"),* *

[web2py] Re: web2py 2.14.4 is OUT

2016-06-03 Thread PRACHI VAKHARIA
*Great! What are some of the major updates in 2.14.4 – that we users should note or be aware of?* *On Tuesday, 12 April 2016 17:29:26 UTC-4, Massimo Di Pierro wrote:* > *web2py 2.14.4 is out.* > > It fixes some a problem with CAS and some style issues with examples. > It also includes

[web2py] Re: How To Select Only The Latest Rows from a Table

2016-05-12 Thread PRACHI VAKHARIA
*Use the argument groupby instead of distinct, and you'll get the desired results.* *so groupby fieldname2 and retrieve max(time).* *What does groupby do exactly?* 1– Does it group rows by a certain column's values – *such that repeating values are hidden*? 2– Does it group rows by a

[web2py] How To Select Only The Latest Rows from a Table

2016-05-08 Thread PRACHI VAKHARIA
*How To Select Only The Latest Rows from a Table* For a Table structure as below: *Table(* *PrimaryKey,* *FieldName1,* *FieldName2,* *Time)* FieldName1 and FieldName2 are not unique. *Goal: To select only the latest row for each FieldName2* *Items = db(db.Table.FieldName1 !=

Re: [web2py] Re: Using tinymce for text areas of in component views

2016-02-17 Thread PRACHI VAKHARIA
I tried that and it did *NOT* work with *Web2Py Components* —» *http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax* But it does work well on normal

[web2py] Re: Using tinymce for text areas of in component views

2016-02-17 Thread PRACHI VAKHARIA
- Can you please post your codes for making TinyMCE work with web2py Components? - It will allow to get a better understanding of how you applied it within web2py Components. Thanks! *— PRACHI* On Saturday, 6 November 2010 01:29:25 UTC-4, Luther Goh Lu Feng wrote: > > I am

[web2py] Re: Need opinions/reviews about embedded jquery/javascript XHTML editor

2016-02-17 Thread PRACHI VAKHARIA
- Can you please post your codes for both TinyMCE and CKEditor? - It will allow to get a better understanding of how you applied it within web2py. - Also, do you know how to use TinyMCE using web2py Components? Thanks! *— PRACHI* On Saturday, 18 January 2014 02:25:02

Re: [web2py] Layout.html — Ajax Direct URL

2015-07-10 Thread PRACHI VAKHARIA
Dear SK, That is a possible solution, but I feel that it is not *the most elegant way* to do it, since it involves creating more files leading to redundancy – and difficult to maintain as files number increases. My intended approach overcomes that with half the number of View files using

[web2py] Re: EMAIL | IMAP + SMTP | Compose Email = Save as Draft + Send via SMTP

2014-10-21 Thread PRACHI VAKHARIA
Dear Alan and Massimo, First, please look at this site: *http://www.html5rocks.com/en/tutorials/file/dndfiles/* It shows how to upload and read multiple files directly using HTML5 *(and JavaScript)*. It uses the *File API specification* from W3: http://www.w3.org/TR/file-upload/ How

[web2py] Re: How To Remotely Log-Out a User on GAE

2014-06-19 Thread PRACHI VAKHARIA
*Please Help !!!* -- 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] How To Remotely Log-Out a User on GAE

2014-06-18 Thread PRACHI VAKHARIA
*How To Remotely Log-Out a User on GAE* - *How can the administrator of an application deployed on GAE log-out users? * - *How to modify/edit/set/configure/Delete the Session or Cookies?* In the model file, the following is used for automatic expiration:

[web2py] Capturing Request Response

2014-04-24 Thread PRACHI VAKHARIA
— Hello Everyone, I am using the *from gluon.tools import fetch* to *fetch(URL)* from external website. The external site has links on the page which get reloaded as *127.0.0.1:8000/LINK* on the displayed page. *Questions*: *— When such a link clicked, how to extract that link from

Re: [web2py] Re: GAE - Not Working || Full Code Attached

2013-12-06 Thread PRACHI VAKHARIA
Dear Massimo and Christian, You both were *right* about the *web2py version*. Since the latest version was not running or getting deployed on GAE, I used the old version which I had previously used to upload and deploy on GAE, hoping that might work. So, I corrected the old version

[web2py] Re: GAE - Not Working || Full Code Attached

2013-12-06 Thread PRACHI VAKHARIA
*New Error Ticket on GAE* What does this error mean? What is the solution to this error? Traceback (most recent call last):\n File /base/data/home/apps/s~myapp/1.372124618390164258/gluon/main.py, line 551, in wsgibase\n session._try_store_in_db(request, response)\n File

[web2py] Re: GAE - Not Working || Full Code Attached

2013-12-05 Thread PRACHI VAKHARIA
Dear James, First, thank you very much for the response, and taking the effort to try out the application on GAE. The *app.yaml* file I am using is configured just as you have stated. runtime: python27 threadsafe: true - url: .* script: gaehandler.wsgiapp# WSGI (Python 2.7

[web2py] Re: Running instantpress in GAE: Internal error Ticket issued: unrecoverable

2013-12-04 Thread PRACHI VAKHARIA
*Did you find a Solution?* *If yes, what is the Solution?* Thank you. On Thursday, June 13, 2013 11:29:35 AM UTC-4, peibol wrote: Hi all: Everything is running smoothly at localhost, but when deploying a raw instantpress on GAE I get Internal error Ticket issued: unrecoverable

[web2py] GAE - Not Working || Full Code Attached

2013-12-04 Thread PRACHI VAKHARIA
*GAE – Not Working* The app works well locally and also on GAE-launcher, but once uploaded (deployed) on to GAE, the app does not work and gives an error. *Code and Error Provided Below* *MODEL (db.py)* if not request.env.web2py_runtime_gae: db =

[web2py] Re: Change in ImapAdapter content field

2013-10-14 Thread PRACHI VAKHARIA
How does one query the IMAP server based on the new format? Previously, to get messages from a given sender in a given mailbox, the following worked » messages = imapdb(imapdb.INBOX.sender.contains(SenderName)).select() Or an email on a given date by » messages =

[web2py] Re: IMAP: Insert email to Sent folder

2013-10-13 Thread PRACHI VAKHARIA
*Can you please post the code used to Attach Files?* *And also the code used to Save-as-Draft to IMAP servers and/or Send via SMTP.* It will be really helpful, because I have been struggling to do the same. The best way to understand and learn would be use the code in its entirety as well

[web2py] Re: RFC: imapadapter api change

2013-10-13 Thread PRACHI VAKHARIA
The content and attachment fields would be no longer available. Users have to implement their custom app code to fetch each part inspecting the complete message structure - Does this mean that *message.content* will not work in the future? - Also, does it mean than the users will

[web2py] EMAIL | IMAP + SMTP | Compose Email = Save as Draft + Send via SMTP

2013-10-13 Thread PRACHI VAKHARIA
* EMAIL | IMAP + SMTP * *Compose Email | Save as Draft + Send via SMTP* * * * * Please look at the code below and give me some feedback on how to improve it. *ComposeMail()* — Creates a form with Email fields — If form accepted » Save as Draft in IMAP | Send via SMTP

[web2py] Re: RFC: imapadapter api change

2013-10-13 Thread PRACHI VAKHARIA
*To Alan E.* *Q»* Will it break *backward compatibility*, then? That will be bad. Please implement the new feature in such a way that Emails can be retrieved easily by *Message.Content[i]* for plaintext and html. And * Message.Attachments[ii]* and *Message.Attachments[ii].type* for

[web2py] Re: Email | SMTP | Compose Form with Attachments + Send via SMTP

2013-09-04 Thread PRACHI VAKHARIA
Someone, please help ! . -- --- 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 options, visit

[web2py] Email | SMTP | Compose Form with Attachments + Send via SMTP

2013-09-02 Thread PRACHI VAKHARIA
*Email | SMTP | Compose Form with Attachments + Send via SMTP* How to create a single C ompose form that will take all the needed parameters – *Including* * Attachments* – and send the Email via SMTP server or Save the Email to IMAP server? The following code was tried to S

[web2py] Re: Email | SMTP | Compose Form with Attachments + Send via SMTP

2013-09-02 Thread PRACHI VAKHARIA
Dear Alan, Thank you. Please find my questions and attempts below. *create a SQLFORM.factory form and fill the mail.send input with the values collected on form submission. I guess you could use multiple file upload fields in the form factory and show or hide them with jQuery events. *

[web2py] Re: web2py | Email + IMAP | Help Wanted

2013-09-01 Thread PRACHI VAKHARIA
I spent weeks on the following problem. Your guidance insight will be invaluable! How to create a single C ompose form that will take all the needed parameters – *Including* * Attachments* – and send the Email via SMTP server or Save the Email to IMAP server? The following code was

[web2py] Re: web2py | Email + IMAP | Help Wanted

2013-08-27 Thread PRACHI VAKHARIA
Please find responses inline below. Thank you. :-) For every query and search, does the DAL adapter do all these steps? Read email box lists + Then Search for messages matching query + Separate Fetch for each message Well, actually, I think the mailbox list can be set in the model

[web2py] Re: sharing my d3.js experiments with web2py community

2013-08-18 Thread PRACHI VAKHARIA
Thank you for sharing this, dear Margaret. After going through it, I will write to you if I have any questions or doubts. — Prachi -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails

[web2py] Re: Send and save as draft email forms

2013-08-18 Thread PRACHI VAKHARIA
*On Sunday, August 18, 2013 4:01:26 AM UTC-4, Massimo Di Pierro wrote:* *Why should web2py include mail storage? It looks more like an app to me than a core feature.* Dear Massimo, That is a great question, and let me try to make a case for that. Currently w2p provides DAL abstraction to

[web2py] Re: Send and save as draft email forms

2013-08-17 Thread PRACHI VAKHARIA
Below are the main features that are required for Email » 1. *Reading (IMAP-POP) * 2. *Writing (composing) * 3. *Saving (drafts) * 4. *Sending (SMTP) * 5. *Managing Attachments * 6. *Fetching Email Headers only* Features 1 and 4 do exist in w2p, and is very

[web2py] Re: Send and save as draft email forms

2013-08-17 Thread PRACHI VAKHARIA
On Saturday, August 17, 2013 12:37:54 PM UTC-4, Alan Etkin wrote: *6. Fetching Email Headers only* * *AFAIK, that is implemented already*. *The adapter only fetches the whole message if the fields selected do not belong to the header. For example: imap(...).select(imap.inbox.sender,

[web2py] JSON Error in web2py | WolframAlpha Python Binder

2013-08-08 Thread PRACHI VAKHARIA
** * * *JSON Error in web2py | WolframAlpha Python Binder* The Python binder from *WolframAlpha* developer gives JSON Error in web2py. Error: *type 'exceptions.ImportError' cannot import name JSONDecodeError* The binder files (wap.py and simplejson folder) were put in the