Hi, python lists are not supported, use tuples instead. Try to change the line
Properties = [hidden] to Properties = hidden, and try again. Bye, Joerg John Gleeson schrieb:
Open Office Support: I am developing a python program that will allow a cell to be filled in with arbitrary text for a specified spreadsheet file and cell. I am developing on Solaris 10 x86. I plan on deploying on Solaris 10 SPARC. I downloaded OO about 2 weeks ago. I downloaded the OO SDK this week. I have attached the program. It is as simple as I could make it for demonstration purposes. I use this command line to test it: /opt/openoffice.org3/program/python z.py /tmp/T2.ods A1 johnny This should put "johnny" into the cell at A1 in the spreadsheet (file) /tmp/T2.ods. I am getting this output: after localContext after localResolver after context after desktop url = file:///tmp/T2.ods failed to load spreadsheet. error is <type 'exceptions.NameError'> I do not understand why I am getting this error. My code is based on example code that is doing the same things. If I switch the "Doc " assignment to the one that is commented out in the attached version, I get "Abort(coredump)". Am I doing something wrong? Are there known issues with what I am trying to use? Any pointers you might be able to provide are greatly appreciated. Regards, John Gleeson Software Technologies Group, Inc. +1.708.547.0110 ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
