Monday, 2009-11-09

*** chaM has joined #cc00:01
*** chaM has quit IRC00:17
*** JED3 has joined #cc01:22
*** textex has joined #cc02:58
*** textex has left #cc02:58
*** stevel has quit IRC05:46
*** wormsxulla has joined #cc05:47
*** wormsxulla_ has quit IRC05:48
*** sama has joined #cc06:17
*** sama has quit IRC06:33
*** Cr4zyb0y has joined #cc07:52
*** cchelpbot has joined #cc08:13
*** JED3 has quit IRC08:28
*** user01 has joined #cc09:09
*** Cr4zyb0y has left #cc10:19
*** wormsxulla_ has joined #cc11:02
*** wormsxulla has quit IRC11:19
*** michi_ has joined #cc11:38
*** pyrak has joined #cc13:02
*** Saqib has joined #cc13:21
SaqibHi13:21
SaqibAnybody around?13:22
SaqibIs there any posiblity to setup a license in our jurisdiction?13:25
*** pyrak has quit IRC13:27
*** pyrak has joined #cc13:53
SaqibIs there any posiblity to setup a license in our jurisdiction?13:54
*** nkinkade has joined #cc13:54
SaqibAnybody around?13:55
*** tvol has joined #cc14:10
*** Saqib has quit IRC14:14
*** nkinkade has quit IRC14:29
*** nkinkade has joined #cc14:30
*** cchelpbot has joined #cc14:35
*** pyrak has quit IRC14:38
*** pyrak has joined #cc14:42
*** michi_ has quit IRC14:44
*** JoiIto has joined #cc14:59
*** Saqib has joined #cc15:40
*** mecredis has joined #cc15:51
*** mecredis has quit IRC15:56
*** mecredis has joined #cc15:58
*** k9d-win has joined #cc16:02
*** mlinksva has joined #cc16:02
*** pyrak has quit IRC16:07
*** michi_ has joined #cc16:08
*** pyrak has joined #cc16:10
*** k9d-925 has quit IRC16:32
*** Kaetemi has quit IRC16:34
*** JoiIto has quit IRC16:38
*** stevel has joined #cc16:55
*** pyrak has quit IRC16:58
*** k9d-win has quit IRC16:59
*** k9d-925 has joined #cc17:02
*** k9d-win has joined #cc17:07
*** nkinkade has quit IRC17:13
*** nkinkade has joined #cc17:14
*** Saqib has quit IRC17:27
*** mralex has joined #cc17:47
*** sama has joined #cc17:53
*** akozak has joined #cc17:57
*** michi_ has quit IRC18:02
*** nkinkade has quit IRC18:15
*** JED3 has joined #cc18:20
*** Bovinity has joined #cc18:22
*** [mharrison] has joined #cc18:31
*** Saqib has joined #cc18:37
*** johndbritton has joined #cc18:45
*** pvh has joined #cc18:46
SaqibAnybody around now?18:46
paroneayeahiya Saqib18:48
Saqibhay )18:48
paroneayeaI'm actually not familiar with that part of the process, but what jurisdiction are you referring to?18:48
* Saqib 've no expression18:49
SaqibPakistan18:49
SaqibIs there any possibility, if we could setup here?18:49
Saqibparoneayea: You here?18:54
paroneayeayes one second, trying to figure out who I can get an answer on for that type of thing18:54
Saqibhhmm!18:55
paroneayeaI'm trying to not leave your question hanging but that isn't my area :)18:55
SaqibI see, I would appreciate18:56
paroneayeacontact Michelle Thorne: michelle@creativecommons.org18:58
paroneayeahttp://creativecommons.org/about/people/#michellethorne18:58
*** Saqib has left #cc19:00
*** nkinkade has joined #cc19:15
*** jwyg has joined #cc19:15
*** tvol has quit IRC19:15
*** jwyg has quit IRC19:21
*** pyrak has joined #cc19:25
*** pyrak_ has joined #cc19:28
*** pyrak has quit IRC19:29
*** jgay has joined #cc19:30
*** Saqib has joined #cc19:33
*** Saqib has quit IRC19:38
*** Kaetemi has joined #cc19:43
*** michi has joined #cc19:44
*** sama has quit IRC19:49
*** akozak has quit IRC19:49
*** akozak has joined #cc19:50
*** akozak has joined #cc19:51
*** Saqib has joined #cc19:53
*** johndbritton has quit IRC19:57
*** Saqib has quit IRC20:00
*** [mharrison] has quit IRC20:07
*** wormsxulla has joined #cc20:58
*** wormsxulla_ has quit IRC21:03
*** balleyne has joined #cc21:35
*** nkinkade has quit IRC22:02
*** nkinkade has joined #cc22:04
*** balleyne has quit IRC22:13
JED3Bovinity: ping22:17
mralexJED3: pong22:19
JED3would you happen to have a local installation of cc.engine?22:19
mralexJED3: i might have a checkout, but not an operational version22:19
*** pyrak_ has quit IRC22:19
JED3o ok22:19
JED3nm i wont ask for you to build it22:19
mralexi think i tried building it once, but there are incompatibilities on mac22:20
mralexmostly python version, if i recall22:20
JED3i keep getting a mysterious segfault and it persists across several python versions and distributions22:20
*** michi has quit IRC22:24
*** paroneayea has quit IRC22:28
*** paroneayea has joined #cc22:29
akozaknkinkade: I'm having trouble setting an .sh script to run in a crontab22:53
nkinkadeakozak: What's up?22:53
akozakIt keeps telling me no such file or directory22:53
nkinkade./22:54
akozakyea22:54
akozakbut22:54
nkinkade./$script22:54
nkinkadeIs that not it?22:54
akozakfor whatever reason I can't do that with a full path.22:54
akozakthe script is in /var/www/opened.creativecommons.org/www/skins/ahab/opened_scripts/22:54
nkinkadeThat looks like a directory to me.22:55
nkinkadeOh, sorry.22:55
akozak/var/www/opened.creativecommons.org/www/skins/ahab/opened_scripts/update_opened.sh22:55
akozaknkinkade: Do you know why it wouldn't let me run ./var/www/opened.creativecommons.org/www/skins/ahab/opened_scripts/update_opened.sh22:56
akozakcan you not do ./ with a full path?22:56
JED3akozak: no, a dot prepends your cwd22:56
mralexyou can if you're in /22:56
nkinkadeakozak: The error is not from the running of that script, but from some command inside the script.22:56
akozakhaha22:57
nkinkadepython: can't open file 'front_page_boxes.py': [Errno 2] No such file or directory22:57
akozakwas that 3 different answers22:57
akozaknkinkade: it wasn't doing that a min ago22:57
nkinkadeakozak: User error?22:57
nkinkade;-)22:58
JED3akozak: ha, "remove the dot" would be the intersection of those answers22:58
akozakok22:58
akozakthanks JED3. still not working, but I think it's unrelated to my crontab now22:59
nkinkadeakozak: 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
akozakoh ok, it all makes sense now.23:00
akozakI thought the . meant execute script or something, never made that connection.23:01
nkinkadeWell, . also tells bash to source some file into the current environment when it's used alone.23:01
nkinkade$ vi ~/.bashrc23:02
nkinkade<make some edits>23:02
nkinkade$ . ~/.bashrc23:02
mralex(didn't know you could use it instead of 'source')23:02
JED3cat id_rsa.pub | ssh john@a6.creativecommons.org "cat >> .ssh/authorized_keys"  <-- I can't believe I just realized this alternative scp,ssh,cat23:03
mralexlots of learnin' going on around here.23:03
JED3haha23:04
akozakglad my ignorance could enable that23:04
nkinkadea6:~ $ echo "rm -rf /" > /home/akozak/ls23:04
akozakstill doesn't fix my crontab23:04
JED3you get so used to doing things one way that you never take the extra second of thinking more efficiently23:04
akozakhaha23:04
nkinkadeThat's why bash won't look in the current dir for a command. :-)23:04
mralexunless you specifically put it in your $PATH23:05
mralexbut don't do that.23:05
akozakthis is stupid. the update_opened.sh script only works when I'm in the script directory23:06
akozakthat makes no sense to me23:06
akozakif 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
akozakso it shouldn't matter where I am when I run it, since the script is in the same dir as the py file it runs23:07
nkinkadeakozak: Paths in your script will reference the cwd from where the script was run.23:08
nkinkadeThat was poorly phrased ... the scripts cwd is the cwd from where the script was launched.23:08
nkinkade*script's23:08
akozakso 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
nkinkadeakozak: Right.23:09
akozakohhhh23:09
nkinkadeUse cd in your script.23:09
akozakgotcha23:09
akozakthanks nkinkade, everything should be fine now.23:10
nkinkade(or use absolute paths)23:10
akozakright23:10
*** user01 has quit IRC23:17
*** jgay has quit IRC23:28
*** Danny_B has quit IRC23:37
*** Danny_B has joined #cc23:38
*** stevel has quit IRC23:48
*** [mharrison] has joined #cc23:56

Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!