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

when clicking "save" query (codemirror) text box gets cleared #45

Closed
spaceshipoperator opened this issue Dec 13, 2013 · 4 comments · May be fixed by Reflektion/redash#4
Closed

when clicking "save" query (codemirror) text box gets cleared #45

spaceshipoperator opened this issue Dec 13, 2013 · 4 comments · May be fixed by Reflektion/redash#4

Comments

@spaceshipoperator
Copy link

when the query is selected in the list, the data table has records, query is apparently executable, but the text box (where I expect the query) is empty.

@spaceshipoperator
Copy link
Author

also (I assume unrelated to the issue I reported...perhaps a different issue?) the npm install seems to get stuck in a loop when it gets to pngquant (within grunt-contrib-imagemin), pegs the processor and hangs my laptop (Arch Linux), also reproduced problem on server (Gentoo)

@spaceshipoperator
Copy link
Author

selecting a query from the list or save query results in this from firefox:

[09:01:43.179] GET http://meddadada.com:8888/views/queryfiddle.html [HTTP/1.1 200 OK 65ms]
[09:01:42.667] "HTML5 notifications are not supported."
[09:01:42.979] Use of attributes' textContent attribute is deprecated. Use value instead. @ http://meddadada.com:8888/scripts/e05f1dca.plugins.js:9
[09:01:43.572] GET http://meddadada.com:8888/views/grid_renderer.html [HTTP/1.1 200 OK 68ms]
[09:01:43.574] GET http://meddadada.com:8888/api/queries/1 [HTTP/1.1 200 OK 73ms]
[09:01:43.458] "HTML5 notifications are not supported."
[09:01:43.505] "Error: a(...).sortable is not a function
a.fn.pivotUI@http://meddadada.com:8888/scripts/e05f1dca.plugins.js:17
.link/<@http://meddadada.com:8888/scripts/7a32774b.scripts.js:1
e.prototype.$digest@http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2
e.prototype.$apply@http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2
e@http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2
p@http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2
qc/</r.onreadystatechange@http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2
"
[09:01:43.499] Use of attributes' specified attribute is deprecated. It always returns true. @ http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js:3

this from chrome:

TypeError: Object [object Object] has no method 'sortable'
    at a.fn.pivotUI (http://meddadada.com:8888/scripts/e05f1dca.plugins.js:17:18814)
    at Object.fn (http://meddadada.com:8888/scripts/7a32774b.scripts.js:1:19097)
    at Object.e.$digest (http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2:10995)
    at Object.e.$apply (http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2:12061)
    at e (http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2:15443)
    at p (http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2:16860)
    at XMLHttpRequest.r.onreadystatechange (http://meddadada.com:8888/scripts/e05f1dca.plugins.js:2:17486) 

(codemirror text box is empty)

@arikfr
Copy link
Member

arikfr commented Dec 15, 2013

@spaceshipoperator

re. the query disappearing: this happens both on Chrome and Firefox?

re. npm: personally I had no issues with it neither on OS/X or Ubuntu, but heard about similar issues with Amazon Linux AMI. This is most likely an issue with npm itself, so you might want to open a ticket in npm's issue tracker.

But how did you manage around it? If you haven't, maybe you're missing some library which causes the issue you're experiencing?

@arikfr
Copy link
Member

arikfr commented Feb 5, 2014

@spaceshipoperator I believe you have is due to different newer CodeMirror versions than what we used. Recently we hardened the version definitions in bower.json, so if you install dependencies now it will behave better.

Also you can download one of the releases https://github.com/EverythingMe/redash/releases, which already have the assets "compiled" and UI packages installed.

Please re-open if you still has this issue.

Thanks.

@arikfr arikfr closed this as completed Feb 5, 2014
washort pushed a commit to washort/redash that referenced this issue Mar 8, 2017
washort pushed a commit to washort/redash that referenced this issue Mar 22, 2017
washort pushed a commit to washort/redash that referenced this issue Apr 7, 2017
washort pushed a commit to washort/redash that referenced this issue Dec 8, 2017
washort pushed a commit to washort/redash that referenced this issue Dec 13, 2017
washort pushed a commit to washort/redash that referenced this issue Jan 8, 2018
washort pushed a commit to washort/redash that referenced this issue Jan 9, 2018
washort pushed a commit to washort/redash that referenced this issue May 31, 2018
engeenity pushed a commit to engeenity/redash that referenced this issue Dec 15, 2024
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

Successfully merging a pull request may close this issue.

2 participants