I see. Are there any web2py-specific caching settings I should check?
On Wednesday, June 22, 2016 at 11:18:50 AM UTC-4, Anthony wrote:
>
> On Wednesday, June 22, 2016 at 10:39:23 AM UTC-4, Marty Jones wrote:
>>
>> No. I was under the impression it doesn'
No. I was under the impression it doesn't need to be. Does it?
On Tuesday, June 21, 2016 at 10:46:33 PM UTC-4, Anthony wrote:
>
> Is your application compiled?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I made a few changes on a DigitalOcean server running Web2py + uwsgi +
nginx. The changes were to routes.py and to a couple of views. None of
these are showing up on the webpage. I tried restarting uwsgi and nginx and
even rebooting the VPS altogether, but still the changes don't show up. I
lcome as template for new app...
>>
>> On Thu, Jun 16, 2016 at 12:36 PM, Marty Jones <murtin...@gmail.com
>> > wrote:
>>
>>> The reason I suspect a non-application-specific issue is that creating a
>>> new simple app from the web2py admin console r
toring of pyDAL, I don't recall it the refactored
> pyDAL was present in 2.14.5
>
>
>
> On Thu, Jun 16, 2016 at 12:22 PM, Marty Jones <murtin...@gmail.com
> > wrote:
>
>> Done - no change.
>>
>> Is it possible that the issue is SQLite speci
On Thu, Jun 16, 2016 at 12:05 PM, Marty Jones <murtin...@gmail.com
> > wrote:
>
>> Controller logic is below. Error 1 is occuring under the "dashboard"
>> function. Errors 2/3 under the user function.
>>
>> # -*- coding: utf-8 -*-
>>
pp]/default/download/[filename]
"""
return response.download(request, db)
def call():
"""
exposes services. for example:
http:///[app]/default/call/jsonrpc
decorate with @services.jsonrpc the functions to expose
supports xml, j
The user is logged in when the error occurs, yes. And yes to the second
question as well. I'm logged in as a regular user and am attempting to
logout.
On Thursday, June 16, 2016 at 11:51:09 AM UTC-4, Anthony wrote:
>
> *Error 1:*
>>
>> Traceback (most recent call last):
>> File
t about ~200+ lines would
> be informative of what going on...
>
> Richard
>
> On Thu, Jun 16, 2016 at 11:31 AM, Marty Jones <murtin...@gmail.com
> > wrote:
>
>> See version info below:
>>
>> 2.14.5-stable+timestamp.2016.04.13.22.22.13
>> (Running
See version info below:
2.14.5-stable+timestamp.2016.04.13.22.22.13
(Running on Unknown, Python 2.7.6)
On Thursday, June 16, 2016 at 9:59:58 AM UTC-4, Richard wrote:
>
> How did you upgrade ? Which version of web2py (2.14.6)?
>
> Richard
>
> On Thu, Jun 16, 2016 at 9:36 AM, M
I uploaded a local application to my DigitalOcean droplet and have been
having a nightmare of a time with the databases. I get this variety of
errors on various pages:
*Error 1:*
Traceback (most recent call last):
File "/home/murtyjones/app/gluon/restricted.py", line 227, in restricted
I have ownership of my web2py folder set to www-data group and for
permissions I've used "sudo chmod 777 - R "~/path/to/web2py". Is this
correct? Seems to be the only way to write to databases, etc.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Resolved it - the line that was triggering the error:
company = db.auth_user.company)
should have been:
company = auth.user.company)
:P
On Monday, June 13, 2016 at 9:03:39 PM UTC-4, Dave S wrote:
>
>
>
> On Monday, June 13, 2016 at 5:49:35 PM UTC-7, Marty Jones wrote:
>>
On Monday, June 13, 2016 at 7:53:45 PM UTC-4, Dave S wrote:
>
>
>
> On Monday, June 13, 2016 at 1:57:38 PM UTC-7, Marty Jones wrote:
>>
>> Hi -
>>
>> I created a custom auth_user table with a new field ('company') and am
>> having trouble access
Hi -
I created a custom auth_user table with a new field ('company') and am
having trouble accessing it in my controller:
db.py
db.define_table(
auth.settings.table_user_name,
Field('first_name', length=128, default=''),
Field('last_name',
ith PIP install module_name.
>
> On Saturday, May 7, 2016 at 11:50:12 AM UTC-4, Marty Jones wrote:
>>
>> I know this isn't a Web2py specific question but hope some of you will
>> have had experience with this.
>>
>> I have a Web2py app that relies on a number of 3r
I know this isn't a Web2py specific question but hope some of you will have
had experience with this.
I have a Web2py app that relies on a number of 3rd party Python modules
(Selenium, BeautifulSoup, PyVirtualDisplay, and various dependencies).
Before I pay for a VPS, I want to be sure I
how would I import the scheduler into a module to do that?
On Sunday, May 1, 2016 at 12:00:44 PM UTC-4, Niphlod wrote:
>
> why don't you use queue_task() ?
>
> On Friday, April 29, 2016 at 9:17:37 PM UTC+2, Marty Jones wrote:
>>
>> I seem to have resolved it by switching
I seem to have resolved it by switching "db = current.db" to "db =
current.globalenv['db']"
On Friday, April 29, 2016 at 12:05:34 PM UTC-4, Marty Jones wrote:
>
> I'm defining some functions in the modules folder that need to access and
> insert rows into the db
I'm defining some functions in the modules folder that need to access and
insert rows into the db. in the controller, I define "current.db = db" then
in the module I import the db as seen below.
I define the function below and attempt to import it and queue it up using
Scheduler, but receive
I'm working on developing a web2py application that uses a scraper. In
order to accomplish what I need I'm using a lot of modules... Selenium,
BeautifulSoup, possibly AutoIT, and all the dependencies of those modules...
How do I begin to think about including those during deployment? I'm
I'm working to create a web2py app that can scrape pages containing a
decent amount of javascript data, as a background process. I'm unsure what
module is best to use. I was considering Dryscrape but it seems to have a
lot of dependencies that wouldn't translate to deployment well (eg Qt).
Can
That works fine as well.
On Tuesday, March 1, 2016 at 3:32:43 AM UTC-6, Niphlod wrote:
>
> what if you just
>
> import ssl
>
> ?
>
> which environment are you in (os details) ?
>
> On Tuesday, March 1, 2016 at 12:36:16 AM UTC+1, Marty Jones wrote:
>>
>>
, February 29, 2016 at 10:57:58 PM UTC+1, Marty Jones wrote:
>>
>> 2.7.11
>>
>> On Monday, February 29, 2016 at 2:20:00 PM UTC-6, Niphlod wrote:
>>>
>>> what python are you using ?
>>>
>>> On Monday, February 29, 2016 at 4:39:45 PM
2.7.11
On Monday, February 29, 2016 at 2:20:00 PM UTC-6, Niphlod wrote:
>
> what python are you using ?
>
> On Monday, February 29, 2016 at 4:39:45 PM UTC+1, Marty Jones wrote:
>>
>> I'm trying to send an email using web2py's auth mailer. I've set an
>> application
I'm trying to send an email using web2py's auth mailer. I've set an
application specific password and am using that and my gmail info in the
code below:
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'em...@gmail.com'
mail.settings.login =
book (especially the part about views (
> http://web2py.com/books/default/chapter/29/05/the-views))
>
> On Friday, February 26, 2016 at 7:49:07 PM UTC+1, Marty Jones wrote:
>>
>> I'm just getting started with web2py and I'm struggling to figure out how
>&g
I'm just getting started with web2py and I'm struggling to figure out how
to call variables passed from the controller to the view, without using the
{{=variable}} method.
For example, I have the following code in my controller:
def manage():
list = []
for row in
I have some familiarity with scraping but only from my local machine, not
from a server. I'd like to set up a basic scraping app as a web2py app that
I can eventually run on a server. Anybody seen any tutorials for anything
along these lines or know of a good module for doing this?
--
29 matches
Mail list logo