*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** DTRemenak has joined #tp | 01:08 | |
*** llnz has joined #tp | 04:14 | |
*** nash has joined #tp | 04:26 | |
*** nash has quit IRC | 07:45 | |
*** llnz has quit IRC | 08:14 | |
*** llnz has joined #tp | 08:24 | |
*** null_000 has joined #tp | 09:54 | |
* llnz wanders off | 10:37 | |
llnz | later all | 10:37 |
---|---|---|
*** llnz has quit IRC | 10:38 | |
*** null_000 has quit IRC | 11:12 | |
ezod | tansell: ping | 14:09 |
*** verhoevenv has joined #tp | 14:10 | |
*** Agon has joined #tp | 15:26 | |
*** null_000 has joined #tp | 15:53 | |
null_000 | hi all | 15:54 |
*** null_000 has quit IRC | 16:39 | |
Agon | C++ float can save 33/99 ? | 17:05 |
Agon | ah nvm, int x = 1; int y = 10; float f = y/x; doesnt work but float f = 1.0F * y/x; works | 17:12 |
Agon | Got me 2 hours to get that | 17:12 |
alanp | crap | 17:55 |
alanp | missed null D= | 17:55 |
*** StupidIncarnate has joined #tp | 19:11 | |
StupidIncarnate | does the python client on github need any submodules? | 19:45 |
ezod | i haven't explicitly checked it out, but i would assume so | 20:16 |
StupidIncarnate | ya, it does. I'm still having problems running it though | 20:17 |
StupidIncarnate | something to do with the libs | 20:17 |
*** llnz has joined #tp | 20:20 | |
llnz | morning all | 20:21 |
StupidIncarnate | morning | 20:23 |
llnz | brb | 20:23 |
*** llnz has quit IRC | 20:23 | |
*** llnz has joined #tp | 20:30 | |
* llnz is back | 20:30 | |
StupidIncarnate | on github, if I want to checkout the tp04 branch, do I have to fork that branch and check it out that way or just fork the main branch and change it through that | 20:31 |
StupidIncarnate | ? | 20:31 |
*** Agon has quit IRC | 20:36 | |
ezod | StupidIncarnate: i think it makes sense to fork the tp04 branch | 20:44 |
StupidIncarnate | k | 20:44 |
StupidIncarnate | bah, can't launch it. how do I update the libs installed on linux with the tp04 versions? | 21:23 |
StupidIncarnate | it sounds ilke they're not on aptitude? | 21:23 |
ezod | the libs as in libtpproto-py and libtpclient-py? | 21:40 |
ezod | use submodules | 21:41 |
StupidIncarnate | the client's linking to the /usr/lib/pytmodule blah blah tp folder | 21:44 |
StupidIncarnate | does that mean I can just overwrite with what I have? | 21:45 |
StupidIncarnate | because teh only submodule it seems to come with is schemepy | 21:45 |
StupidIncarnate | i'm not sure if teh libs have other folders stored somewhere | 21:49 |
ezod | what is likely happening is that requirements.py is detecting the installed version | 21:51 |
ezod | and accepting it | 21:51 |
ezod | if you uninstall those it should check out the appropriate versions of the submodules | 21:51 |
StupidIncarnate | how do I uninstall the libs? | 21:52 |
ezod | how did you install them? | 21:52 |
ezod | if they're in /usr/lib you either installed it through your distro package manager or through easy_install, i would surmise | 21:53 |
StupidIncarnate | i don't remember. They may have installed when I installed the python client a while ago | 21:53 |
ezod | through package manager? | 21:53 |
StupidIncarnate | not sure | 21:54 |
ezod | well you should be able to check, no? | 21:54 |
ezod | what distro? | 21:54 |
StupidIncarnate | karma | 21:55 |
StupidIncarnate | tried removing with apt but can't find it | 21:55 |
ezod | karma? | 21:55 |
ezod | oh, ubuntu? | 21:55 |
llnz | StupidIncarnate: dpkg -S /usr/lib/path/to/file | 21:55 |
llnz | tells you what package the file comes from (if any) | 21:56 |
ezod | llnz: tells you the owner? | 21:56 |
ezod | yeah, that ;) | 21:56 |
StupidIncarnate | not found | 21:56 |
StupidIncarnate | means I can delete it? | 21:56 |
ezod | yeah i think that's all you can do | 21:57 |
ezod | if you used easy_install afaik there's no automated uninstall | 21:58 |
StupidIncarnate | whats easy_install? aptitude? | 21:58 |
ezod | it's from python setuptools | 21:58 |
ezod | not related to your distro package manager | 21:58 |
StupidIncarnate | hmm, don't remember | 21:58 |
ezod | well if it's not in apt you should be ok to delete it without making anything angry | 21:59 |
ezod | get the .egg and the directory in lib | 21:59 |
*** Agon has joined #tp | 22:00 | |
StupidIncarnate | the .egg? | 22:00 |
ezod | so once that's done requirements.py should checkout the submodules for you | 22:01 |
ezod | if there is one | 22:02 |
ezod | egg-info | 22:02 |
ezod | oh weird | 22:02 |
StupidIncarnate | if i do status, it only list schemepy | 22:02 |
StupidIncarnate | git submodule status* | 22:03 |
StupidIncarnate | do i have to do something else? | 22:03 |
ezod | no | 22:05 |
ezod | well, yes | 22:05 |
ezod | run tpclient-pywx | 22:05 |
ezod | requirements.py should set you up with the other 2 submodules | 22:06 |
ezod | ...although i can't actually find in the code where it does so... but you have schemepy, so it must | 22:07 |
ezod | what's weird is, it should have complained that your installed libtpclient-py and libtpproto-py were not "development versions" | 22:08 |
ezod | i'll have to check into that | 22:09 |
StupidIncarnate | doesn't like it now that they'ge gone | 22:10 |
ezod | well let me ask you this | 22:10 |
ezod | how did you get schemepy submodule? | 22:11 |
StupidIncarnate | git submodule update or sycn | 22:12 |
ezod | oh what the heck | 22:12 |
ezod | what branch are you on? | 22:12 |
StupidIncarnate | tp04 | 22:12 |
ezod | from what i can tell tp04 doesn't even have a schemepy submodule | 22:12 |
ezod | but it does have client and proto | 22:13 |
StupidIncarnate | wait mayb not | 22:13 |
ezod | requirements.py will do git submodule init and whatnot for you | 22:14 |
StupidIncarnate | i still haven't got used ot git | 22:15 |
StupidIncarnate | you change the branch with git branch origin/tp04, and then git pull? | 22:15 |
ezod | paste output of git branch and git branch -r | 22:17 |
StupidIncarnate | joe@kuro-ubu:/opt/tpclient-pywx$ git branch | 22:19 |
StupidIncarnate | origin/tp04 | 22:19 |
StupidIncarnate | * schemepy | 22:19 |
StupidIncarnate | joe@kuro-ubu:/opt/tpclient-pywx$ git branch -r | 22:19 |
StupidIncarnate | origin/HEAD -> origin/schemepy | 22:19 |
StupidIncarnate | origin/schemepy | 22:19 |
StupidIncarnate | origin/stable | 22:19 |
StupidIncarnate | origin/tp04 | 22:19 |
StupidIncarnate | origin/tpclient-pywx-0.2.x | 22:19 |
StupidIncarnate | origin/tpclient-pywx-0.3.x | 22:19 |
StupidIncarnate | i thought I forked the tp04 branch though | 22:19 |
ezod | okay | 22:20 |
ezod | i don't think "git branch origin/tp04" does what you think | 22:20 |
ezod | do git branch -d origin/tp04 | 22:20 |
StupidIncarnate | k | 22:21 |
*** DTRemenak has quit IRC | 22:21 | |
ezod | pretty sure you just have a local branch called "origin/tp04" that is unrelated to the remote tp04 | 22:21 |
ezod | apparently you didn't | 22:21 |
ezod | you're on the schemepy branch | 22:21 |
ezod | if you just fork the whole repo maybe, then you should be on stable by default | 22:21 |
ezod | then you can do | 22:21 |
ezod | git checkout -b tp04 origin/tp04 | 22:21 |
ezod | and git pull | 22:21 |
ezod | or else, just fork tp04 instead of schemepy ;) | 22:21 |
* ezod bbl | 22:24 | |
StupidIncarnate | github's on the schemepy branch as main | 22:24 |
StupidIncarnate | k i'll keep at it | 22:24 |
ezod | weird, well you should be able to switch anyway with | 22:25 |
ezod | git checkout -b tp04 origin/tp04 | 22:25 |
ezod | tansell: < StupidIncarnate> github's on the schemepy branch as main | 22:26 |
* ezod bbl | 22:26 | |
*** DTRemenak has joined #tp | 22:30 | |
StupidIncarnate | oh there we go. Thanks ezod (even though you're gone) | 22:40 |
StupidIncarnate | and the design dialog still doesn't really work | 22:45 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!