MatthewDesigner | Hello everyone! | 05:04 |
---|---|---|
thorwil | alpha or maybe beta testers wanted: https://code.launchpad.net/~t-w-/backtestground/backtestground | 19:05 |
vish | bzr branch lp:backtestground | 19:09 |
vish | grr! | 19:09 |
thorwil | grr? | 19:10 |
vish | i copy pasted in wrong window.. | 19:10 |
thorwil | heh | 19:10 |
thorwil | i guess someday i will paste an interesting link, accidentally and people will wonder about wild boar riding midgets in rubber suits | 19:12 |
vish | someday.. one can only hope.. ;) | 19:13 |
thorwil | vish: i'd like to see how much sense you can make out of that branch on your own, but don't hesitate to ask questions | 19:16 |
vish | hmm, i was expecting the INSTALL file to actually be the installer ;p | 19:17 |
vish | and was wondering why README dint have install instructions.. | 19:18 |
thorwil | oh. but it's in docs and INSTALL for info on how to install is convention (if not part of the README) | 19:18 |
vish | afaik or have seen, the install file usually installs and the read me has the install info | 19:20 |
thorwil | an install.sh in root, maybe | 19:20 |
vish | yea.. | 19:21 |
vish | the .sh is usually hidden or not used, so it just looks too much the same. | 19:21 |
vish | * ".sh" | 19:21 |
vish | $ python setup.py build | 19:37 |
vish | Traceback (most recent call last): | 19:37 |
vish | File "setup.py", line 3, in <module> | 19:37 |
vish | from setuptools import setup | 19:37 |
vish | ImportError: No module named setuptools | 19:37 |
vish | thorwil: ^ doesnt seem to install | 19:37 |
vish | i have both python-imagining and python-argparse | 19:37 |
vish | oh ! | 19:38 |
vish | thorwil: do i also need python-setuptools ? | 19:38 |
vish | or is it the python3-setuptools ? | 19:39 |
thorwil | vish: python-setuptools | 19:41 |
thorwil | sorry, i just added a note to INSTALL (and a note to README to point to INSTALL) | 19:41 |
thorwil | after figuring out a few other things, i will look into making a deb | 19:42 |
vish | n$ python bgce.py -o ~/bg.png | 20:11 |
vish | usage: bgce.py [-h] [-v] [-o path/filename] | 20:11 |
vish | screenshot_on_white screenshot_on_shadow-color | 20:11 |
vish | bgce.py: error: too few arguments | 20:11 |
vish | thorwil: ^ | 20:11 |
vish | thats what i get.. | 20:11 |
vish | not sure how to run it, btw, why does it need to install? cant we run it just from the folder? | 20:12 |
thorwil | vish: if setup.py worked, you should now have "bgce" and "sizes" in /usr/local/bin. | 20:12 |
vish | yea, setup worked | 20:13 |
* vish checks again.. | 20:13 | |
thorwil | vish: sure the scripts run from where they are | 20:13 |
thorwil | but that's not convenient in everyday use | 20:13 |
thorwil | vish: use the images in the test_images dir | 20:14 |
vish | thorwil: setup http://paste.ubuntu.com/539797/ | 20:15 |
thorwil | vish: looks alright | 20:15 |
vish | but if i run the .py from ~/ it doesnt seem to pickup the executable.. | 20:16 |
vish | oh wait! | 20:16 |
thorwil | vish: bgc tab-key should complete to bgce everywhere now | 20:16 |
vish | nope, false alarm.. | 20:16 |
vish | it does, but it does not /run/ | 20:17 |
vish | $ bgce | 20:17 |
vish | Traceback (most recent call last): | 20:17 |
vish | File "/usr/local/bin/bgce", line 9, in <module> | 20:17 |
vish | load_entry_point('Backtestground==1.0', 'console_scripts', 'bgce')() | 20:17 |
vish | File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 305, in load_entry_point | 20:17 |
vish | return get_distribution(dist).load_entry_point(group, name) | 20:17 |
vish | File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2244, in load_entry_point | 20:17 |
vish | return ep.load() | 20:17 |
vish | File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1954, in load | 20:17 |
vish | entry = __import__(self.module_name, globals(),globals(), ['__name__']) | 20:17 |
vish | ImportError: No module named bgce | 20:17 |
thorwil | vish: same here. now if i only knew what the heck changed ... | 20:20 |
vish | phew, well atleast i'm not totally dumb :D | 20:20 |
thorwil | vish: in the meantime, the help text formatting is a little odd, as required parameters appear in a second line | 20:23 |
thorwil | vish: bgce.py on_white.png on_black.png | 20:24 |
thorwil | (with appropriate paths) | 20:24 |
vish | hmm.. | 20:24 |
thorwil | result will be called context.png | 20:24 |
vish | thorwil: dint understand … you want me to edit the bgce.py ? | 20:27 |
thorwil | vish: no. | 20:28 |
thorwil | cd path/to/bin | 20:28 |
thorwil | ./bgce ../test_images/on_white ../test_images/on_black.png | 20:29 |
vish | yea, i tried $ python bgce.py ~/on_white.png | 20:31 |
vish | usage: bgce.py [-h] [-v] [-o path/filename] | 20:31 |
vish | screenshot_on_white screenshot_on_shadow-color | 20:31 |
vish | bgce.py: error: [Errno 2] No such file or directory: '/home/vishnoo/on_white.png' | 20:31 |
vish | argh.. | 20:31 |
vish | 2am, not a good time for trying something new i guess ;p | 20:32 |
thorwil | well, it's easier to have the scripts and images in the same dir | 20:32 |
vish | hmm, k.. copying.. | 20:32 |
vish | finally! | 20:37 |
vish | \o/ i got the context.png, but its just a copy.. | 20:37 |
thorwil | vish: look at all 3 files with eog | 20:40 |
vish | thorwil: ok.. *now* i realize what the readme screenshot meant.. :) | 20:41 |
thorwil | :) | 20:41 |
vish | the readme "screenshot" meant | 20:41 |
vish | thorwil: i was thinking it would take a screenshot.. | 20:42 |
thorwil | vish: right, i have to rephrase that | 20:45 |
thorwil | vish: thanks! | 20:45 |
vish | np.. | 20:46 |
thorwil | vish: the "sizes" tool is clear enough? | 20:46 |
vish | thorwil: yea, that's confusing too , when you say "Take.." it seems like it will take | 20:46 |
thorwil | i see, the short form of "take as argument" is no good | 20:49 |
thorwil | will use "expects as input", instead | 20:49 |
thorwil | good night! | 21:06 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!