These are chat archives for fossasia/open-event-server

Mar 2017
Mar 15 2017 03:05
@niranjan94 Export as CSV does not work. Is it because of the cloud deployment?
I'm able to export pdf/csv on
@mariobehling I'm able to export pdf/csv on > @niranjan94 Export as CSV does not work. Is it because of the cloud deployment?
how is eventyay being set up? it's deploying master?
Mario Behling
Mar 15 2017 03:44
it's deploying master?
Mar 15 2017 05:19
anyway i can ssh in? i want to view the logs
Pradeep CE
Mar 15 2017 05:47
@mariobehling Need your input on #3382. Would you rather the Register as Speaker issue is brought up in a separate issue?
Mario Behling
Mar 15 2017 05:53
@rctay It is a Google cloud deployment
are you familiar with it?
Niranjan Rajendran
Mar 15 2017 06:22
@rctay it's deployed using Kubernetes ...
Sending you a PM
Niranjan Rajendran
Mar 15 2017 06:36
@mariobehling the Bad Gateway error for pdf download is because the code is taking too long to generate the pdf and hence the connection b/w nginx and the app server times out ...
As for the csv download, orders csv download works. Attendees, checking ... Nothing in logs.
Mar 15 2017 08:23
oh i see...we may need to use task q/deferred
Mario Behling
Mar 15 2017 08:40
@niranjan94 Please merge the changes asap
Dilpreet Singh
Mar 15 2017 08:53
@mariobehling I have made the changes please have a look Thanks :)
Mario Behling
Mar 15 2017 08:57
@geekyd Very good! Please post the file for offline viewing. Can we post this to the FOSSASIA channel?
@geekyd Actually wrong channel. We also need a showcase for the server, if you would like to do this.
Hong Phuc Dang
Mar 15 2017 10:44
@niranjan94 the program in PDF is not good enough for print
we need to print the schedule
Mario Behling
Mar 15 2017 10:54
actually the png and the table head is overlapping
Mar 15 2017 11:08
@hpdang can you send me the csv
i'm thinking of importing on my local orga. then tweak the code locally without deploying through gce
Afroz Ahamad
Mar 15 2017 16:55
On my local installation of open-event-orga-server, every link seems to be working except Create Event where I get this page :
It says ValueError: Malformed IP address
Mar 15 2017 17:06
scroll down and screenshot the bottom half too
Aseem Shrey
Mar 15 2017 17:45

Anyone please make me understand .I have some doubts regarding code :

In the file 'app/views/users/'
if len(order.ticket_holders) == 0: (Line 218)
Where does this attribute ticket_holders come from or am I missing something ?
Cause in , model there is none:

class Order(db.Model):
    __tablename__ = "orders"

    id = db.Column(db.Integer, primary_key=True)
    identifier = db.Column(db.String, unique=True)
    amount = db.Column(db.Float)
    address = db.Column(db.String)
    city = db.Column(db.String)
    state = db.Column(db.String)
    country = db.Column(db.String)
    zipcode = db.Column(db.String)
    user_id = db.Column(db.Integer, db.ForeignKey('', ondelete='SET NULL'))
    event_id = db.Column(db.Integer, db.ForeignKey('', ondelete='SET NULL'))
    marketer_id = db.Column(db.Integer, db.ForeignKey('', ondelete='SET NULL'))
    created_at = db.Column(db.DateTime)
    completed_at = db.Column(db.DateTime, nullable=True, default=None)
    trashed_at = db.Column(db.DateTime, nullable=True, default=None)
    transaction_id = db.Column(db.String)
    paid_via = db.Column(db.String)
    payment_mode = db.Column(db.String)
    brand = db.Column(db.String)
    exp_month = db.Column(db.Integer)
    exp_year = db.Column(db.Integer)
    last4 = db.Column(db.String)
    stripe_token = db.Column(db.String)
    paypal_token = db.Column(db.String)
    status = db.Column(db.String)

    discount_code_id = db.Column(
        db.Integer, db.ForeignKey('', ondelete='SET NULL'), nullable=True, default=None)
    discount_code = db.relationship('DiscountCode', backref='orders')

    event = db.relationship('Event', backref='orders')
    user = db.relationship('User', backref='orders', foreign_keys=[user_id])
    marketer = db.relationship('User', backref='marketed_orders', foreign_keys=[marketer_id])
    tickets = db.relationship("OrderTicket", backref='order')

    def __init__(self,
Mario Behling
Mar 15 2017 17:56
Could anyone help to get the table header of the schedule fixed?
Screenshot from 2017-03-16 01-56-19.png
Afroz Ahamad
Mar 15 2017 18:18
@rctay I reran python runserver and now I get this error page:
And this is console log
In the log the error again is this : ValueError: Malformed IP address
Mar 15 2017 18:50
@enigmaeth do it without using internet .
Disconnect you r internet
and then run
Afroz Ahamad
Mar 15 2017 20:27
@Himanshi-Khandelwal It worked :sparkles:
Why doesn't it work on internet? ( malformed IP)
Afroz Ahamad
Mar 15 2017 20:52
@niranjan94 Does the state field in an event not allow completed as a valid data? I tried importing an event which had state : completed, I got an error. Changing the value todraft solves the problem.
Where can I find the data allowed for a field?
The API Docs at list out the Requirement and Access of a field.
Default for state is Draft.