Hey List,
can someone just slightly python savy help me confirm some strange behavior i'm seeing from red hat's list server? Using the following code in Python: In [8]: history 1: import urllib 2: urlretrieve('https://www.redhat.com/archives/fedora-infrastructure-list/2008-September.tx...', '2008-September.txt.gz') 3: urllib.urlretrieve('https://www.redhat.com/archives/fedora-infrastructure-list/2008-September.tx...', '2008-September.txt.gz') 4: f = open('2008-September.txt.gz') 5: foo = f.read() 6: foo 7: print foo 17: b = urllib.urlopen('https://www.redhat.com/archives/fedora-infrastructure-list/2008-September.tx...') 18: bar = b.read() 19: print b 20: print bar
I only get a single message from the server.
Whereas, if i were to open that link in Firefox, i get an entire mbox full of emails. Oddly enough, the files also claim to be gzipped by virtue of their extensions, although they are clearly not, based on the most cursory inspection.
Any ideas or clues, before i go complaining loudly to RH IT?
-Yaakov
Max Spevack wrote:
On Thu, 12 Feb 2009, Yaakov Nemoy wrote:
Any ideas or clues, before i go complaining loudly to RH IT?
I'd ask on tech-list@redhat.com That list is perfect for these sorts of things.
--Max _______________________________________________ ekg mailing list ekg@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/ekg
That's not a public list :p
Try fedora-devel?
It is most likely a bug in urlgrabber, one I think I heard other folks talking about when trying to do similar things (can't remember who had a script for fetching them -- lmacken?)
--Michael