mvan231

mvan231

Member Since 2 years ago

Experience Points
20
follower
Lessons Completed
5
follow
Lessons Completed
21
stars
Best Reply Awards
5
repos

258 contributions in the last year

Pinned
Activity
Jan
25
2 days ago
Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

Not able to check users with an underscore

When trying to set the widget with a user that has an underscore, there's an error: 2022-01-20 09:44:59: Error on line 151:25: TypeError: undefined is not an object (evaluating 'json[0].user')

Where line 151 has url of username set to anything that has an underscore: url = 'CNAC_GN' //'ps5uknews'

mvan231
mvan231

Is this for the Twitter widget? Or something else?

Jan
18
1 week ago
Jan
13
2 weeks ago
Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

Suggestion for Upcoming Calendar Widget

Hey,

since one of my favorite apps "Agenda+" is no longer being developed, I have a little great feature suggestion:

Hide Calendar and only show upcoming events in this way:

image

mvan231
mvan231

I'm just curious about this one still. Are you still using the widget? Is it having any issues?

Jan
12
2 weeks ago
Activity icon
issue

mvan231 issue mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget. Exception occured: 179:19

Type error: contents is not an object. (evaluating itemName in contents)

Nothing changed. Nothing edited.

What happened?

Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget. Exception occured: 179:19

Type error: contents is not an object. (evaluating itemName in contents)

Nothing changed. Nothing edited.

What happened?

mvan231
mvan231

You are very welcome! I always recommend getting the script direct from the source. The import script code that supermamon made works great too but some strange things can happen when using ScriptDude apparently. Maybe they need to work on it?

anyway, I'll close this issue based on your successful feedback

Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget. Exception occured: 179:19

Type error: contents is not an object. (evaluating itemName in contents)

Nothing changed. Nothing edited.

What happened?

mvan231
mvan231

That error doesn't even make sense. I'm not sure what Script Dude might be doing but you should install the script directly from my GitHub repo by copy and paste or by using supermamon's "import script" script, which I have linked on my repo page of helpful scripts.

I'm surprised you are facing an error on line 5 though because line 5 is all comments

Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget. Exception occured: 179:19

Type error: contents is not an object. (evaluating itemName in contents)

Nothing changed. Nothing edited.

What happened?

mvan231
mvan231

It’s getting worse. Countries with small starting letter: germany, denmark, italy. One normal writing: Spain. Tried many other - the one and only normal resides is Spain.

Delete the widgets and reinstall = nope. Same situation.

That is, indeed strange. I tried all of those countries with both upper case first letter and lower case and all of them worked without issue. What error are you seeing? Still the same one?

Could you look in iCloud Drive under the scriptable folder then covid widget folder and see what files are there? Seems it's hanging up on the caching of the data for some reason

Jan
7
2 weeks ago
Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget. Exception occured: 179:19

Type error: contents is not an object. (evaluating itemName in contents)

Nothing changed. Nothing edited.

What happened?

mvan231
mvan231

If I use all these widgets with country name with small starting letters it works. Example: denmark and not Denmark.

That is very strange. And this is always happening for you?

Dec
25
1 month ago
Dec
8
1 month ago
Dec
6
1 month ago
Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget: 2 word countries problem?

Any problems with a two word country? As example “South Africa”.

If I set in in line 39: const country = args.widgetParameter?args.widgetParameter:'South Africa' i get a: 2021-12-05 14:35:08: Error: The URL is invalid. error.

Any one word country work flawless.

mvan231
mvan231

So glad to hear it! Also, thanks for using this widget!!!

Activity icon
issue

mvan231 issue mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget: 2 word countries problem?

Any problems with a two word country? As example “South Africa”.

If I set in in line 39: const country = args.widgetParameter?args.widgetParameter:'South Africa' i get a: 2021-12-05 14:35:08: Error: The URL is invalid. error.

Any one word country work flawless.

push

mvan231 push mvan231/Scriptable

mvan231
mvan231

Update COVID Trend Widget.js

commit sha: 9febe38c321e5ad95d2ba513519c7f56c1907b60

push time in 1 month ago
Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget: 2 word countries problem?

Any problems with a two word country? As example “South Africa”.

If I set in in line 39: const country = args.widgetParameter?args.widgetParameter:'South Africa' i get a: 2021-12-05 14:35:08: Error: The URL is invalid. error.

Any one word country work flawless.

mvan231
mvan231

I've updated the widget code to accommodate country names with spaces better. You can get it to work with "South Africa" now.

Activity icon
issue

mvan231 issue comment mvan231/Scriptable

mvan231
mvan231

COVID Trend Widget: 2 word countries problem?

Any problems with a two word country? As example “South Africa”.

If I set in in line 39: const country = args.widgetParameter?args.widgetParameter:'South Africa' i get a: 2021-12-05 14:35:08: Error: The URL is invalid. error.

Any one word country work flawless.

mvan231
mvan231

Did you put it in the widget parameter as explained in the instructions? You should not have to modify the code itself

Previous