From: Thomas L. <ta...@ec...> - 2002-10-09 12:37:32
|
On Tue, Oct 08, 2002 at 10:45:31AM +0800, Lars Hansson wrote: > On Tue, 2002-10-08 at 00:36, Thomas Leonard wrote: > > This is for extracting? What about creating archives? > > Same problem. > > > In the details box, what does 'self.src' show up as? Try evaluating > > 'self.src' and 'self.src.fileno()' in the '>>>' box (make sure you have > > the right (bottom?) stack frame selected) and see what number you get. > > self.src: > <open file '/home/lars/whatever.tgz', mode r at 0x24fd4c> > > self.src.fileno(): > 4 OK. Looks like the flush was in the wrong place (it would even flush files only open for reading, which seems to work on Linux but I guess BSD is more fussy). What happens if you try to create a '.tar' rather than a '.tgz'? -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 |