[Pkg-owncloud-maintainers] Bug#796814: owncloud-apps: The music app isn't working when asset-pipeline is enabled due to a javascript error.

Tommaso Gragnato gragnato.tommaso at gmail.com
Mon Aug 24 19:38:36 UTC 2015


Package: owncloud-apps
Version: 0~~20141022-1
Severity: important

Dear Maintainer,

After asset-pipeline has been enabled in config.php to obtain a performance gain, 
loading the music app as usual from https://<ip>/index.php/apps/music/#/ lead to a javascript error.
After disabling asset-pipeline all went normal again.
     
The outcome of this is:
   
Error: Cannot find module 
'function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}' s7bd7f2781806d2ac6a47b1cb3cfb3ebb.js:26071:187 (funzione anonima)7bd7f2781806d2ac6a47b1cb3cfb3ebb.js:26799

Inspecting this, it appears that it is due to:

//# sourceMappingURL=aurora.js.map
(function e(t, n, r) {
  function s(o, u) {
    if (!n[o]) {
      if (!t[o]) {
        var a = typeof require == "function" && require;
          if (!u && a)
            return a(o, !0);
          if (i)
            return i(o, !0);
        throw new Error("Cannot find module '" + o + "'")
        }
        var f = n[o] = {
          exports: {}
        };
        t[o][0].call(f.exports, function(e) {
          var n = t[o][1][e];
          return s(n ? n : e)
        }, f, f.exports, e, t, n, r)
      }
      return n[o].exports
    }.....

This prevent the loading of the Music module 'cause of:
[$injector:nomod] Module 'Music' is not available! 
You either misspelled the module name or forgot to load it. 
If registering a module ensure that you specify the dependencies as the second argument.

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages owncloud-apps depends on:
ii  libjs-angularjs   1.2.26-1
ii  libjs-underscore  1.7.0~dfsg-1
ii  owncloud          7.0.4+dfsg-4~deb8u1

Versions of packages owncloud-apps recommends:
ii  clamav  0.98.7+dfsg-0+deb8u1

owncloud-apps suggests no packages.

-- no debconf information



More information about the Pkg-owncloud-maintainers mailing list