Comments (7)
Thanks for the bug report.
I am unsure how to resolve this. Would it be possible to only conditionally (i.e. only when not already loaded) load sabre?
We could do this but it's not guaranteed to work because icalevents and davcal may depend on different versions of sabre...
I searched the web a little bit and found this here, which describes basically the same issue in the context of WordPress plugins:
https://deliciousbrains.com/php-scoper-namespace-composer-depencies/
This may be the way to go.
@andyboeh, any thoughts on this?
from dokuwiki-plugin-icalevents.
AFAIK, the two plugins are simply incompatible.
Regarding the scoper: I don't think that helps, since it does not prevent two libraries from trying to live in the same namespace.
Yes, basically either davcal or icalevents could check the presence of either and make use of the other bundled library, but that does not prevent any version conflicts.
One (important) thing to add: Currently, I don't have the resources to do bigger changes in davcal. However, would it be an option for @thegcat to use either of the plugins, since they both provide very similar features with regard to ics subscriptions?
from dokuwiki-plugin-icalevents.
We use icalevents to show a table of events from an ical feed, I haven't tried using davcal for this. Would this be the "client mode" the documentation refers to? It seems this requires an admin to have a prepopulated list of feeds to read and/or an admin to add each feed that needs to be connected to the configuration. It would be less ideal than having users just being able to add an arbitrary URL, but that would probably be doable for us, yes.
from dokuwiki-plugin-icalevents.
Yes, exactly. You need webdavclient installed, configure the feed URLs there (as admin) and include the feeds as webdav:// in davcal or davcaltable to get a tabular output.
Of course, this does not prevent any incompatibility but might be an option for you in the meantime.
from dokuwiki-plugin-icalevents.
Regarding the scoper: I don't think that helps, since it does not prevent two libraries from trying to live in the same namespace.
I think that's exactly what I does, by prefixing the namespaces:
https://github.com/humbug/php-scoper
from dokuwiki-plugin-icalevents.
Well, I seem to have misinterpreted the description...you are right, that might solve the issue. As mentioned, I don't really have the time to try it.
from dokuwiki-plugin-icalevents.
Yes, exactly. You need webdavclient installed, configure the feed URLs there (as admin) and include the feeds as webdav:// in davcal or davcaltable to get a tabular output.
Of course, this does not prevent any incompatibility but might be an option for you in the meantime.
I'll see about using this, for the moment it seems the problem has vanished? (it also did work a long time without this error, we're not quite sure what prompted it to appear) But yes, this would be workable, so we have a solution for our case.
Thank you a bunch for your help!
from dokuwiki-plugin-icalevents.
Related Issues (20)
- Set PHP locale to current language when dealing with the dates HOT 4
- Consider recurrent events HOT 2
- Broken link to `lib/plugins/icalevents/ics.png` when using Doku's internal "Nice URL" engine HOT 5
- Version 2017-04-16 is not working with PHP 5.6.30-0+deb8u1, needs php 7 HOT 3
- 500 when using "from" and "to" args HOT 3
- Consider status:cancelled HOT 4
- Support for filter according to status of event HOT 3
- summary_link not working with Cyrillic symbols HOT 2
- Way to group events by day
- Just doesn't work at all HOT 5
- iCalEvents and Bootstrap3 issue HOT 8
- Feature - Locale settings HOT 2
- Time zone is not correctly exported
- URL in the description section are not recognised by icalevents when importing from google calendar HOT 1
- category evaluation
- Maintainer needed HOT 5
- dformat support lost HOT 7
- Examples in documentation HOT 4
- Adjust timezone offset HOT 5
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 dokuwiki-plugin-icalevents.