*** chaM has joined #cc | 00:01 | |
*** chaM has quit IRC | 00:17 | |
*** JED3 has joined #cc | 01:22 | |
*** textex has joined #cc | 02:58 | |
*** textex has left #cc | 02:58 | |
*** stevel has quit IRC | 05:46 | |
*** wormsxulla has joined #cc | 05:47 | |
*** wormsxulla_ has quit IRC | 05:48 | |
*** sama has joined #cc | 06:17 | |
*** sama has quit IRC | 06:33 | |
*** Cr4zyb0y has joined #cc | 07:52 | |
*** cchelpbot has joined #cc | 08:13 | |
*** JED3 has quit IRC | 08:28 | |
*** user01 has joined #cc | 09:09 | |
*** Cr4zyb0y has left #cc | 10:19 | |
*** wormsxulla_ has joined #cc | 11:02 | |
*** wormsxulla has quit IRC | 11:19 | |
*** michi_ has joined #cc | 11:38 | |
*** pyrak has joined #cc | 13:02 | |
*** Saqib has joined #cc | 13:21 | |
Saqib | Hi | 13:21 |
---|---|---|
Saqib | Anybody around? | 13:22 |
Saqib | Is there any posiblity to setup a license in our jurisdiction? | 13:25 |
*** pyrak has quit IRC | 13:27 | |
*** pyrak has joined #cc | 13:53 | |
Saqib | Is there any posiblity to setup a license in our jurisdiction? | 13:54 |
*** nkinkade has joined #cc | 13:54 | |
Saqib | Anybody around? | 13:55 |
*** tvol has joined #cc | 14:10 | |
*** Saqib has quit IRC | 14:14 | |
*** nkinkade has quit IRC | 14:29 | |
*** nkinkade has joined #cc | 14:30 | |
*** cchelpbot has joined #cc | 14:35 | |
*** pyrak has quit IRC | 14:38 | |
*** pyrak has joined #cc | 14:42 | |
*** michi_ has quit IRC | 14:44 | |
*** JoiIto has joined #cc | 14:59 | |
*** Saqib has joined #cc | 15:40 | |
*** mecredis has joined #cc | 15:51 | |
*** mecredis has quit IRC | 15:56 | |
*** mecredis has joined #cc | 15:58 | |
*** k9d-win has joined #cc | 16:02 | |
*** mlinksva has joined #cc | 16:02 | |
*** pyrak has quit IRC | 16:07 | |
*** michi_ has joined #cc | 16:08 | |
*** pyrak has joined #cc | 16:10 | |
*** k9d-925 has quit IRC | 16:32 | |
*** Kaetemi has quit IRC | 16:34 | |
*** JoiIto has quit IRC | 16:38 | |
*** stevel has joined #cc | 16:55 | |
*** pyrak has quit IRC | 16:58 | |
*** k9d-win has quit IRC | 16:59 | |
*** k9d-925 has joined #cc | 17:02 | |
*** k9d-win has joined #cc | 17:07 | |
*** nkinkade has quit IRC | 17:13 | |
*** nkinkade has joined #cc | 17:14 | |
*** Saqib has quit IRC | 17:27 | |
*** mralex has joined #cc | 17:47 | |
*** sama has joined #cc | 17:53 | |
*** akozak has joined #cc | 17:57 | |
*** michi_ has quit IRC | 18:02 | |
*** nkinkade has quit IRC | 18:15 | |
*** JED3 has joined #cc | 18:20 | |
*** Bovinity has joined #cc | 18:22 | |
*** [mharrison] has joined #cc | 18:31 | |
*** Saqib has joined #cc | 18:37 | |
*** johndbritton has joined #cc | 18:45 | |
*** pvh has joined #cc | 18:46 | |
Saqib | Anybody around now? | 18:46 |
paroneayea | hiya Saqib | 18:48 |
Saqib | hay ) | 18:48 |
paroneayea | I'm actually not familiar with that part of the process, but what jurisdiction are you referring to? | 18:48 |
* Saqib 've no expression | 18:49 | |
Saqib | Pakistan | 18:49 |
Saqib | Is there any possibility, if we could setup here? | 18:49 |
Saqib | paroneayea: You here? | 18:54 |
paroneayea | yes one second, trying to figure out who I can get an answer on for that type of thing | 18:54 |
Saqib | hhmm! | 18:55 |
paroneayea | I'm trying to not leave your question hanging but that isn't my area :) | 18:55 |
Saqib | I see, I would appreciate | 18:56 |
paroneayea | contact Michelle Thorne: michelle@creativecommons.org | 18:58 |
paroneayea | http://creativecommons.org/about/people/#michellethorne | 18:58 |
*** Saqib has left #cc | 19:00 | |
*** nkinkade has joined #cc | 19:15 | |
*** jwyg has joined #cc | 19:15 | |
*** tvol has quit IRC | 19:15 | |
*** jwyg has quit IRC | 19:21 | |
*** pyrak has joined #cc | 19:25 | |
*** pyrak_ has joined #cc | 19:28 | |
*** pyrak has quit IRC | 19:29 | |
*** jgay has joined #cc | 19:30 | |
*** Saqib has joined #cc | 19:33 | |
*** Saqib has quit IRC | 19:38 | |
*** Kaetemi has joined #cc | 19:43 | |
*** michi has joined #cc | 19:44 | |
*** sama has quit IRC | 19:49 | |
*** akozak has quit IRC | 19:49 | |
*** akozak has joined #cc | 19:50 | |
*** akozak has joined #cc | 19:51 | |
*** Saqib has joined #cc | 19:53 | |
*** johndbritton has quit IRC | 19:57 | |
*** Saqib has quit IRC | 20:00 | |
*** [mharrison] has quit IRC | 20:07 | |
*** wormsxulla has joined #cc | 20:58 | |
*** wormsxulla_ has quit IRC | 21:03 | |
*** balleyne has joined #cc | 21:35 | |
*** nkinkade has quit IRC | 22:02 | |
*** nkinkade has joined #cc | 22:04 | |
*** balleyne has quit IRC | 22:13 | |
JED3 | Bovinity: ping | 22:17 |
mralex | JED3: pong | 22:19 |
JED3 | would you happen to have a local installation of cc.engine? | 22:19 |
mralex | JED3: i might have a checkout, but not an operational version | 22:19 |
*** pyrak_ has quit IRC | 22:19 | |
JED3 | o ok | 22:19 |
JED3 | nm i wont ask for you to build it | 22:19 |
mralex | i think i tried building it once, but there are incompatibilities on mac | 22:20 |
mralex | mostly python version, if i recall | 22:20 |
JED3 | i keep getting a mysterious segfault and it persists across several python versions and distributions | 22:20 |
*** michi has quit IRC | 22:24 | |
*** paroneayea has quit IRC | 22:28 | |
*** paroneayea has joined #cc | 22:29 | |
akozak | nkinkade: I'm having trouble setting an .sh script to run in a crontab | 22:53 |
nkinkade | akozak: What's up? | 22:53 |
akozak | It keeps telling me no such file or directory | 22:53 |
nkinkade | ./ | 22:54 |
akozak | yea | 22:54 |
akozak | but | 22:54 |
nkinkade | ./$script | 22:54 |
nkinkade | Is that not it? | 22:54 |
akozak | for whatever reason I can't do that with a full path. | 22:54 |
akozak | the script is in /var/www/opened.creativecommons.org/www/skins/ahab/opened_scripts/ | 22:54 |
nkinkade | That looks like a directory to me. | 22:55 |
nkinkade | Oh, sorry. | 22:55 |
akozak | /var/www/opened.creativecommons.org/www/skins/ahab/opened_scripts/update_opened.sh | 22:55 |
akozak | nkinkade: Do you know why it wouldn't let me run ./var/www/opened.creativecommons.org/www/skins/ahab/opened_scripts/update_opened.sh | 22:56 |
akozak | can you not do ./ with a full path? | 22:56 |
JED3 | akozak: no, a dot prepends your cwd | 22:56 |
mralex | you can if you're in / | 22:56 |
nkinkade | akozak: The error is not from the running of that script, but from some command inside the script. | 22:56 |
akozak | haha | 22:57 |
nkinkade | python: can't open file 'front_page_boxes.py': [Errno 2] No such file or directory | 22:57 |
akozak | was that 3 different answers | 22:57 |
akozak | nkinkade: it wasn't doing that a min ago | 22:57 |
nkinkade | akozak: User error? | 22:57 |
nkinkade | ;-) | 22:58 |
JED3 | akozak: ha, "remove the dot" would be the intersection of those answers | 22:58 |
akozak | ok | 22:58 |
akozak | thanks JED3. still not working, but I think it's unrelated to my crontab now | 22:59 |
nkinkade | akozak: To clarify what I meant by "./" ... bash will not look inside the current directory for a script as a safety measure, so if you are trying to run a script that is in your current directly you must prepend ./, which is an explicit relative path to the script. | 23:00 |
nkinkade | . is just synonym for the cwd, but you may have already known that. | 23:00 |
akozak | oh ok, it all makes sense now. | 23:00 |
akozak | I thought the . meant execute script or something, never made that connection. | 23:01 |
nkinkade | Well, . also tells bash to source some file into the current environment when it's used alone. | 23:01 |
nkinkade | $ vi ~/.bashrc | 23:02 |
nkinkade | <make some edits> | 23:02 |
nkinkade | $ . ~/.bashrc | 23:02 |
mralex | (didn't know you could use it instead of 'source') | 23:02 |
JED3 | cat id_rsa.pub | ssh john@a6.creativecommons.org "cat >> .ssh/authorized_keys" <-- I can't believe I just realized this alternative scp,ssh,cat | 23:03 |
mralex | lots of learnin' going on around here. | 23:03 |
JED3 | haha | 23:04 |
akozak | glad my ignorance could enable that | 23:04 |
nkinkade | a6:~ $ echo "rm -rf /" > /home/akozak/ls | 23:04 |
akozak | still doesn't fix my crontab | 23:04 |
JED3 | you get so used to doing things one way that you never take the extra second of thinking more efficiently | 23:04 |
akozak | haha | 23:04 |
nkinkade | That's why bash won't look in the current dir for a command. :-) | 23:04 |
mralex | unless you specifically put it in your $PATH | 23:05 |
mralex | but don't do that. | 23:05 |
akozak | this is stupid. the update_opened.sh script only works when I'm in the script directory | 23:06 |
akozak | that makes no sense to me | 23:06 |
akozak | if a file is referenced in the script without any directory information, shouldn't it just assume the same dir that the script is in? | 23:06 |
akozak | so it shouldn't matter where I am when I run it, since the script is in the same dir as the py file it runs | 23:07 |
nkinkade | akozak: Paths in your script will reference the cwd from where the script was run. | 23:08 |
nkinkade | That was poorly phrased ... the scripts cwd is the cwd from where the script was launched. | 23:08 |
nkinkade | *script's | 23:08 |
akozak | so if I'm in ~/ and I run a script in /var/www/, a line like python generate.py would look for generate.py in ~/ | 23:09 |
nkinkade | akozak: Right. | 23:09 |
akozak | ohhhh | 23:09 |
nkinkade | Use cd in your script. | 23:09 |
akozak | gotcha | 23:09 |
akozak | thanks nkinkade, everything should be fine now. | 23:10 |
nkinkade | (or use absolute paths) | 23:10 |
akozak | right | 23:10 |
*** user01 has quit IRC | 23:17 | |
*** jgay has quit IRC | 23:28 | |
*** Danny_B has quit IRC | 23:37 | |
*** Danny_B has joined #cc | 23:38 | |
*** stevel has quit IRC | 23:48 | |
*** [mharrison] has joined #cc | 23:56 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!