These are chat archives for getredash/redash

26th
Jul 2016
Mango Baaz
@Orange19810_twitter
Jul 26 2016 00:05
@arikfr , How your doing well. Wanted to know if redash has a calendar kind filter (Month to date, last 7 days, yesterday etc)?
Neil Shah
@shahneil88
Jul 26 2016 01:40
@Orange19810_twitter - What version are you on? In V 0.11 , there is a date filter being added. Check #1069
Mango Baaz
@Orange19810_twitter
Jul 26 2016 06:22
@shahneil88 Thank you but i do have this version. 1069 seems to have the range functionality which is one of the things i am looking for
Arik Fraimovich
@arikfr
Jul 26 2016 08:02
@Orange19810_twitter pycharm and Atom... depends on my mood :-)
@Orange19810_twitter it's a good practice to have a proxy like nginx in front of python web servers. Both for offloading some of the work but also for security reasons.
@Orange19810_twitter oops. those messages were for @manubhats and not for you...
(@manubhats see above)
Neil Shah
@shahneil88
Jul 26 2016 10:31
@arikfr - When I create and share Public URL for Dashboard, where can I find that in redash metadata?
It must be getting stored somewhere, right?
Arik Fraimovich
@arikfr
Jul 26 2016 13:28
yes, it creates an entry in the api_keys table
@shahneil88 ^
szaddam
@szaddam
Jul 26 2016 15:06
I've got the next error: ./manage.py send_test_mail
Traceback (most recent call last):
File "./manage.py", line 58, in <module>
manager.run()
File "/usr/local/lib/python2.7/dist-packages/flask_script/init.py", line 405, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/flask_script/init.py", line 384, in handle
return handle(app, positional_args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flask_script/commands.py", line 145, in handle
return self.run(
args, **kwargs)
File "./manage.py", line 54, in send_test_mail
mail.send(Message(subject="Test Message from re:dash", recipients=[settings.MAIL_DEFAULT_SENDER], body="Test message."))
File "/usr/local/lib/python2.7/dist-packages/flask_mail.py", line 492, in send
message.send(connection)
File "/usr/local/lib/python2.7/dist-packages/flask_mail.py", line 427, in send
connection.send(self)
File "/usr/local/lib/python2.7/dist-packages/flask_mail.py", line 178, in send
"The message does not specify a sender and a default sender "
AssertionError: The message does not specify a sender and a default sender has not been configured
my .env file contains this line: export REDASH_MAIL_DEFAULT_SENDER="redash@joszaki.hu" # Email address to send from
What is the problem?
Arik Fraimovich
@arikfr
Jul 26 2016 15:18
@szaddam did you run the command with bin/run?
szaddam
@szaddam
Jul 26 2016 15:23
that was the problem. Now it is working without ssl. Thanks a lot.
Manu Bhat
@manubhats
Jul 26 2016 15:53
Thank you @arikfr ! I am having a hard time setting up pycharm+vagrant+redash. what does the bin/run do? when I run "sudo -u redash bin/run ./manage.py database create_tables", the terminal doesn't recognise bin/run? (bin/run:command not found)
Nick Grygiel
@ngrygs
Jul 26 2016 18:47
@arikfr - Hey Arik! Was wondering if I'm missing some documentation on how Alerts are configured / used? I am trying to trigger an alert when a column encounters a value less than - say 6 - and email me. The current alert state has been stuck on "Unknown" for quite some time. Thanks again!
Also, I'm not seeing any way to delete/archive alerts. Is this possible/will this be possible in the future?