Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Haytham Amin
    @Haythamamin
    do you have an idea why would sudo python /usr/bin/gunicorn -w 4 --timeout 60 -b 0.0.0.0:8081 --limit-request-line 0 --limit-request-field_size 0 --forwarded-allow-ips * --log-level debug --daemon --pid /var/run/superset/superset.pid superset:app
    stop working
    cant find anything in the log
    i mean the application wont run anymore
    psung111
    @psung111
    not sure is a previous gunicorn process currently running?
    Haytham Amin
    @Haythamamin
    i did ps -A | grep gunicorn
    nothing show up
    psung111
    @psung111
    asuuming your running it under virtualenv? and have tried superset runserver command?
    Haytham Amin
    @Haythamamin
    ya i tried superset sunserver command and it work fine
    but with gunicorn demon not working
    psung111
    @psung111
    also the port looks a little different do you want it to point to 8081?
    Haytham Amin
    @Haythamamin
    ya
    i even did netstat -tulpn
    didnt find anything on these ports
    psung111
    @psung111
    not sure maybe its the pid file?
    Haytham Amin
    @Haythamamin
    actually i checked the pid file location and couldnt find it
    shouldnt it be generated automatically
    psung111
    @psung111
    it should
    Haytham Amin
    @Haythamamin
    should i remove superset and reinstall is
    it
    psung111
    @psung111
    if you want. you said the runserver command runs fine which makes me think that its not the app just possibly way the gunicorn command is being run
    Haytham Amin
    @Haythamamin
    mmm
    ok removed both
    and reinstalling again
    conway-z
    @conway-z
    hi all.how can i set data or number column in sum display as INT like 678, not float like 678.0? help me
    Haytham Amin
    @Haythamamin
    hey pps im using mysql as by db instead of sqllite , I loaded the examples and went to view dashboards, but got this error 'ascii' codec can't decode byte 0xd7 in position 1: ordinal not in range(128)
    any ideas?
    Im using the latest version of Superset
    conway-z
    @conway-z
    hi all.how can i set a column data in sum display as INT type like 678, not display a float type like 678.0? help me
    Haytham Amin
    @Haythamamin
    I have my authentication type set to AUTH_TYPE = AUTH_DB, I follow instructions for creating an admin user with: fabmanager create-admin --app superset. I start the server as demon using supervisor and when I try to login I get invalid login. When I run the server from command line with superset runserver and try to login my credentials work.
    what am I missing here?
    Gowtham Sai
    @Gowtham95india

    @Haythamamin

    hey pps im using mysql as by db instead of sqllite , I loaded the examples and went to view dashboards, but got this error 'ascii' codec can't decode byte 0xd7 in position 1: ordinal not in range(128)

    Just go to the database and click on edit, just test the connection, if fails, give again. test and save it.
    Haytham Amin
    @Haythamamin
    I think the problem is with me using Mysql database instead of sqlite
    the database connection is fine
    Gowtham Sai
    @Gowtham95india

    @Haythamamin

    I have my authentication type set to AUTH_TYPE = AUTH_DB, I follow instructions for creating an admin user with: fabmanager create-admin --app superset. I start the server as demon using supervisor and when I try to login I get invalid login. When I run the server from command line with superset runserver and try to login my credentials work.

    May be when you are using supervisior, superset is not taking superset configuration file which causing it to use sql database instead of mysql.

    Haytham Amin
    @Haythamamin
    I am sure the mysql db is being used because I've deleted the sqlite db
    Gowtham Sai
    @Gowtham95india
    @Haythamamin No, i'm also using mysql database. It is working fine. I set up this in three ubuntu system. Only in one machine I got this problem. I suspect this might be due to locale settings. You try the way I explained, it solved my problem. Hope it helps to resolve.
    Can I ssh/team viewer to your machine ?
    Haytham Amin
    @Haythamamin
    im running it on a local vm
    but i can set it up on AWS and add your key
    Gowtham Sai
    @Gowtham95india
    Okay.. and you can use my script to set it up. mail me here: Gowtham95india@gmail.com
    Haytham Amin
    @Haythamamin
    cool
    where can i find your script?
    Gowtham Sai
    @Gowtham95india
    Just a min
    Haytham Amin
    @Haythamamin
    cool
    put that in a .sh file and run. You can see the code here. https://raw.githubusercontent.com/Gowtham95india/superset/master/superset_install.py
    Haytham Amin
    @Haythamamin
    ok
    Gowtham Sai
    @Gowtham95india
    I'm using that script to set up superset in our aws for our company. If you can setup aws ubuntu machine, you don't need to worry about anything at all.
    :)