[web2py] how to import modules on pythonanywhere

2019-08-25 Thread Maurice Waka
I recently deployed an app to pythonanywhere. The app works well on localhost but now I can't import the same modules as in the local computer. For example, I keep getting the error: No module named applications.myapp.modules.pattern The module pattern and others are installed with myvirtualenv

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

2019-08-25 Thread Dave S
On Sunday, August 25, 2019 at 5:27:34 AM UTC-7, Rahul wrote: > > Hi All, > I have an issue with the following code which I ain't able to > trace. The code is for uploading images, generating the thumbnails > ,watermarking the image and saving the watermarked thumbnail to a path on > th

[web2py] Query a join tables SQLFORM.smartgrid

2019-08-25 Thread Gilad Hoshmand
I'm trying to make a smartgrid from 2 tables and apply a query to it. I've tried all the following: smart_grid = SQLFORM.smartgrid(db.child, left = (db.parent.on(db.child. parent_id), # keywords = (db.fa_defect_

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

2019-08-25 Thread Rahul
Hi All, I have an issue with the following code which I ain't able to trace. The code is for uploading images, generating the thumbnails ,watermarking the image and saving the watermarked thumbnail to a path on the system. While this is working fine on windows system, it *fails *miserabl