Description of problem: I've try paste build.log from mock. Very big log. [alex@alex-desktop]~% fpaste /var/lib/mock/fedora-18-x86_64/result/build.log WARNING: your paste size (1751.6KiB) is very large and may be rejected by the server. A pastebin is NOT a file hosting service! Uploading (1751.6KiB)... Traceback (most recent call last): File "/usr/bin/fpaste", line 414, in <module> main() File "/usr/bin/fpaste", line 385, in main url = paste(text, options) File "/usr/bin/fpaste", line 115, in paste response = json.loads(f.read()) File "/usr/lib64/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Version-Release number of selected component: fpaste-0.3.7.1-4.fc18 Additional info: cmdline: python /usr/bin/fpaste /var/lib/mock/fedora-18-x86_64/result/build.log dso_list: python-libs-2.7.3-13.fc18.x86_64 executable: /usr/bin/fpaste kernel: 3.6.10-5.fc18.x86_64 uid: 1000
Created attachment 665631 [details] File: backtrace
Created attachment 665632 [details] File: core_backtrace
Created attachment 665633 [details] File: environ
Description of problem: ifconfig | fpaste -d "Test" Is all that I did..... Version-Release number of selected component: fpaste-0.3.7.1-8.fc18 Additional info: cmdline: python /usr/bin/fpaste -d Test dso_list: python-libs-2.7.3-13.fc18.x86_64 executable: /usr/bin/fpaste kernel: 3.8.9-200.fc18.x86_64 uid: 1001 ureports_counter: 1
$ fpaste -n zbyszek -o --sysinfo Gathering system info...........................Uploading (18.6KiB)... 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) File "/usr/bin/fpaste", line 127, in paste response = json.loads(f.read()) File "/usr/lib64/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
Hi, Thanks for the bug report. Looks like somethings broken server side. I can't paste *anything* to the fedora paste instances, but pasting to sayak's instance works well enough: [ankur@ankur-pc fpaste-0.3.7.1(f18 %=)]$ python fpaste -U http://sites.sayakbanerjee.com/paste/ --sysinfo Gathering system info............................Uploading (14.2KiB)... http://sites.sayakbanerjee.com/paste/1252/36728470 [ankur@ankur-pc fpaste-0.3.7.1(f18 %=)]$ fpaste -U http://sites.sayakbanerjee.com/paste/ --sysinfo Gathering system info............................Uploading (14.2KiB)... http://sites.sayakbanerjee.com/paste/1253/13672847 [ankur@ankur-pc fpaste-0.3.7.1(f18 %=)]$ ifconfig | fpaste -U http://sites.sayakbanerjee.com/paste/ Uploading (1.4KiB)... http://sites.sayakbanerjee.com/paste/1254/36728479 [ankur@ankur-pc fpaste-0.3.7.1(f18 %=)]$ dmesg | fpaste -U http://sites.sayakbanerjee.com/paste/ -d "test" Uploading (131.7KiB)... http://sites.sayakbanerjee.com/paste/1255/36728481 [ankur@ankur-pc fpaste-0.3.7.1(f18 %=)]$ I'll get in touch with the infra team and see if they've changed anything. Leaving the bug open for the time being. I'll update it with more info as I get it. Thanks, Warm regards, Ankur
Works with https too: [ankur@ankur-pc ~]$ fpaste --sysinfo -U https://paste.fedoraproject.org/ Gathering system info............................Uploading (14.2KiB)... http://ur1.ca/dlq0b -> https://paste.fedoraproject.org/9361/67285071 [ankur@ankur-pc ~]$ I'm going to go file a ticket with infra. Please use https for the time being, until it's fixed. Thanks, Ankur
this issue was caused my a change on the server side to always require ssl connections. ;( I've reverted that change for now and we will look at rolling that out in a better way soon.
Thank you for the bug report everyone. We've tested it and it works now. Closing as errata since it wasn't really an issue in the package. Thanks, Ankur