I have tried to install an app feature that's listed in the All Apps tab. It says that it has downloaded the update successfully but I've got a dark overlay after the process and the app is not actually installed. I checked the recent log messages and I got this error:

UpdaterException: Unable to determine the type of the source directory. in Updater::factory() (line 99 of D:\xxx\www\yyy\includes\updater.inc).

The manifest I have only has one downloadable, the feature itself. So I'm quite sure that is not the issue. Can anybody guide me the cause of this error?

Comments

jec006’s picture

This error message generally means that the archive that was downloaded is not something that the update module knows how to extract.

Make sure your feature is either .zip or [.tgz|tar.gz].

Mark Vincent Verallo’s picture

The feature is indeed in .zip or [.tgz|tar.gz]. The error is still there.

jec006’s picture

Status: Active » Postponed (maintainer needs more info)

Could you provide the app that is causing the issue so we can try to diagnose it for you?

febbraro’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

If this is still an issue please reopen

sinasalek’s picture

I noticed that the syntax of the dependencies should be exactly the same as the following line otherwise you may encounter the same error mentioned here

dependencies[moduleinfo] = moduleinfo 1.0
sinasalek’s picture

jernej.c’s picture

I've been having the same issue, although it's with an app that I'm trying to create.

The modules that the feature includes are already installed in the installation that I'm trying to enable the app in, could that be the problem? Also, there are no dependencies listed, cause it's currently a test app.

This is how my manifest file looks like (some_app_basic/app/manifest.app)

name = Some app basic
description = Adds some basic stuff for Some app
machine_name = some_app_basic
version = 1.0
downloadable = some_app_basic 1.0
author = Author
author_url = http://www.author.com
screenshots[] = some-screenshot.png
logo = some-logo.png
downloadables[some_app_basic 1.0] = http://www.smth.com/apps/some_app_basic.zip

The json seems to be working fine, since the app gets listed in the admin panel, but when I click install the mentioned error pops up (download works fine).

Any ideas?

jernej.c’s picture

Status: Closed (won't fix) » Active
chriz001’s picture

I had the same error, I tried using a tar file instead of a zip and it seems to have worked.
Im testing on osx 10.8.3

hefox’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

Re-open if still an issue