[opensuse] susepaste - Paste failed :-( ??
All, I've used susepaste for a while and have had no issues. Today it is: Paste failed :-( Anyone else seeing this? Example: $ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-( -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 14/09/2019 04.00, David C. Rankin wrote:
All,
I've used susepaste for a while and have had no issues. Today it is:
Paste failed :-(
Anyone else seeing this? Example:
$ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-(
Yes, for some months. But at least now it says failed, before it failed but claimed success and gave me a link, that was broken. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.1 (Legolas))
On 14/09/2019 04.00, David C. Rankin wrote:
All,
I've used susepaste for a while and have had no issues. Today it is: Paste failed :-(
Anyone else seeing this? Example: $ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-(
Yes, for some months. But at least now it says failed, before it failed but claimed success and gave me a link, that was broken. Problem is now the other way around: It says Paste Failed, and if one looks here: https://paste.opensuse.org/lists
Op zaterdag 14 september 2019 04:17:58 CEST schreef Carlos E. R.: they show up. David's 2 attempts were about Harry and Sally :D -- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/14/2019 06:09 AM, Knurpht-openSUSE wrote:
On 14/09/2019 04.00, David C. Rankin wrote:
All,
I've used susepaste for a while and have had no issues. Today it is: Paste failed :-(
Anyone else seeing this? Example: $ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-(
Yes, for some months. But at least now it says failed, before it failed but claimed success and gave me a link, that was broken. Problem is now the other way around: It says Paste Failed, and if one looks here: https://paste.opensuse.org/lists
Op zaterdag 14 september 2019 04:17:58 CEST schreef Carlos E. R.: they show up. David's 2 attempts were about Harry and Sally :D
So the pastes actually make it on the system, but we do not get the url back, but instead get "Paste failed :-(" -- that's strange. Back-story, the title "HarrySally" and "HarrynSally" really isn't about a girl named Sally that is hairy or any quixotic encounter between the two, but rather a sliding-window problem a kid was having problems figuring out when both Harry and Sally first lived in the same city given a enum containing the cities and an array for each holding adjacent pairs of years lived in what city. For such short snippets of code, susepaste is a perfect tool to quickly post from the command line and forward the url. With it being a Known problem: https://progress.opensuse.org/issues/56189, is there any sense when it may be resolved? Anyone with inside info there? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
David C. Rankin composed on 2019-09-14 13:44 (UTC-0500):
With it being a Known problem: https://progress.opensuse.org/issues/56189, is there any sense when it may be resolved? Anyone with inside info there?
IME when a report is made on POO and a fix doesn't queue up within a day or two, or at least within a week, a solution usually requires involvement from whoever the SLE mothership's web admins happen to be at the time, and/or new infrastructure yet to be brought online to replace the mothership's. The power available to opensuse's volunteer admins is typically limited. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 14-9-2019 20:44, David C. Rankin wrote:
On 09/14/2019 06:09 AM, Knurpht-openSUSE wrote:
On 14/09/2019 04.00, David C. Rankin wrote:
All,
I've used susepaste for a while and have had no issues. Today it is: Paste failed :-(
Anyone else seeing this? Example: $ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-( Yes, for some months. But at least now it says failed, before it failed but claimed success and gave me a link, that was broken. Problem is now the other way around: It says Paste Failed, and if one looks here: https://paste.opensuse.org/lists
Op zaterdag 14 september 2019 04:17:58 CEST schreef Carlos E. R.: they show up. David's 2 attempts were about Harry and Sally :D
So the pastes actually make it on the system, but we do not get the url back, but instead get "Paste failed :-(" -- that's strange.
Back-story, the title "HarrySally" and "HarrynSally" really isn't about a girl named Sally that is hairy or any quixotic encounter between the two, but rather a sliding-window problem a kid was having problems figuring out when both Harry and Sally first lived in the same city given a enum containing the cities and an array for each holding adjacent pairs of years lived in what city. For such short snippets of code, susepaste is a perfect tool to quickly post from the command line and forward the url.
With it being a Known problem: https://progress.opensuse.org/issues/56189, is there any sense when it may be resolved? Anyone with inside info there?
'susepaste' is a script. Doing the following changes (changing http to https) seems to solve the problem: luuk@opensuse1:~/bin> diff susepaste /usr/bin/susepaste 120,121c120,121 < if expr "$URL" : "^https://susepaste.org/[0-9a-f]\+" > /dev/null; then < ID="`echo "$URL" | sed 's|^https://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" ---
if expr "$URL" : "^http://susepaste.org/[0-9a-f]\+" > /dev/null; then ID="`echo "$URL" | sed 's|^http://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" 123,124c123,124 < echo " https://susepaste.org/$ID" < echo " https://paste.opensuse.org/$ID"
echo " http://susepaste.org/$ID" echo " http://paste.opensuse.org/$ID" 126c126 < echo "https://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD
echo "http://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD luuk@opensuse1:~/bin>
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/09/2019 10.40, Luuk wrote:
'susepaste' is a script.
Doing the following changes (changing http to https) seems to solve the problem:
luuk@opensuse1:~/bin> diff susepaste /usr/bin/susepaste 120,121c120,121 < if expr "$URL" : "^https://susepaste.org/[0-9a-f]\+" > /dev/null; then < ID="`echo "$URL" | sed 's|^https://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" ---
if expr "$URL" : "^http://susepaste.org/[0-9a-f]\+" > /dev/null; then ID="`echo "$URL" | sed 's|^http://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" 123,124c123,124 < echo " https://susepaste.org/$ID" < echo " https://paste.opensuse.org/$ID"
echo " http://susepaste.org/$ID" echo " http://paste.opensuse.org/$ID" 126c126 < echo "https://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD
echo "http://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD luuk@opensuse1:~/bin>
There is another one on line 116: URL="` curl -v -F "$TYPE=$INPUT" -F "title=$TITLE" -F "expire=$EXPIRE" \ -F "name=$NICK" -F "submit=submit" -F "lang=$SYNTAX" \ $API_KEY \ http://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `" Should we change it? -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
* Carlos E. R. <robin.listas@telefonica.net> [09-15-19 09:00]:
On 15/09/2019 10.40, Luuk wrote:
'susepaste' is a script.
Doing the following changes (changing http to https) seems to solve the problem:
luuk@opensuse1:~/bin> diff susepaste /usr/bin/susepaste 120,121c120,121 < if expr "$URL" : "^https://susepaste.org/[0-9a-f]\+" > /dev/null; then < ID="`echo "$URL" | sed 's|^https://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" ---
if expr "$URL" : "^http://susepaste.org/[0-9a-f]\+" > /dev/null; then ID="`echo "$URL" | sed 's|^http://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" 123,124c123,124 < echo " https://susepaste.org/$ID" < echo " https://paste.opensuse.org/$ID"
echo " http://susepaste.org/$ID" echo " http://paste.opensuse.org/$ID" 126c126 < echo "https://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD
echo "http://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD luuk@opensuse1:~/bin>
There is another one on line 116:
URL="` curl -v -F "$TYPE=$INPUT" -F "title=$TITLE" -F "expire=$EXPIRE" \ -F "name=$NICK" -F "submit=submit" -F "lang=$SYNTAX" \ $API_KEY \ http://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `"
Should we change it?
on Tw, susepaste-0.6-2.1.noarch grep "http:" /usr/bin/susepaste # along with this program. If not, see <http://www.gnu.org/licenses/>. # grep "http:" /usr/bin/susepaste-screenshot # along with this program. If not, see <http://www.gnu.org/licenses/>. # http://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `" if expr "$URL" : "^http://susepaste.org/[0-9a-f]\+" > /dev/null; then ID="`echo "$URL" | sed 's|^http://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" http://susepaste.org/$ID http://paste.opensuse.org/$ID" echo "http://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15-9-2019 14:58, Carlos E. R. wrote:
On 15/09/2019 10.40, Luuk wrote:
'susepaste' is a script.
Doing the following changes (changing http to https) seems to solve the problem:
luuk@opensuse1:~/bin> diff susepaste /usr/bin/susepaste 120,121c120,121 < if expr "$URL" : "^https://susepaste.org/[0-9a-f]\+" > /dev/null; then < ID="`echo "$URL" | sed 's|^https://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" ---
if expr "$URL" : "^http://susepaste.org/[0-9a-f]\+" > /dev/null; then ID="`echo "$URL" | sed 's|^http://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" 123,124c123,124 < echo " https://susepaste.org/$ID" < echo " https://paste.opensuse.org/$ID"
echo " http://susepaste.org/$ID" echo " http://paste.opensuse.org/$ID" 126c126 < echo "https://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD
echo "http://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD luuk@opensuse1:~/bin>
There is another one on line 116:
URL="` curl -v -F "$TYPE=$INPUT" -F "title=$TITLE" -F "expire=$EXPIRE" \ -F "name=$NICK" -F "submit=submit" -F "lang=$SYNTAX" \ $API_KEY \ http://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `"
Should we change it?
Not, or not yet, needed to change this line. Because the current host accepts traffice in port 80 (http) and 443 (https) The response from susepaste defaults to the https address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, Am Samstag, 14. September 2019, 13:09:20 CEST schrieb Knurpht-openSUSE:
Op zaterdag 14 september 2019 04:17:58 CEST schreef Carlos E. R.:
On 14/09/2019 04.00, David C. Rankin wrote:
I've used susepaste for a while and have had no issues. Today it is: Paste failed :-(
Anyone else seeing this? Example: $ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-(
Yes, for some months. But at least now it says failed, before it failed but claimed success and gave me a link, that was broken.
Problem is now the other way around: It says Paste Failed, and if one looks here: https://paste.opensuse.org/lists they show up. David's 2 attempts were about Harry and Sally :D
Some debugging [1] shows that the server returns the "Location" header in lowercase, and therefore the sed doesn't match anymore. The workaround is to slightly edit the susepaste script - replace the line https://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `" with https://susepaste.org 2>&1 | sed -n 's|<\ [lL]ocation:\ ||p' `" (the actual change is to replace "L" with "[lL]" in the sed command) This will allow both uppercase "Location" and accidently-lowercase "location" headers to match. Note that this is only a workaround - AFAIK the "Location" header is expected to have an uppercase "L", therefore it should be fixed on the server side. I updated https://progress.opensuse.org/issues/56189 with some more details. Regards, Christian Boltz [1] what a big word for adding an echo and commenting out a sed command ;-) -- [ X-Mailer: Microsoft Outlook Express 6.00.2800.1106 ] Damit ist deinem Kmail der Preis für die gruseligste Halloween-Maske dieses Jahres sicher. [Andreas Koenecke zu Martin Mewes in suse-linux] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15-9-2019 18:18, Christian Boltz wrote:
Hello,
Am Samstag, 14. September 2019, 13:09:20 CEST schrieb Knurpht-openSUSE:
On 14/09/2019 04.00, David C. Rankin wrote:
I've used susepaste for a while and have had no issues. Today it is: Paste failed :-(
Anyone else seeing this? Example: $ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-( Yes, for some months. But at least now it says failed, before it failed but claimed success and gave me a link, that was broken. Problem is now the other way around: It says Paste Failed, and if one looks here: https://paste.opensuse.org/lists
Op zaterdag 14 september 2019 04:17:58 CEST schreef Carlos E. R.: they show up. David's 2 attempts were about Harry and Sally :D Some debugging [1] shows that the server returns the "Location" header in lowercase, and therefore the sed doesn't match anymore.
The workaround is to slightly edit the susepaste script - replace the line
https://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `"
with
https://susepaste.org 2>&1 | sed -n 's|<\ [lL]ocation:\ ||p' `"
(the actual change is to replace "L" with "[lL]" in the sed command)
This will allow both uppercase "Location" and accidently-lowercase "location" headers to match.
Note that this is only a workaround - AFAIK the "Location" header is expected to have an uppercase "L", therefore it should be fixed on the server side.
I updated https://progress.opensuse.org/issues/56189 with some more details.
Regards,
Christian Boltz
[1] what a big word for adding an echo and commenting out a sed command ;-)
The 'location' in stead of 'Location' seems to only happen when posting to HTTPS, posting to HTTP still return 'Location'. Thanks for putting an update on this issue (https://progress.opensuse.org/issues/56189) ! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 14.09.19 um 04:00 schrieb David C. Rankin:
All,
I've used susepaste for a while and have had no issues. Today it is:
Paste failed :-(
Anyone else seeing this? Example:
$ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-(
The same happend to me yesterday. I had to use the web interface and even there i had to paste the contents of my file in the textbox there. Regards Hagen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
David C. Rankin composed on 2019-09-13 21:00 (UTC-0500):
I've used susepaste for a while and have had no issues. Today it is:
Paste failed :-(
Anyone else seeing this? Example:
$ susepaste -n "David C Rankin" -t "HarrySally" -e 40320 -f c ~/dev/src-c/tmp/debug/harrysally.c Paste failed :-(
Known problem: https://progress.opensuse.org/issues/56189 -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Carlos E. R.
-
Christian Boltz
-
David C. Rankin
-
Felix Miata
-
Hagen Buliwyf
-
Knurpht-openSUSE
-
Luuk
-
Patrick Shanahan