These are chat archives for coala/coala-bears

28th
Aug 2016
caichinger
@caichinger
Aug 28 2016 16:08 UTC
hi, please someone restart automatic checks for coala-analyzer/coala-bears#655. imo they should be fine. thanks!
Lasse Schuirmann
@sils
Aug 28 2016 16:09 UTC
restarting now :)
done
caichinger
@caichinger
Aug 28 2016 16:21 UTC
great :)
Mischa Krüger
@Makman2
Aug 28 2016 16:40 UTC
someone wants to review coala-analyzer/coala-bears#722 ?
I'm doing the final ports to @linter
so we can delete Lint in the next release :+1:
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 16:45 UTC
hey
@Makman2 just wanted to tell you that youre awesome!
Mischa Krüger
@Makman2
Aug 28 2016 16:46 UTC
you're doing that quite often these times :P :P :P
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 16:46 UTC
is that a problem?!
Mischa Krüger
@Makman2
Aug 28 2016 16:46 UTC
@Adrianzatreanu but thanks again with-combatant-against-bad-code :P
not at all :P
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 16:47 UTC
RLintBear: Refactor to Linter v2 API
commit f0405bdc7eff94a8d0f22936c7fb33c7ad747bdc @Makman2 Makman2 committed on Apr 3
3 apr
thats an old one :D
Mischa Krüger
@Makman2
Aug 28 2016 16:47 UTC
yeah I created them a while ago
but they had issues
and I was too lazy to fix 'em ... :3
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 16:47 UTC
they look good
i approved them
Mischa Krüger
@Makman2
Aug 28 2016 16:48 UTC
nice feel free to merge :)
bam and another branch gone :D
Lasse Schuirmann
@sils
Aug 28 2016 16:56 UTC
Hey @Asnelchristian we have a PHP user here, I feel like code sniffer gets more important every day. Do you think it's complicated to add all those options?
Mischa Krüger
@Makman2
Aug 28 2016 16:57 UTC
damn that was fast :O got all 5 remaining bears to work instantly :O
coala-analyzer/coala-bears#723 , the last three not using @linter :)
(yet)
Lasse Schuirmann
@sils
Aug 28 2016 16:58 UTC
now-i-want-to-get-my-pr-merged-first!
wawawawawaaaa! coala-analyzer/coala-bears#724
(It's already approved)
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 16:58 UTC
no not really @sils1297
Mischa Krüger
@Makman2
Aug 28 2016 16:58 UTC
I reject it hereby
:P
Lasse Schuirmann
@sils
Aug 28 2016 16:59 UTC
neat @Adrianzatreanu if you need any help I'm available right now :)
btw. @Adrianzatreanu do you need anything :)
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 16:59 UTC
most of those are not really settings
Lasse Schuirmann
@sils
Aug 28 2016 16:59 UTC
@Asnelchristian I feel there must be way more settings than there are on that link I gave you we just have to find it..
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:08 UTC
@sils1297 no lasse, youve done a lot today, plus i have to study for like half an hour or so, but if i do need help, ill elt ya know ;) thx
Lasse Schuirmann
@sils
Aug 28 2016 17:08 UTC
@Adrianzatreanu you sound weird. Did I do something wrong :(
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:10 UTC
wow
i just had a day where i was thankful to 2 people
and im suddenly accused by both of being weird today
bumps up motivation to being a better person
Lasse Schuirmann
@sils
Aug 28 2016 17:11 UTC
:D sorry, we had a good laught about that
but I was afraid of being a bit harsh to you earlier as well...
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:11 UTC
when :( ?
Lasse Schuirmann
@sils
Aug 28 2016 17:12 UTC
docopt
no optparse?
no docopt I think
I get this always confused
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:12 UTC
you were harsh?
i thought thats usually you
Lasse Schuirmann
@sils
Aug 28 2016 17:12 UTC
I'm trying very hard not to be harsh all the time :(
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:14 UTC
hah i was just making fun of you as you did earlier
:p payback
Lasse Schuirmann
@sils
Aug 28 2016 17:14 UTC
:'(
sils @sils1297 is very sensible and will not dare to go outside the apartment today...
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 17:26 UTC
@sils1297 i found out about phpcbf
i am trying to modify it so that it can correct the file
hum
it is not working ....
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:27 UTC
@Asnelchristian youre making magic with bears :(
oh
my compliment went too early
now it feels awkward
Lasse Schuirmann
@sils
Aug 28 2016 17:34 UTC
Hey people
I got annoyed a lot by the recent CI failures that are going on
this shouldn't happen
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:34 UTC
hey dictator
ah yes
Lasse Schuirmann
@sils
Aug 28 2016 17:34 UTC
I think this PR might help:
coala-analyzer/coala-bears#725
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:35 UTC
are you removing checkstyle bear?
Lasse Schuirmann
@sils
Aug 28 2016 17:35 UTC
nope, I'm caching the download that fails
and hopefully it/ll get better
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:36 UTC
you know what would fix it?
moving to gitlab
Lasse Schuirmann
@sils
Aug 28 2016 17:36 UTC
tell me, little pawn
no it wouldn't.
hey @Adrianzatreanu
coala is not fun.
Can you file an issue?
It sucks. It always complains.
It never does fun things.
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:42 UTC
shouldnt it be
CI: Cache bear download directory
cache is the verb
you are caching the bear download directory
?
am i getting this wrong?
Lasse Schuirmann
@sils
Aug 28 2016 17:43 UTC
well it's the bear download cache directory
because the bear downloads it and caches it there
but that's not fun either :(
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:45 UTC
okok
Simone Esposito
@chauffer
Aug 28 2016 17:45 UTC
yeah coala is not fun
Lasse Schuirmann
@sils
Aug 28 2016 17:45 UTC
MAKE SOMETHING FUN!
Simone Esposito
@chauffer
Aug 28 2016 17:45 UTC
so loud
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:45 UTC
stop yelling, lasse
are you having alcohol again?
sils @sils1297 grabs the table and throws it out over the balcony onto the next house
Lasse Schuirmann
@sils
Aug 28 2016 17:56 UTC
WE STILL DON'T HAVE A SOLUTION
TO COALA NOT BEING FUNNY
Simone Esposito
@chauffer
Aug 28 2016 17:56 UTC
can you fix it?
Lasse Schuirmann
@sils
Aug 28 2016 17:56 UTC
oh my god that must sound so intimidating for newcomers
when the maintainer goes rogue...
Simone Esposito
@chauffer
Aug 28 2016 17:56 UTC
:(
Lasse Schuirmann
@sils
Aug 28 2016 17:56 UTC
is it funny?
Simone Esposito
@chauffer
Aug 28 2016 17:56 UTC
no
it's intimidating
duh
Lasse Schuirmann
@sils
Aug 28 2016 17:57 UTC
damn!
THEN YOU BE FUNNY!
Simone Esposito
@chauffer
Aug 28 2016 17:57 UTC
:japanese_goblin:
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:57 UTC
lasse, im scared
Simone Esposito
@chauffer
Aug 28 2016 17:57 UTC
hi scared
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 17:57 UTC
hey simone
Lasse Schuirmann
@sils
Aug 28 2016 17:57 UTC
he's got lots of pasta
so he says pasta is good
not funny\
:/
what's funny...
Simone Esposito
@chauffer
Aug 28 2016 18:08 UTC
u
Lasse Schuirmann
@sils
Aug 28 2016 18:08 UTC
me?
him?
Simone Esposito
@chauffer
Aug 28 2016 18:08 UTC
u
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 18:48 UTC
@sils1297 still around?!
Lasse Schuirmann
@sils
Aug 28 2016 18:51 UTC
yes
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 18:52 UTC
okay
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 18:52 UTC
hey @sils1297 i also need you to talk about the cib show description thingie :D
but ill let christian first
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 18:52 UTC
we can actually add paths to the rhino, jslint, gjslint, zend configuration files
and modify the indent-size
apart from that did you find any other configs ?
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 18:56 UTC
@sils1297 so you said that by doing cib list <bear> it should show the docstring from that bear after importing it :) ?
Lasse Schuirmann
@sils
Aug 28 2016 18:56 UTC
@Adrianzatreanu ahm... no. cib list should just show the names IMO.
@Asnelchristian sorry I don't fully get what you want :/
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 18:57 UTC
ok so having cib list would show the names of all installed bears
and cib list --all should show the names of all possible bears?
Lasse Schuirmann
@sils
Aug 28 2016 18:58 UTC
yes
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 18:58 UTC
ok and how to show details about a bear?
talking about this
Lasse Schuirmann
@sils
Aug 28 2016 18:59 UTC
yeah for that you make a show subcommand
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 18:59 UTC
ok so
Lasse Schuirmann
@sils
Aug 28 2016 18:59 UTC
so cib show PEP8Bear would do that
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 18:59 UTC
cib show bearx
ok
Lasse Schuirmann
@sils
Aug 28 2016 18:59 UTC
but show only works with one bear at a time
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 18:59 UTC
correct
how would I catch the docstring?
i tried doing PEP8Bear.doc but its None
Lasse Schuirmann
@sils
Aug 28 2016 18:59 UTC
get the metadata?
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 18:59 UTC
i tried in python shell
Lasse Schuirmann
@sils
Aug 28 2016 19:00 UTC
coala has all this done for you, there's a show_bear function or so somewhere
that you could just call
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:00 UTC
hm
let me check what it needs
Lasse Schuirmann
@sils
Aug 28 2016 19:00 UTC
the -c thing works by now huh
?
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:01 UTC
yes
Lasse Schuirmann
@sils
Aug 28 2016 19:01 UTC
neat
:+1:
but you didn't fix the issue that it requests from pypi which bears exist wethre you need it or not :(
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:02 UTC
but i told you how im checking it
:/
i need it ..
im not sure how i should pass the bear
Lasse Schuirmann
@sils
Aug 28 2016 19:04 UTC
you import the bear class right?
that's the bear
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:04 UTC
ok
Lasse Schuirmann
@sils
Aug 28 2016 19:05 UTC
@Asnelchristian almost good to merge, asciinema missing
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 19:07 UTC
aaah my mum.... she is always calling me...
ah okay...
Lasse Schuirmann
@sils
Aug 28 2016 19:07 UTC
@Asnelchristian found something else...
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 19:08 UTC
nope
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:09 UTC
@sils1297 quite unsure what to give those
show_bear(package_object)
TypeError: show_bear() missing 4 required positional arguments: 'sections', 'show_description', 'show_params', and 'console_printer'
Lasse Schuirmann
@sils
Aug 28 2016 19:09 UTC
@Adrianzatreanu so my thoughts on this:
except for sections you just pass true
but
I think we should in coala remove the sections parameter
and remove the whole showing bears functionality from coala
and let cib do it
because it doesn't belong into coala
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:10 UTC
cool, some other time :D
what are the sections tho?
Lasse Schuirmann
@sils
Aug 28 2016 19:10 UTC
but file an issue :angel:
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:10 UTC
okey
Lasse Schuirmann
@sils
Aug 28 2016 19:11 UTC
they are the sections so the user will see which bears are used in which sections
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:11 UTC
but how do i place them here then?
Lasse Schuirmann
@sils
Aug 28 2016 19:11 UTC
either you pass it an empty dict
and see what happens
nah that's wrong
rather change the method in coala to not show the sections
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:12 UTC
so jsut remove whole sections functionality from coala?
Lasse Schuirmann
@sils
Aug 28 2016 19:12 UTC
yep it's quite useless :)
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:12 UTC
cool, please review it in 2mins :D
i have to change show_enumeration too :/
Lasse Schuirmann
@sils
Aug 28 2016 19:14 UTC
no
why>
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:14 UTC
its called with sections
Lasse Schuirmann
@sils
Aug 28 2016 19:14 UTC
yeah remove the call!
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:14 UTC
oh its called ony once
Lasse Schuirmann
@sils
Aug 28 2016 19:14 UTC
what are you doing man :P
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:15 UTC
:D
Lasse Schuirmann
@sils
Aug 28 2016 19:16 UTC
hey does someone want to make a bear for python? https://github.com/openstack/bandit I think that'd be a real deal breaker for a lot of people
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:17 UTC
@Nosferatul interested :p ?
Lasse Schuirmann
@sils
Aug 28 2016 19:17 UTC
@underyx ^ ? We need this possibly in the next days? Maybeyou could do it on your pseudo-20%-time-thingie.
ahm...
@Adrianzatreanu ...
don't you...
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:18 UTC
:( ?
Lasse Schuirmann
@sils
Aug 28 2016 19:18 UTC
want to adjust the calls of that function?
it's a positional parameter :(
Mischa Krüger
@Makman2
Aug 28 2016 19:18 UTC
I already have a prototype without tests
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:18 UTC
ah really ok
damn it
Lasse Schuirmann
@sils
Aug 28 2016 19:18 UTC
everything will break! :fire:
Mischa Krüger
@Makman2
Aug 28 2016 19:18 UTC
coala-analyzer/coala-bears@512088c
so if someone picks up bandit there's nothing much left to do except tests^^
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 19:18 UTC
@sils1297 i am going to do the asciinema tomorrow i really have to go
Lasse Schuirmann
@sils
Aug 28 2016 19:18 UTC
ah @Makman2 is there a PR? Can you rebase it? Then we could possibly get this in real quick?
Mischa Krüger
@Makman2
Aug 28 2016 19:19 UTC
I have no tests @sils1297
Lasse Schuirmann
@sils
Aug 28 2016 19:19 UTC
@Asnelchristian ok I'm marking it WIP, also there's one other issue that might be a real concern. See you :)
@Makman2 rebase it and give it to someone else
Mischa Krüger
@Makman2
Aug 28 2016 19:19 UTC
just wanted to say :D
alright: coala-analyzer/coala-bears#726
if someone wants to write a new bear :+1:
(or at least complete it :P)
sils @sils1297 votes for @underyx
Lasse Schuirmann
@sils
Aug 28 2016 19:21 UTC
or @chauffer
@Makman2 I gave it a title so people would see that this is for pickup
Mischa Krüger
@Makman2
Aug 28 2016 19:23 UTC
:+1:
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:30 UTC
@sils1297
these 2 i dont know how to fix
:/
i fixed the rest of the tests
Lasse Schuirmann
@sils
Aug 28 2016 19:33 UTC
@Adrianzatreanu you're funny :)
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:33 UTC
:D
Lasse Schuirmann
@sils
Aug 28 2016 19:33 UTC
you fixed the tests but not the functionality
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:33 UTC
thanks
not many people tell me that im funny
Lasse Schuirmann
@sils
Aug 28 2016 19:33 UTC
you always submit the best code snippets for review :)
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:34 UTC
:/
what did i not do now?
Lasse Schuirmann
@sils
Aug 28 2016 19:37 UTC
well you didn't adjust the usages
except those in the tests...
you should grep for usages!
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:38 UTC
i thought i did
hm
ah found
it was a sneaky one!
Lasse Schuirmann
@sils
Aug 28 2016 19:39 UTC
your diff doesn't show any such changes
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:39 UTC
it was a few lines above where print_bears would use show_bear
thats all
fixing tests for print_bears now too
ok this should have fixed it
492 contributions in the last year
shit thats a lot
in 6 months or so
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 19:58 UTC
so @sils1297
(venv) 192-168-0-102:cib adrianzatreanu$ python3 coala_package_manager/installation_tool.py show PEP8Bear
<class 'module'>
Traceback (most recent call last):
  File "coala_package_manager/installation_tool.py", line 331, in <module>
    sys.exit(main())
  File "coala_package_manager/installation_tool.py", line 324, in main
    show_bear(package_object, True, True, ColorPrinter)
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/coalib/output/ConsoleInteraction.py", line 695, in show_bear
    console_printer.print(bear.name, color="blue")
AttributeError: module 'coalaPEP8Bear.PEP8Bear' has no attribute 'name'
is the output for
package_object = importlib.import_module(
            'coala' + args['<bear>'][0] + '.' + args['<bear>'][0])
print(type(package_object))
show_bear(package_object, True, True, ColorPrinter)
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 20:07 UTC
im passing a module, right?
how does passing an object work inside of this?
Lasse Schuirmann
@sils
Aug 28 2016 20:08 UTC
how do you get the bear? You do have the object anyway in your tool don't you?
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 20:09 UTC
um, no?
i just have its name
im running show bear_name
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 20:20 UTC
@sils1297 sorry if bothering you but you said earlier that u are available, so i profit of that ;d
Lasse Schuirmann
@sils
Aug 28 2016 20:42 UTC
oh that was before, now my groceries arrived and I'm hungry :P
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 20:45 UTC
ok im waiting :D
Alexandru-Sorin Maxim
@Nosferatul
Aug 28 2016 20:46 UTC
@Adrianzatreanu Sure!
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 20:47 UTC
im not really sure thats still valid though
:/
Alexandru-Sorin Maxim
@Nosferatul
Aug 28 2016 20:55 UTC
Oh :worried:
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 21:59 UTC
@sils1297 dont forget about me, my life is depending on you!
Lasse Schuirmann
@sils
Aug 28 2016 22:01 UTC
@Adrianzatreanu really?
I'm here now but only a tiny bit, choose your question carefully, young padawan.
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:02 UTC
it is up there
i dont know why its not working :D
Lasse Schuirmann
@sils
Aug 28 2016 22:03 UTC
you're importing the .py file which is the module, not the bear
how do you import the bear when you install the requirements?
why can't you do the same?
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:03 UTC
the same
:D
Lasse Schuirmann
@sils
Aug 28 2016 22:04 UTC
really!? that works?
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:04 UTC
and then im using getattr to get .REQUIREMENTS
Lasse Schuirmann
@sils
Aug 28 2016 22:04 UTC
link to code?
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:04 UTC
wait a sec
let me try one bit of code
nah not working
package_object = importlib.import_module(
        'coala' + package_name + '.' + package_name)
    for requirement in getattr(package_object, package_name).REQUIREMENTS:
this is how i roll for reqs
Lasse Schuirmann
@sils
Aug 28 2016 22:07 UTC
see you do getattr(package_object, package_name)
you don't do that in the other one
-> code duplication
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:07 UTC
whaaat :/ ?
Lasse Schuirmann
@sils
Aug 28 2016 22:08 UTC
you gotta reduce your duplication, I have the feeling that you have still some of that, whenever I find an issue it's duplication.
the getattr gets the bear from the module
so you have to pass the getattr to show_bears instead of the object
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:09 UTC
no i tried that when i said wait a se
Traceback (most recent call last):
  File "coala_package_manager/installation_tool.py", line 330, in <module>
    sys.exit(main())
  File "coala_package_manager/installation_tool.py", line 323, in main
    show_bear(getattr(package_object, args['<bear>'][0]), True, True, ColorPrinter)
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/coalib/output/ConsoleInteraction.py", line 695, in show_bear
    console_printer.print(bear.name, color="blue")
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/pyprint/Printer.py", line 43, in print
    return self._print(output, **kwargs)
AttributeError: 'str' object has no attribute '_print'
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:19 UTC
@sils1297 is this beyond you??
Lasse Schuirmann
@sils
Aug 28 2016 22:20 UTC
oh sorry getting prompted from too many locations when I actually only want to sleep :P
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:20 UTC
sleep, then!
(after helping me out with this)
Lasse Schuirmann
@sils
Aug 28 2016 22:21 UTC
what the hell is wrong with your printer
what did you do!??
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:21 UTC
what printer should i use?
im using ColorPrinter idk
Lasse Schuirmann
@sils
Aug 28 2016 22:22 UTC
you're giving it a class...
are you drugged today? :P
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:22 UTC
what
Lasse Schuirmann
@sils
Aug 28 2016 22:22 UTC
give it an instance!
you can't pass ConsolePrinter
you gotta pass ConsolePrinter()
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:22 UTC
oh
Lasse Schuirmann
@sils
Aug 28 2016 22:22 UTC
of course it has no self...
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:22 UTC
i had no idea what a printer was :D
Lasse Schuirmann
@sils
Aug 28 2016 22:23 UTC
but well you can just read the traceback?
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:24 UTC
cant say it was that clear
"add ()"
well this one looks to be with the printer!
Traceback (most recent call last):
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/pyprint/ColorPrinter.py", line 44, in _print
    return self._print_colored(output, **kwargs)
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/pyprint/ColorPrinter.py", line 56, in _print_colored
    raise NotImplementedError
NotImplementedError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "coala_package_manager/installation_tool.py", line 331, in <module>
    sys.exit(main())
  File "coala_package_manager/installation_tool.py", line 324, in main
    show_bear(getattr(package_object, args['<bear>'][0]), True, True, ColorPrinter())
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/coalib/output/ConsoleInteraction.py", line 695, in show_bear
    console_printer.print(bear.name, color="blue")
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/pyprint/Printer.py", line 43, in print
    return self._print(output, **kwargs)
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/pyprint/ColorPrinter.py", line 46, in _print
    return self._print_uncolored(output, **kwargs)
  File "/Users/adrianzatreanu/venv/lib/python3.5/site-packages/pyprint/ColorPrinter.py", line 65, in _print_uncolored
    raise NotImplementedError
NotImplementedError
Lasse Schuirmann
@sils
Aug 28 2016 22:27 UTC
adrian.
the colorprinter is an abstract class
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:27 UTC
thsi sounds bad
Lasse Schuirmann
@sils
Aug 28 2016 22:27 UTC
pass a console printer
basically NotImplementedError yells at you "I'm abstract" :)
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:28 UTC
:/
sils @sils1297 is tired
Lasse Schuirmann
@sils
Aug 28 2016 22:28 UTC
sorry ^
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:29 UTC
what printer should i use instead?
Lasse Schuirmann
@sils
Aug 28 2016 22:29 UTC
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 22:35 UTC
oh cool, nailed it
thanks
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 23:01 UTC
@sils1297 what is the best text coloring tool i should use :D ?
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 23:12 UTC
@Adrianzatreanu colored pencils :P
just kidding :)
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 23:16 UTC
:D
i found termcolor
looks quite good
Zatreanu Adrian-Gabriel
@Adrianzatreanu
Aug 28 2016 23:26 UTC
cib 0.5.3 with colored output and nicely printed, and the brand new cib show <bear_name> which gives you a lot of useful output about each bear, is now live and rocking for testing!
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 23:27 UTC
testing it right now :)
Christian Asnel Ngoulla Sob
@AsnelChristian
Aug 28 2016 23:34 UTC
@Adrianzatreanu this doesn't seem to be normal
RLintBear is installing..  DONE!
Bears that failed installing:
RLintBear