These are chat archives for ushahidi/Community

23rd
Nov 2016
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:22
@ushbot i am trying to run the command pastebinit -b http://paste.ubuntu.com < 18.php as discussed before, but it juts returns http://paste.ubuntu.com not any specific url
Ushbot
@ushbot
Nov 23 2016 12:41
[David Losada, Ushahidi] hm, how about `pastebinit -b paste.ubuntu.com < 18.php` ? note that you have to be in the folder where the 18.php file with logs is present
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:45
yes i am in that folder and i even tried pastebinit -i 18.php -b http://paste.ubuntu.com
let me try this one
nops it is still returning the same
Ushbot
@ushbot
Nov 23 2016 12:47
[David Losada, Ushahidi] nothing like `http://paste.ubuntu.com/23521964/` ?
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:47
Ushbot
@ushbot
Nov 23 2016 12:48
[David Losada, Ushahidi] that’s weird
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:49
all weird things seem to happen to me :(
Ushbot
@ushbot
Nov 23 2016 12:49
[David Losada, Ushahidi] maybe try other sites ? you should get a list by running pastebinit -l
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:50
i did try that and it is working so i know pastbin is installed correctly
i even tried it on pastebin.com
Ushbot
@ushbot
Nov 23 2016 12:51
[David Losada, Ushahidi] mm yea, I think that one requires an api key of some sort
[David Losada, Ushahidi] wouldn’t expect it to just work
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:52
but i think that needs adv key, as it is saying bad api request , invalid dev key ...
yeah
ok let me try any other service
i left out -b alltogether and it still gives me http://paste.ubuntu.com
Ushbot
@ushbot
Nov 23 2016 12:57
[David Losada, Ushahidi] what version of ubuntu were you running again?
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:57
version 14
Ushbot
@ushbot
Nov 23 2016 12:58
[David Losada, Ushahidi] same I’m running, mm..
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:59
i even tried cat 11/18.php | pastebinit after stepping one step down in the directory
Ushbot
@ushbot
Nov 23 2016 12:59
[David Losada, Ushahidi] mm wait, are you using the -i flag?
TheNiqabiCoderMum
@nqcm
Nov 23 2016 12:59
still same issue
yes i tried with the -i flag and just pasting the code that you wrote directly
Ushbot
@ushbot
Nov 23 2016 13:04
[David Losada, Ushahidi] well, then all I can think of is copy-paste the file contents from the terminal window
[David Losada, Ushahidi] I was trying to save you from doing that
[David Losada, Ushahidi] “just" cat 18.php and then copy all of it into pastebin.com or other in your browser
TheNiqabiCoderMum
@nqcm
Nov 23 2016 13:09
i tried pastebinit with another file and it worked, it is just not working for this file. any idea on why it could be?
anything to do with permissions?
Ushbot
@ushbot
Nov 23 2016 13:11
[David Losada, Ushahidi] can you cat the file?
TheNiqabiCoderMum
@nqcm
Nov 23 2016 13:11
yes i can
Ushbot
@ushbot
Nov 23 2016 13:12
[David Losada, Ushahidi] hmm I guess it’s too big then
TheNiqabiCoderMum
@nqcm
Nov 23 2016 13:12
but i tried cat 18.php | pastebinit and it didnt work :)
so how can i copy the contents after i cat it? i am in putty and the right mouse click only pastes
Ushbot
@ushbot
Nov 23 2016 13:16
[David Losada, Ushahidi] i’m afraid if it’s too big it’s just too big for the pastebins
[David Losada, Ushahidi] can you gzip it and put it in a shared folder somewhere?
TheNiqabiCoderMum
@nqcm
Nov 23 2016 13:17
ok i am trying
Ushbot
@ushbot
Nov 23 2016 13:17
[David Losada, Ushahidi] i.e. google drive and then give me a link to download
TheNiqabiCoderMum
@nqcm
Nov 23 2016 13:17
the problem is that it is such a long file that when i cat it, and i scroll up to get to the start to select it putty runs out of scroll space.
i will try with less
Ushbot
@ushbot
Nov 23 2016 13:18
[David Losada, Ushahidi] yea, I’d say it’s just too big to do any of that .. you need file transfer of some sort
TheNiqabiCoderMum
@nqcm
Nov 23 2016 13:19
nops less is also not working as putty
selecting in putty is really tiresome
i will try in a bash emulator
Ushbot
@ushbot
Nov 23 2016 13:22
[David Losada, Ushahidi] gotta go, will be back a bit later
TheNiqabiCoderMum
@nqcm
Nov 23 2016 13:23
ok
TheNiqabiCoderMum
@nqcm
Nov 23 2016 13:54
let me know if i am doing something wrong
Ushbot
@ushbot
Nov 23 2016 15:08
[David Losada, Ushahidi] I see the errors , let me ask around about what they could mean
TheNiqabiCoderMum
@nqcm
Nov 23 2016 19:30
thnx