Now, I'm sending an example... I discovered that the "BUG" is related by the 
use of "QTextStream" and " QTextEdit" together... So, just extract the ".rar" 
and run "main.py". 

Note: I am using PySide 1.0.8 ---> PySide 1.0.7 was working well 

Thanks.
Giovanni M. G.

Date: Fri, 11 Nov 2011 22:42:07 -0200
Subject: Re: [PySide] FW: FW: Bug Writing to Files (Pyside 1.0.8)
From: rodfer...@gmail.com
To: techto...@gmail.com
CC: gigasparzi...@hotmail.com; pyside@lists.pyside.org

Giovanni,

Try to do a simple application that just have one button with the "sample code" 
that show the bug, and attach it to the list!

regards,
Rodrigo

On Fri, Nov 11, 2011 at 9:48 PM, anatoly techtonik <techto...@gmail.com> wrote:

This bug could be confirmed (or not) faster if the example you've sent

was self-sufficient for copy/paste/run.

--

anatoly t.







On Sat, Nov 12, 2011 at 1:43 AM, Giovanni Max Gaspar

<gigasparzi...@hotmail.com> wrote:

> it's vetor, cuz in portuguese vector = vetor... So, it's right :P . Like i

> said: the same code was working in the last version of pyside (1.0.7). I

> have an "static application" in that version running just fine... I tried to

> install pyside in another machine to check if it was really a bug and i

> confirmed... It's not my machine and it's not my code...

>

> btw, my code is versioned, so i checked if i did any change and etc...

>

> thanks.

> Giovanni M. G.

>

>> From: akaba...@pcug.org.au

>> To: pyside@lists.pyside.org

>> Subject: Re: [PySide] FW: Bug Writing to Files (Pyside 1.0.8)

>> Date: Sat, 12 Nov 2011 09:20:34 +1100

>> CC: gigasparzi...@hotmail.com

>>

>> vectorStatus (not vetorStatus ???)

>>

>> On Friday 11 of November 2011 04:55:40 Giovanni Max Gaspar wrote:

>> > a piece of code:

>> >

>> > ....

>> > outFile =

>> >

>> > QtCore.QFile(self.vetorStatus[self.ui.tabWidget.currentIndex()]['caminhoSalvo'])

>> > action = self.sender()

>> > out = QtCore.QTextStream(outFile)

>> >

>> > codecName = action.data()

>> > out.setCodec(codecName)

>> >

>> > out <<

>> > self.vetorQTextEdit[self.ui.tabWidget.currentIndex()].toPlainText()

>> > ...

>> >

>> > Date: Thu, 10 Nov 2011 09:51:51 -0800

>> > From: tayfun92_kay...@yahoo.com

>> > Subject: Re: [PySide] Bug Writing to Files (Pyside 1.0.8)

>> > To: gigasparzi...@hotmail.com; pyside@lists.pyside.org

>> >

>> > You can share some code snippets so that developers will have an idea of

>> > what's wrong, I think.. From: Giovanni Max Gaspar

>> > <gigasparzi...@hotmail.com>

>> > To: PySide Help <pyside@lists.pyside.org>

>> > Sent: Thursday, November 10, 2011 7:44 PM

>> > Subject: [PySide] Bug Writing to Files (Pyside 1.0.8)

>> >

>> >

>> >

>> >

>> >

>> >

>> >

>> > Just reporting...

>> >

>> > Since I updated pyside from version 1.0.7 to version 1.0.8, my

>> > "applications" stopped writing to files... They just write "blank". I am

>> > using the same source codes and the same computer (running Ubuntu

>> > 10.04).

>> > It could be probably a bug in the new release...

>> >

>> > Thanks.

>> > Giovanni M . G.

>> >

>> >

>> > _______________________________________________

>> > PySide mailing list

>> > PySide@lists.pyside.org

>> > http://lists.pyside.org/listinfo/pyside

>

> _______________________________________________

> PySide mailing list

> PySide@lists.pyside.org

> http://lists.pyside.org/listinfo/pyside

>

>

_______________________________________________

PySide mailing list

PySide@lists.pyside.org

http://lists.pyside.org/listinfo/pyside



-- 
Atenciosamente,
Rodrigo Ferreira de Souza

python -c "print ''.join([chr(154 - ord(c)) for c in 'H+6(13+zT5((51(9z65zG+% 
9zmz(+645(\'+%Z3-91.l7+-'])"
                                          

Attachment: writeToFileExample.rar
Description: application/rar

_______________________________________________
PySide mailing list
PySide@lists.pyside.org
http://lists.pyside.org/listinfo/pyside

Reply via email to