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

Mar 2017
Mar 09 2017 02:05
Hello! Really cool project. I'm trying to get it installed on windows 10 and running into some issues. I didn't see anything related to my problem in the open or closed issues on the repo. I'm trying to get the vagrant installation working, but for some reason the safemarkup package isn't installing. Again, running windows 10, I have both Python 2.7 and 3.6 installed. Vagrant version is 1.9.1 and I'm using the latest version of Oracle's VirtualBox. PostgreSQL was installed about 30 minutes ago. pip for Python2 is 9.0.1 and for Python 3 it is the same.
I'll include screenshots of the errors once the vagrant box is done installing again
Mar 09 2017 02:26
May have found this issue actually. I had nodist installed as well as nvm. Will know shortly
Pradeep CE
Mar 09 2017 14:59

I'm working on fossasia/open-event-orga-server#3252, and the issue seems to be a problem while initializing DataTable on the page. The error printed on the console is this:

Uncaught TypeError: Cannot read property 'style' of undefined

I tried moving the initialize code inside a $(document).ready() and changing the config options to DataTable, but nothing seems to work. I am probably missing something obvious here, can someone please point me in the right direction?

Saptak Sengupta
Mar 09 2017 15:38
@cepradeep I think this is because in the line you mentioned above, the percentages you mentioned add up to 76% rather than 100%. Please modify them so that they add up to 100% and I think it will work...
Pradeep CE
Mar 09 2017 17:42
@SaptakS Nope, that didn't work. The issue turned out to be initializing DataTable on the tables inside the hidden tabs. This was breaking the URL hash update on clicking the tabs as well.
Fixed it, PR on its way :)