Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 19 07:47
    sitthykun commented #844
  • Sep 18 09:26
    Globegitter commented #1077
  • Sep 18 09:20
    Globegitter commented #1077
  • Sep 16 16:13
    anthonydb commented #535
  • Sep 15 19:28
    meeuw commented #892
  • Sep 15 17:02
    mattbrictson commented #892
  • Sep 15 16:54
    mattbrictson commented #892
  • Sep 12 22:36
    j-bennet commented #1095
  • Sep 11 05:37
    snuyanzin edited #1100
  • Sep 11 05:32
    snuyanzin opened #1100
  • Sep 10 18:57
    j-bennet commented #1098
  • Sep 10 18:38
    snuyanzin commented #1098
  • Sep 10 17:42
    j-bennet closed #1098
  • Sep 10 17:42
    j-bennet commented #1098
  • Sep 10 17:07
    snuyanzin opened #1099
  • Sep 10 17:01
    snuyanzin commented #1098
  • Sep 10 15:36
    j-bennet commented #1098
  • Sep 10 07:16
    and-semakin commented #1093
  • Sep 10 07:16
    and-semakin commented #1093
  • Sep 09 22:11
    snuyanzin edited #1098
Xavier Combelle
@xcombelle
@amjith I trust you. You thought about it longer than me.
Amjith Ramanujam
@amjith
@xcombelle I added your question to the FAQ list in kickstarter: https://www.kickstarter.com/projects/1839007321/mysql-cli
I did debate about it with myself for a while. But at the end I wanted to keep the code bases lean so it is easy for others to contribute.
I think that reason won at last.
aditsu
@aditsu
hi, first time on gitter... I tried to run pgcli but it says "pkg_resources.DistributionNotFound: Pygments>=2.0" (I have pygments 2.0.1 installed), any ideas how to fix it?
Amjith Ramanujam
@amjith
@aditsu This is a problem with setuptools. Are you in a virtualenv?
aditsu
@aditsu
no
Amjith Ramanujam
@amjith
Hrm. Can you try ‘easy_install pgcli’?
Or try reinstalling pygments using pip install -U pygments
aditsu
@aditsu
oh! that (easy_install) seems to fix it.. I'm somewhat confused :p
anyway, thanks for the help :)
Amjith Ramanujam
@amjith
Yeah pip is using a version of setuptools that can sometimes cause this problem.
One of the users has reported it as a bug to setupools, so it is filed upstream.
aditsu
@aditsu
in multiline mode can I go back and break a previous command into 2 lines?
aditsu
@aditsu
also, it seems to take a long time to paste a longer query
Amjith Ramanujam
@amjith
@aditsu You can go back in multi-line mode but you can’t break it into separate lines.
I’ll see what I can do with the paste speed.
dp
@ceocoder
hey @amjith morning
dp
@ceocoder
@amjith first draft of working deb amjith/pgcli#199
I'll try to work on RPM later in the evening if possible or tomorrow
I've tried this on Debian Wheezy (7.8 - same box linked in the Vagrantfile)
let me know what you think
Amjith Ramanujam
@amjith
Awesome! Thanks a lot. I’m swamped here at the booth. Sorry for being unresponsive.
dp
@ceocoder
no worries - enjoy the conference, now it works for RPMs too
Eduardo Ariño de la Rubia
@earino
I'm excited to try this with redshift!
Amjith Ramanujam
@amjith
@earino I don’t think this works with redshift yet. I’m told that redshift is Postgres 8.x
pgcli only works with Postgres 9.x
Eduardo Ariño de la Rubia
@earino
Yep. Was gonna file an issue... But probably shouldn't :-)
dp
@ceocoder
@amjith you around?
Amjith Ramanujam
@amjith
Yup.
dp
@ceocoder
Amjith Ramanujam
@amjith
Nope.
dp
@ceocoder
tl;dr - have a .bumpversion file which controls the version (along with the stirng in init /elsewhre)
Amjith Ramanujam
@amjith
Interesting.
I’m interested.
dp
@ceocoder
back to my comment on #199 if you prefer I can use version from init in Vagrantfile
Amjith Ramanujam
@amjith
I was going to update the release.py and look into travis or something else to do it for every build.
But if there is a better way to do things, I’m all for it.
dp
@ceocoder
instead of passing it as version=x.y.z vagrant up centos
I can cook up a PR
Amjith Ramanujam
@amjith
@ceocoder It’s up to you. If it’s not too much work then go for it.
Otherwise I’ll do it manually.
dp
@ceocoder
not much work at all
Amjith Ramanujam
@amjith
In that case a PR would be much appreciated. :)
@earino There is already an issue for redshift. amjith/pgcli#18
SRGOM
@SRGOM
I do a sudo pip install pgcli, but /usr/local/lib/python2.7/dist-packages/pgcli is created with 700 permissions and root owner. I know I can do a 755 on it, but wanted to point out that this is an issue.
Please ignore the earlier comment- apparently sudo preserves user's umask which is the cause of this problem.
btw, how do I resolve pkg_resources.DistributionNotFound: sqlparse>=0.1.14 ?
Xiaochuan Yu
@xiaochuanyu
how do i view the log output when running pgcli?
ex. where would I see output of logger.info("hello") if I added that to pgcli code