Comments (4)
Hi @Gerrus,
I'm not sure, have you tried applying credentials? Here are some things to try:
- Try providing a
Username
and correspondingPassword
, omit theIsUsingCredentials
- Open your favorite browser and paste the
Url
in, if it loads there it should also work in theMirror
app
Ironically, you're not the only one experiencing this issue. #5 was reported a few hours after yours. I'll try setting up a google calendar myself and see what happens. Also, in attempting to put https://calendar.google.com/calendar/ical/blub/bla/basic.ics
I end up with the following:
However, I would have expected JSON
- again, I assume you need to provide credentials. Please report back your findings.
from mirror.
Hello IEvangelist,
The problem is not the link to the calendar. The link from above is wrong with intent.
Here is the exception:
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Mirror.Core.CalendarConfig]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'Url', line 2, position 6.
And here is my real JSON string:
{
"Url":"https://calendar.google.com/calendar/ical/**my - creds**/basic.ics",
"Username":"",
"Password":"",
}
The JSON
string I have so in the Configuration.resw
under Calendars purely copied. Is this perhaps wrong?
Thank you!
from mirror.
Hi @Gerrus,
Ah, yes... it needs to copied over as an array. For example:
[{
"Url":"https://calendar.google.com/calendar/ical/**my - creds**/basic.ics",
"Username":"",
"Password":"",
}]
The intent was to aggregate calendars into one, and sort by date. Ideally, if you have other calendars you could add multiple configs within the array.
[{
"Url":"https://calendar.google.com/calendar/ical/**my - creds**/basic.ics",
"Username":"",
"Password":"",
},
{
"Url":"https://some other path/basic.ics"
}]
from mirror.
Thank you so much! Now everything works very good!
Now I will try to make my own mirror. Your project is an example for me
Thanks again!
from mirror.
Related Issues (8)
- Build error dll could not be found HOT 2
- Requesting weather takes too long on slow connection HOT 5
- Could you provide (brief) instructions on the hardware setup you use with this? HOT 3
- Calendars HOT 6
- TryParseExtensions HOT 2
- The speech privacy policy was not accepted HOT 3
- Do.WithRetry doesn't actually retry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirror.