[PySide] QFileDialog Linux Problem
Ryan R Grove
ryan.r.grove at aero.org
Fri Jun 5 16:39:32 CEST 2015
Hello,
For a file located /home/rrg29876ArchID-14761_case0.out, all is well when
I run the following code in Windows:
#Open a FileDialog to pull in supported data
formats = ("R Output Files (*.out);;"
"Rc Output Files (*.out);;"
"A Average Files (*.avg);;"
"A Timestep Files (*.tim)")
fileName, filtr = QFileDialog.getOpenFileName(self,
"Select A Data File to Open", self.defdir, formats)
self.defdir = path.split(fileName)[0]
print "self.defdir: ",self.defdir
print "fileName: ", fileName
print "filtr: ", filtr
But in Linux I get:
self.defdir: /home/rrg29876/vice
fileName: home/rrg29876/vice/De
filtr: Rc Output
Can anyone help explain this truncation to me and/or suggest ways to
fix/get around this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20150605/44f78e5b/attachment.html>
More information about the PySide
mailing list