Ignore this. I am unable to reproduce it for now.
=
On Thursday, May 30, 2019 at 2:36:50 PM UTC+5:30, Sundar wrote:
>
> When I try to run the above version under Apache (2.4), welcome app screen
> comes. When I click on 'Admin' button, an error m
When I try to run the above version under Apache (2.4), welcome app screen
comes. When I click on 'Admin' button, an error message is displayed.
Apache log shows the error as TypeError: sequence of byte string values
expected, value of type str found\r, referer:
http://localhost:85/welcome/defa
Yes, 'attaching the table' does not allow references. On second thoughts,
it is somewhat inconvenient to use that feature too.
Let me see if another method will work.
In web2py directory, under site-packages, you can define a module (or a
simple .py file) wherein you can define the required dic
See https://www.sqlite.org/lang_attach.html solves your problem.
Cheers.
===
On Tuesday, May 16, 2017 at 5:46:25 PM UTC+5:30, lyn2py wrote:
>
> Is there is a way to define a table without adding it to the sqlite
> database? I wish to define a table
You still need somewhere to 'store' it. Rght?
May be you can create another SQLITE DB (say db1) and use it for your
purpose. (Of course, 'join'ing with db1 table data will have to be done
through your program).
On Tuesday, May 16, 2017 at 5:46:
Thanks Leonel. It was my mistake. It works now.
On Monday, July 15, 2013 at 4:35:03 AM UTC+5:30, Woody wrote:
>
> This may be something that is known by people with more experience than
> me, but it took me a lot of experimenting to figure it out, so I thought I
> would post it here so others wi
An old thread - but I seem to have some problems using 'rowid' as id.
The statement Field('rowid', 'id') causes the error: invalid table/column name "rowid" is a "ALL"
reserved SQL/NOSQL keyword
What could I be possibly doing wrong? (I tried rowid in lower as well as
upper case)
Thanks.
he
values for all the selected record and I needed to set them as the values
of the hidden field. r has been fetched before the below code in the
function.
4. Simpler codes - noted and thanks a lot for the simplificatio
Yes- it looks very bad. I think the below method will work. (Let me know if
you need any elaboration)
rofields = [db..field1, .]
hidden = {}
for f in rofields:
fname = str(f).split('.')[1]
hidden[fname] = r[fname]
form1 = SQLFORM(db., record= , showid=True, hidden=hidden)
for f in rofields:
Not sure if it is recorded in the documentation. But it took some time for
me to figure out that the files in Models Directory that include - (hyphen)
in their names are ignored by Web2py - and I do not see them in Appadmin
either.
Not sure if some other characters (like hyphen) also cause this
://stackoverflow.com/questions/5244810/python-appending-a-dictionary-to-a-list-i-see-a-pointer-like-behavior
In your first example, may be you can append a new dictionary with values
from temp1: that is temp.append({'a':temp1['a'].})
Good luck.
Sundar
---
Thank you very much. That worked.
~~
Sundar Ramanujam Nadimpalli
On Wed, Jun 12, 2013 at 3:25 PM, Johann Spies wrote:
> On 12 June 2013 11:33, Sundar Nadimpalli wrote:
>
>>
>> Thanks for the reply. I did what you suggested but I get an er
.
~~
Sundar Ramanujam Nadimpalli
On Wed, Jun 12, 2013 at 2:45 PM, Johann Spies wrote:
> Try changing the third line in to
>
> (T('Login'), False, URL('default', 'user'), []),
>
> and see whether it makes a difference.
>
> Do you still have
t', 'help'), []),
(T('Login'), False, URL('default', 'user', 'login'), []),
(T('Privacy'), False, URL('default', 'privacy'), []),
]
Am I doing something wrong? Please ad
Wow. Very happy to note that.
~~
Sundar Ramanujam Nadimpalli
Signum Product Solutions
Ph: +91-80-23453248
Cell: +91-9880712035
Email: sun...@signumsol.com
Web: www.signumsol.com
Skype: sundar.nadimpalli
On Thu, Jun 6, 2013 at 11:34 PM, Vinicius Assef wrote
Hi Marco,
I have a heard lot of praise for your tutorial and can't wait to get
started. But your site is down and returns a 502. I know that you may be
busy with other things, but still I would like to request you to consider
bringing the site back up.
Thanks,
Sundar
On Wednesday, Dec
ences t1(a))
I just wanted to make sure of this point.
Sundar
=
On Friday, April 20, 2012 6:03:47 PM UTC+5:30, Cliff wrote:
>
> Thank you, Sundar.
>
> I understand. This solution means I relinquish the foreign key constraint
selects (on the PO
table) to exclude this specific PO.
Cheers.
Sundar
==
On Friday, April 20, 2012 3:16:24 AM UTC+5:30, Cliff wrote:
>
> nick,
> Thanks for the response.
>
> Here's a longer explanation.
>
> Two applications, on
When I am trying to upload an MHT file (single file holding all browser
components: html, image etc.), I get an error. I observed it in old as well
as new versions of web2py.
Are there prohibited extensions of files which cannot be uploaded?
Trace:
Traceback (most recent call last):
File "E:
the error message
'_id'
on the line containing the crud.create statement.
Do you think I am doing anything wrong?
Thanks and regards
Sundar
ps: If you require the trace, here it is:
File "E:/web2py1.99.7Source/applications/rsi_in1/controllers/fs.py"
<http://pc77:
I tried the binary of 1.99.7 and the driver pg8000. I am getting the error
message
global name 'psycopg2_adapt' is not defined
Where am I going wrong?
Sundar
===
On Thursday, January 12, 2012 12:51:50 AM UTC+5:30, Massimo Di Pi
ase post your model?
>
> On Oct 2, 9:20 am, Sundar wrote:
>
>
>
> > I have a similar situation.
>
> > My table, say, Purchase Order contains two fields: client, endclient.
> > The client ID from the Clients table is the foreign key for both.
>
> > For
!
Any inputs are welcome. I think you can quickly recreate the
situation. If you need the full code from me, let me know.
Regards.
Sundar
On Sep 26, 11:16 pm, weheh wrote:
> Massimo, as I said, there are 2 processes. The background process is a
> queueing engine. The queue is doing stuf
23 matches
Mail list logo