[Qgis-user] Action in 1.8 with python interprets slash wrong
Wörz Daniela
daniela.woerz at vorarlberg.at
Mon Jul 9 07:17:30 PDT 2012
Hy there:
when setting up an action for a hyperlink with a python command some of the slashes in the path will be wrong interpreted:
os.startfile("[% "DOC_Path" %]")
Python Error
Error on running Code:
os.startfile (\\avlrbrc013a\ viia\state\13_City\13.14.xls) (path is read out of attributetable)
WindowsError: [Error 2] System can not find stated file '\\avlrbrc103a\x0biia\\state\x0b_City\xob.14.xls'
so
\v is read as x0b
\13 is read as xob
\13 is read as x0b
any guess to solve this problem?
Thanks, Daniela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120709/242352ae/attachment.html>
More information about the Qgis-user
mailing list