Hi All,
I have the following update or insert statement in a controller.
db.grades.update_or_insert(
((db.grades.auth_user == student.id) &
(db.grades.assignment == assignment.id)),
auth_user = student.id,
assignment = a
1:03:13 PM UTC-5, Dave S wrote:
>
>
>
> On Tuesday, May 23, 2017 at 5:30:08 AM UTC-7, Brad Miller wrote:
>>
>> Due to a forced migration to new hardware/os on webfaction, I just
>> recently had to upgrade from 2.5.1 to 2.14.6.
>>
>> In the process I ha
Second question,
At one point I had uwsgi and web2py and my virtualenv all working together
nicely. But I was forced onto new hardware/os and had to rebuild the
virtual environment and uwsgi.I have a line in my uwsgi config file
that points to the correct virtualenv, where I have things li
Due to a forced migration to new hardware/os on webfaction, I just
recently had to upgrade from 2.5.1 to 2.14.6.
In the process I have managed to get myself into a state where the
scheduler schema is wrong. (I'm using postgresql)
I get the following error:
ProgrammingError: ('ERROR', '42703'
e running task.
> If your' eusing SQLite, this might happen because it suffers blocking for
> concurrent writes. if you enable the DEBUG logging, you'll probably see
> where it gets stuck.
>
> On Monday, August 18, 2014 3:01:15 AM UTC+2, Brad Miller wrote:
>>
>&g
when
it clearly did not fail.
Thanks,
Brad
On Friday, August 15, 2014 9:27:55 AM UTC-5, Brad Miller wrote:
>
> Hi,
>
> I've been using the scheduler quite successfully for a while now. But
> lately I've been getting TIMEOUTS on tasks that are successfully running to
&
Hi,
I've been using the scheduler quite successfully for a while now. But
lately I've been getting TIMEOUTS on tasks that are successfully running to
completion. I know this because:
1. I've added my own file mechanism to show that I made until the end,
plus I can see that the results of th
I just downloaded the latest 2.0.3 (stable) and upgraded my copy of web2py.
When checking some of my pages I got this error, which I have reconfirmed
works just fine on the 1.99.7 version.
Traceback (most recent call last):
File "/Users/bmiller/Beta/web2py/gluon/restricted.py", line 209, in r
Just as a quick check, I replaced the new parse_datetime function with the
old, and all is well.
Brad
On Friday, August 31, 2012 3:49:32 PM UTC-5, Brad Miller wrote:
>
> Here is the value that printed:
>
> 2012-07-05 02:36:50
>
> This field is declared in the model as:
> db.useinfo.sid, count, last, groupby=db.useinfo.sid, orderby=count)
>
>
>
> On Friday, August 31, 2012 9:53:16 PM UTC+2, Brad Miller wrote:
>>
>> I just upgraded my app to the latest 2.0.3 (stable) and while checking
>> some of my pages got the following error
e what the data
> looks like:
>
> def parse_datetime(self, value, field_type):
> if not isinstance(value, datetime.datetime):
> print value
> ....
>
> Let me know it may help understand how the data got in there.
>
> On Friday, 31 August 2
I just upgraded my app to the latest 2.0.3 (stable) and while checking
some of my pages got the following error:
Traceback (most recent call last):
File "/Users/bmiller/Beta/web2py/gluon/restricted.py", line 209, in
restricted
exec ccode in environment
File
"/Users/bmiller/Beta/web2py/
ually trigger a migration of the
> auth_event table (in addition to skipping creation of the auth_cas table).
>
> Anthony
>
> On Sunday, June 10, 2012 7:10:23 PM UTC-4, Brad Miller wrote:
>>
>> Alright I've done some more investigating, I've backed out the changes
refix')
Then auth_cas does not get created.
If I go back to auth.define_tables(migrate=True)
Then it works and auth_cas is created.
Brad
On Sunday, June 10, 2012 5:44:58 PM UTC-5, Brad Miller wrote:
>
> Hi,
>
> I recently upgraded from 1.99.4 to 1.99.7 on my webfaction server. I
Hi,
I recently upgraded from 1.99.4 to 1.99.7 on my webfaction server. I just
did a clean checkout of my repo into a beta app folder under applications.
I have two databases set up. One for production, and one for testing. I
dropped all the tables in my beta database. The databases folder
On Sunday, June 10, 2012 2:16:51 PM UTC-5, Jonathan Lundell wrote:
>
> On Jun 10, 2012, at 8:38 AM, Brad Miller wrote:
>
> My latest hypothesis is that this is a bug in fake_migrate ?? I'm using
> 1.99.4 on webfaction, and I'm using 1.99.7 on my development box.
t upgrading the version of web2py on webfaction...
Does anyone have any experience with that? Is it as easy as replacing the
web2py directory they created for me with the latest source and then
restoring my application directories???
On Saturday, June 9, 2012 3:47:05 PM UTC-5, Brad Miller wrote:
I have
to keep the fake_migrate_all=True or I get the following:
column "origin" of relation
"auth_event" already exists
g!!! Any more ideas on what might be causing that??
Brad
On Saturday, June 9, 2012 11:56:08 AM UTC-5, Jonathan Lundell wrote:
>
> On Jun 9, 2012, a
'
then the value I pass to auth.define_tables should have 'devdb_' as the
value.
This makes sense to me logically at least.
Brad
On Saturday, June 9, 2012 11:34:11 AM UTC-5, Jonathan Lundell wrote:
>
> On Jun 9, 2012, at 8:55 AM, Brad Miller wrote:
>
> Thanks Jonatha
an Lundell wrote:
>
> On Jun 9, 2012, at 7:48 AM, Brad Miller wrote:
>
> webfaction has a control panel, and I used their control panel to change
> the password. It was the same mechanism I used to set up the database in
> the first place. The only difference, of course, is th
Massimo Di Pierro wrote:
>
> You can change password outside of admin but need to hash it first. How
> did you change it?
>
>
>
> On Saturday, 9 June 2012 09:22:02 UTC-5, Brad Miller wrote:
>>
>> Hi,
>>
>> Here's what happened. I'm hosting a w
Hi,
Here's what happened. I'm hosting a web2py application on webfaction
(http://interactivepython.org)
This morning, after some maintenance I had tested everything and all was
good. Pages were working login/logout was working, database access was
working perfectly. Then, because I realized
That did it, thanks!
Is there a newer version of the tutorial somewhere? I have some basic
questions like how do I get the app to start with an admin password?
Thanks,
Brad
--
Brad Miller
On Thursday, January 26, 2012 at 12:13 PM, José Luis Redrejo RodrÃguez wrote:
> 2012/1/26 B
Hi,
I'm trying to follow the web2py tutorial that was posted here a while
back. Unfortunately that was written using the older version of the
command line tools, so some things just don't exist anymore. But I'm
going back and forth between the new documentation and the old.
I've done the follow
24 matches
Mail list logo