Re: [Zope] Problem Inserting zsql query result

2005-11-15 Thread Ivan Stout
to insert . . . my eyes must be getting old). Anyway, I will try not to make so many assumption when I run it future bugs. Thank you for your help, Ivan On 11/15/05, Chris Withers [EMAIL PROTECTED] wrote: Ivan Stout wrote: Yes, the full error message is the following: ProgrammingError: (1064, You have

[Zope] Problem Inserting zsql query result

2005-11-11 Thread Ivan Stout
Greetings, I would like to insert the results of a query into another table and am doing this from a python script. I am setting the results of a queryequal to a variable with the following: variable = container.zsql_method(paramater=value)[0][0] This gives the results I want (in this case 0),

Re: [Zope] Problem Inserting zsql query result

2005-11-11 Thread Ivan Stout
Peter, Thank you, but unfortunately I still get the same error due to the newline character being there and still cannot remove it with variable.replace. Can a long object be converted to a string or integer some way? On 11/12/05, Peter Bengtsson [EMAIL PROTECTED] wrote: On 11/11/05, Ivan Stout

Re: [Zope] Problem Inserting zsql query result

2005-11-11 Thread Ivan Stout
to use? (Only need to see the SELECT ... part)On 11/11/05, Ivan Stout [EMAIL PROTECTED] wrote: Peter,Thank you, but unfortunately I still get the same error due to the newline character being there and still cannot remove it with variable.replace. Can a long object be converted to a string or integer

Re: [Zope] Re: Text field and module import questions

2005-09-19 Thread Ivan Stout
/textarea Anyway, thanks again. I will pay much closer attention to how I format my code in the future. Cheers. On 9/19/05, Martijn Pieters [EMAIL PROTECTED] wrote: Ivan Stout wrote: It appears that the text input field I have created using a dtml method has a default space character when you click

[Zope] Text field and module import questions

2005-09-18 Thread Ivan Stout
Greetings, It appears that the text input field I have created using a dtml method has a default space character when you click in the field. Is there a way to get rid of this? Also, I have a python script that I would like to import a python module, but when I run it Zope complains the user