These are chat archives for getredash/redash

12th
Dec 2016
Arik Fraimovich
@arikfr
Dec 12 2016 11:37
@washort I've just noticed this line: https://github.com/getredash/redash/blob/master/redash/models.py#L31 what is it for?
cheesemarathon
@cheesemarathon
Dec 12 2016 15:02
@arikfr hi again, still struggling with updating. ive noticed that the fabfile gets the correct version to download as it prints it to screen but hangs at the download still
cheesemarathon
@cheesemarathon
Dec 12 2016 15:08
@arikfr ok its hanging on this line:
run('sudo wget --header="Accept: application/octet-stream" -O {} {}'.format(filename, asset_url))
cheesemarathon
@cheesemarathon
Dec 12 2016 15:19
@arikfr where filename = redash.0.12.0.b2449.tar.gz
and
asset_url = https://api.github.com/repos/getredash/redash/releases/assets/2683648
Allen Short
@washort
Dec 12 2016 16:20
@arikfr Default for sqla columns is nullable, default for peewee was not. This defines a default-not-null Column so we don't have to put nullable=False everywhere
Arik Fraimovich
@arikfr
Dec 12 2016 16:38
@cheesemarathon did you try curl on this url?
@washort :+1:
cheesemarathon
@cheesemarathon
Dec 12 2016 16:50
@arikfr curl works fine as far as i can tell
Arik Fraimovich
@arikfr
Dec 12 2016 18:42
on this specific url?
(this is the one it tries to download)
cheesemarathon
@cheesemarathon
Dec 12 2016 20:48
Looks like I get a redirect unless I use curl -L to follow the redirect
Sebastian Beca
@sbecainfo
Dec 12 2016 20:54
is it possible to just execute a ‘highlighted’ query in the editor?
it seems like it always runs the first query in the editor
Arik Fraimovich
@arikfr
Dec 12 2016 21:12
@cheesemarathon and after following the redirect it download the file?
@sbecainfo it runs all the queries, but returns the results of the last one.
cheesemarathon
@cheesemarathon
Dec 12 2016 21:15
@arikfr yes it does
Arik Fraimovich
@arikfr
Dec 12 2016 21:39
can you share the full output of the fabric run?