Notices


Reply
Thread Tools
Posts: 3,233 | Thanked: 4,137 times | Joined on May 2011 @ Poland
#1
The old pastebinit has had trouble with pasting. pastebin.com failed with due to the api key, the other ones weren't detected.

So I built the latest version from Ubuntu. What's weird, no paste website is being detected now. ("Unknown website...")
Even a non-optified version fails.

Any ideas why?

/edit: I'm wondering whether it is not a bug in python3.4. Forwarding the info to Aapo
__________________
If you want to support my work, you can donate by PayPal or Flattr

Current project:
Porting SailfishOS onto OnePlus 3

Projects no longer actively developed: here

Last edited by marmistrz; 2015-05-19 at 19:24.
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
Posts: 828 | Thanked: 3,326 times | Joined on Mar 2009
#2
Hi, it is not bug in python-3.4.

As noted that 'invalid api key' is relating old version of pastebinit.

"Unknown website..." means you have config files from older version and they wont work. I tested version from Ubuntu (1.4-4), and forced default address:
defaultPB = "http://paste.ubuntu.com"
and then it works.

---
Default is just default. These works:
Code:
echo hello |  pastebinit -b slexy.org
 http://slexy.org/view/s20bSBSr9B
echo hello |  pastebinit -b paste.pound-python.org
 http://paste.pound-python.org/show/oMaNMNHhaCYGu4cjubhK/
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 1,132 | Thanked: 1,794 times | Joined on Feb 2011 @ The Netherlands
#3
Is python3 really needed or will 2.5 or 2.7 sufficient?

EDIT: As a test I took debian 1.4.4. deb, extraxted it at the apprioate locations.
Changed the shebang from python3 to python2.7 and pasted succesfully to paste.debian.net
Need to test it with 2.5 still...
Edit2: 2.5 fails
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate

Last edited by mr_pingu; 2017-08-10 at 12:54.
 

The Following User Says Thank You to mr_pingu For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:48.