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