Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in DataTables while suppressing input #12

Open
Tazovsky opened this issue May 31, 2017 · 8 comments
Open

Error in DataTables while suppressing input #12

Tazovsky opened this issue May 31, 2017 · 8 comments

Comments

@Tazovsky
Copy link

Tazovsky commented May 31, 2017

Firstly:
While supressing input renderDtOutput_rows_current using .: .renderDtOutput_rows_current package DataTables (R package DT) returns error.

Secondly:
shinyURL catches every input - including currently rendered rows, e.g.:
renderDtOutput_rows_current=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25
so you can imagine what happens when you render 1000 rows...

Can you add argument to omit specific inputs?

@aoles
Copy link
Owner

aoles commented May 31, 2017

Thanks for your feedback! Would you mind including a MWE illustrating the issue?

Cheers,
Andrzej

@Tazovsky
Copy link
Author

Andrzej,
a powiedz mi proszę czym jest MWE?

pozdrawiam,
Kamil

@aoles
Copy link
Owner

aoles commented May 31, 2017

MWE = minimal working example

czyli najlepiej mozliwie prosta ale kompletna appka ktora bede mogl odpalic u siebie na zasadzie copy-n-paste :)

@Tazovsky
Copy link
Author

OK, spreparuję przykład jak znajdę chwilę ;)

@Tazovsky
Copy link
Author

@aoles tutaj MWE: https://github.com/Tazovsky/shinuURL_MWE/blob/master/app.R

Logi:

HTTP/1.1 403 Forbidden
Date: Wed, 31 May 2017 10:30:20 GMT
Server: Apache/2.4.18 (Ubuntu)
x-powered-by: Express
Content-Type: text/html; charset=utf-8
X-Remote-User: USERNAME
Keep-Alive: timeout=5, max=65
Connection: Keep-Alive
Transfer-Encoding: chunked

POST /shiny/user/shinyURL_MWE/session/0b3d326fb1deab7c66e3dfbe2f0f4454/dataobj/.dtOutput?w=&nonce=981c2bad07d514da HTTP/1.1
Host: HOSTNAME
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Accept: application/json, text/javascript, /; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: https://HOSTNAME/shinyURL_MWE/
Content-Length: 1355
Cookie: user-id=userid|Wed%2C%2021%20Jun%202017%2012%3A47%3A57%20GMT|6mKxUuBZ%2Bb5E1OPa9sH%2BX96qdjPO4jgH4dyNE4wuI8Q%3D; hudson_auto_refresh=true
Authorization: AUTH
Connection: keep-alive

A tutaj załączam screeny

Wydaje mi się, że przez tę . może się ten link gryźć z apachem. Dlatego dobrze by było mieć możliwość pominięcia konkretnych inputów.

@aoles
Copy link
Owner

aoles commented May 31, 2017

Thank you Kamil for sharing the code. I'm not sure I can reproduce the error, though, at least running the app in RStudio viewer and in Firefox ESR 52.1.2 seems to be fine. Could you maybe clarify how do you run the app and at which stage the error occurs?

@Tazovsky
Copy link
Author

Yes, it works in RStudio for me too. But not in Firefox. Error occurs just after app start.

@aoles
Copy link
Owner

aoles commented May 31, 2017

So which version of FF are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants