From: Wolfgang M. <wol...@ex...> - 2012-12-24 16:56:11
|
Hi Joe, sorry, I was just working on some final fixes to the dashboard to 1) display if a certain version of eXist-db is required by a package, 2) allow apps to show an installation note or warning before the user installs. I used the demo app for testing and temporarily broke it. Installation should work again now though. Wolfgang Am Montag, 24. Dezember 2012 um 17:49 schrieb Joe Wicentowski: > Hi Dannes, > > > it should be OK right now..... > > It is! Thank you very much. The only public repo app I'm having > problems with is the demo app - which (1) has two entries in the list > of apps, and (2) installing either one yields the same error, "Install > Application: Failed to connect to public repo." Odd, because I have > no problem connecting to the demo server and even retrieving the list > of apps at http://demo.exist-db.org/exist/apps/public-repo/public. My > exist.log reports, "Retrieving package from > http://demo.exist-db.org/exist/apps/public-repo/find?name=http%3A%2F%2Fexist-db.org%2Fapps%2Fdemo" > and no error. But going to this URL yields this error: > > err:XPTY0004 checking function parameter 1 in call > util:binary-doc($config:app-root "/public/" $app/attribute::{}path): > XPTY0004: The actual cardinality for parameter $app/attribute::{}path > does not match the cardinality declared in the function's signature: > zero or one. Expected cardinality: $app/attribute::{}path, got zero or > one. [at line 15, column 72, source: > /db/apps/public-repo/modules/find.xql] > > It's odd to see an expected cardinality of "$app/attribute::{}path", > isn't it? Looking at the source of find.xql, 15:72 refers to the > $app/@path here: > > let $xar := util:binary-doc($config:app-root || "/public/" || > $app/@path) > > Is this a problem with error messages involving ||, I wonder? > > Joe > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Exist-development mailing list > Exi...@li... (mailto:Exi...@li...) > https://lists.sourceforge.net/lists/listinfo/exist-development |