Bug 962553
Summary: | [abrt] fpaste-0.3.7.1-8.fc18: fpaste:414:main:TypeError: 'bool' object is not iterable | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexei Panov <me> | ||||||||
Component: | fpaste | Assignee: | Ankur Sinha (FranciscoD) <sanjay.ankur> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 20 | CC: | a.barghigiani, alex, athmanem, dan.mashal, germano.massullo, ignatenko, metherid, mhroncok, mikeus, robatino, sanjay.ankur | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | abrt_hash:c73ba326a629b4339925f11ee62dd087d07dc4ac | ||||||||||
Fixed In Version: | fpaste-0.3.7.1-11.fc20 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2014-01-25 02:22:48 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Alexei Panov
2013-05-13 20:51:57 UTC
Created attachment 747440 [details]
File: backtrace
Created attachment 747441 [details]
File: core_backtrace
Created attachment 747442 [details]
File: environ
Hi Alexei, Thank you for your bug report. I can't seem to reproduce this. Can you? I just pasted a python file and it worked fine. Thanks, Ankur Hi Ankur. No. I can not reproduce the bug. I have tried several times, different scripts. Hi Alexei, I'm closing it for the time being. Hopefully it was a one time thing. Please file another if it happens again :) Thanks again, Warm regards, Ankur Got this when running " qemu-kvm -device ? |fpaste" No text to send. Traceback (most recent call last): File "/usr/bin/fpaste", line 447, in <module> main() File "/usr/bin/fpaste", line 414, in main [url, short_url] = paste(text, options) TypeError: 'bool' object is not iterable Hi Ankur, The issue reported by Dan is 100% reproducible, I thought it was the content of the paste that creates the issue (unparseable json), but it's not, it seems to happen only when you do redirects: ]$ qemu-kvm -device ? 2> f.txt ]$ ./fpaste f.txt Uploading (5.7KiB)... http://ur1.ca/e2e7t -> http://paste.fedoraproject.org/14847/13696896 The issue seems to be related to the fact that 'qemu-kvm -device ?' outputs to stderr, because the following command works correctly: ]$ qemu-kvm -device ? 2>&1 | fpaste Uploading (5.7KiB)... http://ur1.ca/e2eae -> http://paste.fedoraproject.org/14848/36969007 Yep. I found this too. Ideally fpaste should just exit with "No text to send". Not sure why it crashes. We'll need to look into this. If you do not have a network connection you will also hit this TypeError exception: fpaste --sysinfo Gathering system info..........................Uploading (15.1KiB)... Error Uploading: [Errno -2] Name or service not known Traceback (most recent call last): File "/usr/bin/fpaste", line 447, in <module> main() File "/usr/bin/fpaste", line 414, in main [url, short_url] = paste(text, options) TypeError: 'bool' object is not iterable I got this in F19 x86_64 when attempting to fpaste a 0-byte file. [andre@compaq-pc tmp]$ fpaste ks.cfg No text to send. Traceback (most recent call last): File "/usr/bin/fpaste", line 447, in <module> main() File "/usr/bin/fpaste", line 414, in main [url, short_url] = paste(text, options) TypeError: 'bool' object is not iterable [andre@compaq-pc tmp]$ If you need more use cases, I can reproduce it $ fpaste -i WARNING: your paste looks a lot like binary data instead of text. Send binary data anyway? [y/N]: n Traceback (most recent call last): File "/usr/bin/fpaste", line 447, in <module> main() File "/usr/bin/fpaste", line 414, in main [url, short_url] = paste(text, options) TypeError: 'bool' object is not iterable I ran into this error when I was trying to solve some audio problems. I run: $ alsactl init | fpaste Found hardware: "HDA-Intel" "Realtek ALC883" "HDA:10ec0883,1043829f,00100002" "0x1043" "0x829f" Hardware is initialized using a generic method No text to send. Traceback (most recent call last): File "/usr/bin/fpaste", line 447, in <module> main() File "/usr/bin/fpaste", line 414, in main [url, short_url] = paste(text, options) TypeError: 'bool' object is not iterable This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. fpaste-0.3.7.1-10.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/fpaste-0.3.7.1-10.fc20 fpaste-0.3.7.1-10.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fpaste-0.3.7.1-10.fc19 Package fpaste-0.3.7.1-11.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fpaste-0.3.7.1-11.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1440/fpaste-0.3.7.1-11.fc19 then log in and leave karma (feedback). Works for me. Thanks. I've leave karma. fpaste-0.3.7.1-11.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. fpaste-0.3.7.1-11.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |