authentic-ubersicht icon indicating copy to clipboard operation
authentic-ubersicht copied to clipboard

No display

Open rjrobinson opened this issue 8 years ago • 14 comments

So Its not displaying anything. I have restarted, and reinstalled. I have upgraded to the latest version of Uberschit . debug console is showing no errors. I do have the widget XHR showing an empty obj {}

Thoughts?

rjrobinson avatar Sep 11 '15 13:09 rjrobinson

Same issue... nothing displays.

colineberly avatar Oct 14 '15 06:10 colineberly

same here...

bondarewicz avatar Nov 05 '15 10:11 bondarewicz

Same here, OSX 10.11 Übersicht 0.5(17), dual monitor, empty object {}

ToledoEM avatar Nov 05 '15 13:11 ToledoEM

same here. sigh.

sassyass avatar Nov 17 '15 19:11 sassyass

I've just started using ubersight an hour ago and also haven't been working with coffeescript before.

I fixed it by "killing" geolocation service. Just define a variable above with hardcoded long,lat and return that in function.

In config area:

location: "44.79824,20.439432"

Find the curl request for api.forecast and replace it with:

"curl -sS 'https://api.forecast.io/forecast/#{apiKey}/#{@location}?units=si&exclude=#{@exclude}'"

Change afterRender to

afterRender: (domEl) ->
    @command = @makeCommand(@apiKey, "#{location}")
    @refresh()

Not sure if semantically all is well, I haven't touched coffeescript before. Maybe someone create a patch or I might when I get a better glimpse of the issue.

ntucakovic avatar Jan 14 '16 23:01 ntucakovic

I can confirm it working with Übersicht v.0.7(23) & forecast.io apiKey

bondarewicz avatar Jan 15 '16 19:01 bondarewicz

Works to hack this hardcoded location variable (and avoid geolocation function) in Übersicht 0.9. But why it is failing is still unanswered? Anyone have any ideas?

esthor avatar Jun 26 '16 09:06 esthor

So it shows up as JSON Parse error: Unexpected identifier "Not" ?

Is it just me?

steve1412 avatar Oct 28 '16 22:10 steve1412

They updated the api thats why its broken, ntucakovic suggestion does work if you put your geo location automatically. I can submit a pull request for the new api here soon, just cleaning up the working code

chonthu avatar Dec 06 '16 17:12 chonthu

"So it shows up as JSON Parse error: Unexpected identifier "Not" ? Is it just me?"

Nope, I got it working for about an hour then that message appeared. Also turning on the temp display and making it fahrenheit cause the thing to close out. Also getting a never ending stream of notifications that there is an Error: Line 3 Unexpected token....

bmehalo avatar Dec 29 '16 23:12 bmehalo

I was getting the 'Unexpected identifier "Not"' problem, and taking a space out of the coords seemed to fix it. I.e.: Good: "12.3456789,98.7654321" Bad: "12.3456789, 98.7654321"

pakelley avatar May 22 '17 04:05 pakelley

I also ran into this issue and it seems the fix is enabling Location Services and allowing Übersicht to use location services. image

victoru avatar Apr 25 '19 15:04 victoru

I should also add that the link should be changed to https://api.darksky.net/forecast/#{apiKey}/#{location}?units=si&exclude=#{@exclude}

oikonang avatar Oct 15 '19 12:10 oikonang

I also ran into this issue and it seems the fix is enabling Location Services and allowing Übersicht to use location services.

I had to update Übersicht in order to get the prompt to allow Location Services: Screen Shot 2020-03-03 at 15 11 54

f1337 avatar Mar 03 '20 20:03 f1337