[web2py] Re: post file to a server

2019-10-17 Thread Auden RovelleQuartz
;) sftp.close() t.close() return dict( form = form, ) THAT WORKS FINE! (on SERVER_TWO server using WinSCP I go to the /root folder on the VPS and there is the file) On Monday, October 14, 2019 at 8:23:25 AM UTC-5, Auden RovelleQuartz wrote: > > Please let me know how to do this > >

[web2py] post file to a server

2019-10-14 Thread Auden RovelleQuartz
Please let me know how to do this SERVER_ONE: this is the application server SERVER_TWO: this is the file storage server The objective is to >>> have the user select a file via a form (this is via a Web2py app running on SERVER_ONE) >>> when user clicks the submit button, the file is posted to

[web2py] LOAD() component redirect destroys session

2017-10-23 Thread Auden RovelleQuartz
if I am on page_one that has a LOAD() component on it that runs say every 5 seconds (timeout = 5000) and if while on that page I have session.parameter_one = some value session.parameter_two = some value session.parameter_three = some value if based on certain conditions the component redirects

[web2py] CSS styling error_message form validation fields

2016-06-18 Thread Auden RovelleQuartz
The *error_message *parameter allows customization of the failure text for a form field entry validation process. For example: IS_NOT_EMPTY(error_message='cannot be empty') If I want to apply CSS styling to the text area that the error message appears in, how do I do that? -- Resources: - h

[web2py] Re: DB2 truncate()

2016-05-25 Thread Auden RovelleQuartz
class adapter. > You can use the mssql one as a reference. > > Or CLRPFM. > > Denes > > On Friday, May 6, 2016 at 4:02:18 PM UTC-4, Auden RovelleQuartz wrote: >> >> when i attempt to do a db.tablename.truncate() on a DB2 table, I get the >> following error:

[web2py] DB2 truncate()

2016-05-06 Thread Auden RovelleQuartz
when i attempt to do a db.tablename.truncate() on a DB2 table, I get the following error: Ticket ID 127.0.0.1.2016-05-06.14-57-20.5ee10f85-fb6e-4bfe-8d16-db0b224313b9 ('42000', '[42000] [IBM][iSeries Access ODBC Driver][DB2 UDB]SQL0104 - Token TRUNCATE was not valid. Valid tokens: ( END GET S

[web2py] unreadable error

2016-04-12 Thread Auden RovelleQuartz
hello, after upgrading to latest version, I start getting this error: (dp1 S'output' p2 S'' sS'layer' p3 S'Framework' p4 sS'code' p5 S'' sS'snapshot' p6 (dp7 S'ex

[web2py] Re: No Access After Ubuntu Upgrade

2015-07-19 Thread Auden RovelleQuartz
I changed Options FollowSymLinks AllowOverride None Require all denied to Options FollowSymLinks AllowOverride None Require all granted in the file /etc/apache2/apache2.conf seemed to resolve the issue :) On Sunday, July 19, 2015 at 9:38:48 AM UTC-5, Auden RovelleQuartz wrote: > &g

[web2py] No Access After Ubuntu Upgrade

2015-07-19 Thread Auden RovelleQuartz
all was working as expected on my web2py app then I updated from ubuntu 12.04 to 14.04 now I get { Forbidden You don't have permission to access /omniavx_auden on this server. -- Apache/2.4.7 (Ubuntu) Server at ovxdev.us Port 80 } is there anything within web2py th

[web2py] Re: IOError: [Errno 21] Is a directory:

2015-06-30 Thread Auden RovelleQuartz
avx_joe -M -R applications/omniavx_joe/cron/init_db_tables.py 1 >> /tmp/cron_init_db_tables.output 2>&1 (typo: there should not be a space after omniavx_joe in the pathname) On Tuesday, June 30, 2015 at 6:10:16 AM UTC-5, Auden RovelleQuartz wrote: > > there is a system cron

[web2py] Re: IOError: [Errno 21] Is a directory:

2015-06-30 Thread Auden RovelleQuartz
gt; > On Monday, 29 June 2015 16:48:09 UTC-5, Auden RovelleQuartz wrote: >> >> does anyone know what this means? >> >> { >> web2py Web Framework >> Created by Massimo Di Pierro, Copyright 2007-2015 >> Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 &

[web2py] IOError: [Errno 21] Is a directory:

2015-06-29 Thread Auden RovelleQuartz
does anyone know what this means? { web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2015 Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 Database drivers available: sqlite3, psycopg2, pg8000, pymysql, imaplib Traceback (most recent call last): File "/home/www-data/web2py/gl

[web2py] Re:

2015-06-29 Thread Auden RovelleQuartz
from applications.omniavx_joe.modules.app_constants import * > > try instead: > > from app_constants import * > > less things can go bad > > On Sunday, 28 June 2015 08:19:46 UTC-5, Auden RovelleQuartz wrote: >> >> Error ticket for "omniavx_joe"Tick

[web2py]

2015-06-28 Thread Auden RovelleQuartz
Error ticket for "omniavx_joe"Ticket ID 24.211.17.122.2015-06-28.08-43-36.388910c0-3f65-456d-bcf2-7ee2c50e441e No module named omniavx_joe.modules.app_constantsVersionweb2py™Version 2.11.2-stable+timestamp.2015.05.30.16.33.24PythonPython 2.7.6: /usr/bin/python (prefix: /usr)Traceback 1. 2. 3.

Re: [web2py] Re: is this a pydal issue?

2015-06-08 Thread Auden RovelleQuartz
day to fix the backward compatibility > > Paolo > > 2015-06-08 13:58 GMT+02:00 Auden RovelleQuartz >: > >> parameter "op_rec" is set to a session parameter that under normal >> operating conditions is a "Rows" object >> >> if a per

Re: [web2py] is this a pydal issue?

2015-06-08 Thread Auden RovelleQuartz
this works! thanks... On Monday, June 8, 2015 at 6:52:35 AM UTC-5, Marin Pranjić wrote: > > You should be able to just write: > if not (op_rec and op_rec2 and op_rec3 and op_rec4) > > Marin > > On Mon, Jun 8, 2015 at 1:03 PM, Auden RovelleQuartz > wrote: > >> Wh

[web2py] Re: is this a pydal issue?

2015-06-08 Thread Auden RovelleQuartz
In pydal we can add a check to raise an error if the second argument isn't > an instance of Rows. > > Paolo > > On Monday, June 8, 2015 at 1:03:45 PM UTC+2, Auden RovelleQuartz wrote: >> >> What does this error mean? >> >> { >> Ticket

[web2py] is this a pydal issue?

2015-06-08 Thread Auden RovelleQuartz
What does this error mean - I never got it pre-pydal... { Ticket ID 24.211.17.122.2015-06-08.05-34-25.9f6361e2-d387-4cf8-adef-2216ad5c6476 'NoneType' object has no attribute 'records'Versionweb2py™Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 PythonPython 2.7.3: /usr/bin/python (prefix: /

[web2py] Re: DatabaseError: SSL SYSCALL error: EOF detected (Intermitten

2015-06-04 Thread Auden RovelleQuartz
another VERY INTERMITTENT error I am getting { web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2015 Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 Database drivers available: sqlite3, imaplib, pymysql, pg8000 Traceback (most recent call last): File "/home/www-data/web2py/g

[web2py] DatabaseError: SSL SYSCALL error: EOF detected (Intermitten

2015-06-02 Thread Auden RovelleQuartz
I am getting the error (see below) intermittently - does anyone know what that error means? { Ticket ID 12.239.162.254.2015-06-02.15-18-57.cda87665-75a8-4c94-98a8-f4fe633e2c01 SSL SYSCALL error: EOF detectedVersion web2py™Version 2.11.2-stable+timestamp.2015.05.30.16.33.24PythonPython 2.7.3: /

[web2py] Re: PostgreSQL connection hangs on insert

2015-05-19 Thread Auden RovelleQuartz
have you tried using the psycopg2 driver? On Wednesday, May 20, 2015 at 12:38:51 AM UTC-5, Bilal Hasan wrote: > > I'm having a very annoying issue where the connection to a PostgreSQL > database hangs and I get a "Attempted to connect to this database 5 times > unsuccessfully" which renders th

[web2py] Re: gluon import error?

2015-05-19 Thread Auden RovelleQuartz
, Auden RovelleQuartz wrote: > > here is the traceback: > > { > cannot import name SetVersionweb2py™Version > 2.10.4-stable+timestamp.2015.04.26.15.11.54PythonPython 2.7.3: > /usr/bin/python (prefix: /usr)Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7.

[web2py] gluon import error?

2015-05-19 Thread Auden RovelleQuartz
here is the traceback: { cannot import name SetVersionweb2py™Version 2.10.4-stable+timestamp.2015.04.26.15.11.54PythonPython 2.7.3: /usr/bin/python (prefix: /usr)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Traceback (most recent call last): File "/home/www-data/web2py/g

[web2py] Web2py Deployment Script for Ubuntu 14.04

2014-07-18 Thread Auden RovelleQuartz
This recipe which had worked: { One step production deployment Here are some steps to install apache+python+mod_wsgi+web2py+postgresql from scratch. On Ubuntu: wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh chmod +x setup-web2py-ubuntu.sh sudo ./setup-web2py-ubuntu.sh }

[web2py] Re: "Foreign Key Constraint"

2013-10-15 Thread Auden RovelleQuartz
the rest of the error (sorry): ProgrammingError: ('ERROR', '0A000', 'cannot truncate a table referenced in a foreign key constraint') So what do I need to do (web2py syntax) to avoid this error? On Tuesday, October 15, 2013 2:41:31 PM UTC-5, Auden RovelleQu

[web2py] Re: "Foreign Key Constraint"

2013-10-15 Thread Auden RovelleQuartz
gt; operations to delete the leaf rows first. > > On Tuesday, October 15, 2013 10:45:57 AM UTC-7, Auden RovelleQuartz wrote: >> >> >> when I run this function, >> >> *def truncate_db_tables(the_db):* >> * for table_name in the_db.tables():* >> * the_d

[web2py] "Foreign Key Constraint"

2013-10-15 Thread Auden RovelleQuartz
when I run this function, *def truncate_db_tables(the_db):* * for table_name in the_db.tables():* * the_db[table_name].truncate()* * the_db.commit()* * return()* I get the following error (traceback provided below) - does anyone understand what this means? Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9

[web2py] Programmatically Start/Restart

2013-10-14 Thread Auden RovelleQuartz
is there a way to programmatically start or restart a web2py application? -- 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 becaus

[web2py] 'is of type integer but expression is of type character varying'?

2013-08-29 Thread Auden RovelleQuartz
I added the "timestamp" field to the table: { *db.define_table("auction_item_bids_lexa",* *Field("bidder"),* *Field("block_size"),* *Field("bid_per_block","integer", default = 0),* *Field("number_of_blocks"),* *Field("timestamp","datetime"),* * ) #CDN-000275* } the started

[web2py] Serializers Error?

2013-07-21 Thread Auden RovelleQuartz
Does anyone know what the following error means? { Ticket ID 70.92.230.24.2013-07-22.00-17-44.194ba64e-ab76-48e6-9d4c-935bedce8cf2 'module' object has no attribute 'serializers'Versionweb2py™Version 2.5.1-stable+timestamp.2013.06.06.15.39.19PythonPython 2.7.3: /usr/bin/python (prefix: /usr)T

Re: [web2py] Re: ast module

2013-07-19 Thread Auden RovelleQuartz
l and post the result > - type 'python' so that you get into python shell and try running 'import > ast', post the error if you get one (use exit() to get out of python shell > when you're done) > - please post the exact command you use to start web2py. > >

[web2py] Re: ast module

2013-07-19 Thread Auden RovelleQuartz
Hello Massimo, There is no file called "ast" at that location. Any ideas? On Friday, July 19, 2013 11:33:45 AM UTC-5, Massimo Di Pierro wrote: > > Is it possible you have a file called ast under > applications//modules/ ? > > On Friday, 19 July 2013 08:09:40 UTC-5,

Re: [web2py] Re: ast module

2013-07-19 Thread Auden RovelleQuartz
yed on a rackspace VPS node On Friday, July 19, 2013 3:44:03 PM UTC-5, Jonathan Lundell wrote: > > On 19 Jul 2013, at 1:30 PM, Auden RovelleQuartz > > > wrote: > > Hello Massimo, > > There is no file called "ast" at that location. Any ideas? > > &g

[web2py] ast module

2013-07-19 Thread Auden RovelleQuartz
on regular python - for example on a www.compilr.com account, I am able to create and successfully execute this trivial program (in the {} brackets: { #!/usr/bin/python import ast l = ast.literal_eval('["a","31","c"]') l = [i.strip() for i in l] print l[1] } but when I try to use the ast m

[web2py] Re: example for validating input (using requires = IS_IN_DB) against form.vars before submit.

2013-06-16 Thread Auden RovelleQuartz
Here is an application that does that: https://w2p001.pythonanywhere.com/selection/default/index *here is the Model (db.py):* *db = DAL('sqlite://storage.sqlite')* * * * * *db.define_table("metals",* *Field("choice"),* *)* *here is the Controller (default.py):* * * *def index():* *

[web2py] Re: Padding Error...

2013-06-16 Thread Auden RovelleQuartz
More Information: It seems that this error occurs when using PostgreSQL - when using the native SQLite database, it does not happen... The file seems to be OK (as in not corrupted) because for both cases (PostgreSQL and SQLite) I am using the same png images -- --- You received this messa

[web2py] Re: Padding Error...

2013-06-14 Thread Auden RovelleQuartz
some or subtracting some to get the > correct padding. > Chances are, your data is corrupted. > > > On Friday, June 14, 2013 10:15:49 AM UTC-7, Auden RovelleQuartz wrote: >> >> Does anyone here know what this error means? >> >> Traceback >> >>

[web2py] Padding Error...

2013-06-14 Thread Auden RovelleQuartz
Does anyone here know what this error means? Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. Traceback (most recent call last): File "/home/www-data/web2py/gluon/restricted.py", line 212, in restricted exec ccode in environment File "/home

[web2py] upgrade to latest version and error

2013-04-23 Thread Auden RovelleQuartz
Hello my application was working fine I upgraded to latest web2py version and get the following error: Traceback (most recent call last): File "gluon/restricted.py", line 212, in restricted exec ccode in environment File "/home/www-data/web2py/applications/omniavx/models/db.py"

[web2py] Google PageRank and URL Rewrite

2013-04-16 Thread Auden RovelleQuartz
In web2py implementation, when a person opens a web browser and enters *{base_url}* then by default the web2py system will take the user to {* base_url/application_name/controller_name/function_name}* * * (as a hypothetical example: with www.omniavx.com the system by default goes to www.omniavx.c

[web2py] Session Issue/Question

2013-02-21 Thread Auden RovelleQuartz
I have long noticed that intermittently and on "first use" events (first time using a computer after a few hours), that when I log onto my Web2py application, it seems that soon after logging in, the system will forget all session data and in essence, log the user out. After the user logs in a

[web2py] areyouahuman.com CAPTCHA

2012-11-13 Thread Auden RovelleQuartz
has anyone tried to integrate the CAPTCHA application at http://www.areyouahuman.com in the web2py framework? if so, how did you get it to work? --

[web2py] Receiving external server response....

2011-11-04 Thread Auden RovelleQuartz
Does anyone have a simple example on how to receive a server response sent back to a web2py URL ("status_url"), and store that response as a text message (e.g so that data can be programmatically processed later)? The server response sent back is an HTTP post array and it is sent from a payment pr

[web2py] Skrill Integration

2011-11-02 Thread Auden RovelleQuartz
Has anyone ever done Skrill integration with web2py? If so contact me for possible consulting opportunity this week.

[web2py] Re: GAE Question

2011-08-06 Thread Auden RovelleQuartz
I decided to upgrade to the latest web2py version 1.98.2, then using the GAE app launcher for windows (version 1.5.2) I deployed it to the google server. when I try to go to the url .appspot.com then I got a server error 500. then I try to run locally on my machine (http://127.0.0.1:9000/admin/def

[web2py] GAE Question

2011-08-05 Thread Auden RovelleQuartz
After updating the GAE SDK to version 1.5.2, when I deploy and go to the URL for my application, I am getting "Oops! This link appears to be broken. Suggestions: Go to appspot.­com Search on Google:" error message has anyone had similar issues?

[web2py] Re: URL showing on links when printing a page

2011-06-20 Thread Auden RovelleQuartz
ey can't be hovered or clicked). You'll probably have to edit your CSS if > > you don't want that to happen. > > > Anthony > > > On Monday, June 20, 2011 11:10:47 AM UTC-4, Auden RovelleQuartz wrote: > > >> on my application, the display on my scree

[web2py] URL showing on links when printing a page

2011-06-20 Thread Auden RovelleQuartz
on my application, the display on my screen looks fine as expected; but when I print the page or do a "print preview" operation, the path URL shows up to the right of every hyperlink why is this and how do I avoid that behavior? many thanks

[web2py] Re: setting width of dropdown in TABLE/SELECT

2011-03-25 Thread Auden RovelleQuartz
that works - thank-you very much!! On Mar 25, 6:35 am, Martín Mulone wrote: > Add: _style="width: 300px;" to SELECT helper > > SELECT(_type="select", _name="field_name", _style="width: 300px;" ... > > 2011/3/25 Auden RovelleQ

[web2py] Re: setting width of dropdown in TABLE/SELECT

2011-03-25 Thread Auden RovelleQuartz
thank - you On Mar 25, 6:35 am, Martín Mulone wrote: > Add: _style="width: 300px;" to SELECT helper > > SELECT(_type="select", _name="field_name", _style="width: 300px;" ... > > 2011/3/25 Auden RovelleQ

[web2py] setting width of dropdown in TABLE/SELECT

2011-03-25 Thread Auden RovelleQuartz
the following code snippet: { form=FORM(TABLE(TR("some field label",SELECT(_type="select", _name="field_name", \ *[OPTION("$" + str(cost) + " " + x.item)\ for x in db().select(d

[web2py] Deleting a db table row

2010-02-10 Thread Auden RovelleQuartz
I hope this is a simple question: Specifically (syntax-wise) how does one delete a specific table row, but INDEPENDENT of the ".id" field? for example, lets say that I have the following rows in a database table: bid.id bid.bid_id 1 LJWI 2 LJWJ 3 LJWK 4 LJWL I know that

[web2py] Cron Problem

2010-01-25 Thread Auden RovelleQuartz
Hello, The cron feature does not seem to work for me. Any insights? Here is some information: at this URL, http://127.0.0.1:8000/admin/default/edit/oves_beta_001x2auden/cron/crontab, this is what I have #crontab -1 * * * * root *cron_operations/ labor

[web2py:38133] bug in .../application/views editor?

2009-12-31 Thread Auden RovelleQuartz
<> {{extend 'm_layout.html'}} {{=message}} {{if (pledged_labor_hours == 0):}} {{pass}} {{else:}} {{=form}} {{pass}} <> the above code in a view file gives the following error: <> Error traceback 1. 2. 3. 4. 5. 6. 7. Traceback (most recent call last): File "gluon/restricted.py", line 171, in

[web2py:38050] persistent background process

2009-12-29 Thread Auden RovelleQuartz
any simple example on how to create a persistent background process that runs continuously on the server side no matter what user signs in or out, and no matter how many concurrent users are on the system? Here are a couple of examples: when a user performs an "event", it kicks off a server side