When creating a subtheme, it starts to work for about a second, then throws this error:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /?q=batch&id=11&op=do StatusText: Service unavailable (with message) ResponseText: Exception: Archivers can only operate on local files: not supported in archiver_get_archiver() (line 8149 of C:\Data\Drupal\Sites\d7panopoly.local\includes\common.inc).

Comments

pirog’s picture

OH NO!

I can't really say we have tested this a lot out on Windows machine. What stack or environment are you using?

ldc711’s picture

wamp on windows 8

is there a manual workaround? I would love to get this working.

thx!

pirog’s picture

I wish i knew more about how these things worked on Windows. The best advice i can give at this point is to see if there is any other relevant error logs in your watchdog that might help illuminate the situation.

You could also check out the Kalastack environment, which is what we use at Kalamuna. It's linux based but you *should* be able to run it no problems within virtualbox/vagrant on windows. The subtheme generator definitely works and is well tested on that environment. It also works very reliably on pantheon so you could also build a site there and import it into WAMP.

I wish i had better help than that and hopefully you can find some more logging info and/or someone who knows Windows better can help

:(

ldc711’s picture

when i clicked on continue to error page:

HTTP error 1553448694 occurred when trying to fetch http://github.com/twbs/bootstrap/releases/download/v3.0.3/bootstrap-3.0.....
Notice: Undefined index: message in _kalatheme_batch_done() (line 671 of C:\Data\Drupal\Sites\d7panopoly.local\sites\all\themes\kalatheme\includes\setup.inc).

any ideas from that?

thanks

pirog’s picture

I just checked and this link no longer seems to contain the bootstrap library. I would download the latest dev release of Kalatheme which uses a more stable location for the bootstrap download.

Let me know if that helps.

ldc711’s picture

thanks for your response but I installed latest and same error...

pirog’s picture

Might just be an issue with Windows. Have you tried it out using Kalastack or on Pantheon at all?

dariogcode’s picture

Same error here. It appear to be something about directory separator.

pirog’s picture

@tilon

can you post an error in here?

dariogcode’s picture

Sure.

This is the error when tried to generate a theme using a custom bootstrap (from getbootstrap/customize):

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /winover/d7/batch?id=17&op=do StatusText: Service unavailable (with message) ResponseText: UnexpectedValueException: RecursiveDirectoryIterator::__construct(sites/default/files/tmp\wacala,sites/default/files/tmp\wacala) [recursivedirectoryiterator.--construct]: El sistema no puede encontrar el archivo especificado. (code: 2) in RecursiveDirectoryIterator->__construct() (line 602 of D:\www\winover\d7\sites\all\themes\kalatheme\includes\setup.inc).

This is the error when tried to generate a theme using a value from dropdown (Cerulean, etc):

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /winover/d7/batch?id=18&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function _update_manager_cache_directory() in D:\www\winover\d7\modules\update\update.manager.inc on line 838

Not sure why the last have "update module" I have this disabled in my site.

pirog’s picture

We are piggybacking off of the functions in update.module vs duplicating code so you will have to turn that module on. This should be made more clear in teh documentation.

Have you tried it with Update turned on?

GAMe’s picture

Im in a windows environment with IIS 7.5, PHP 5.3.28 and am getting the same error. Has anyone else had any luck with this? I have turned on verbose logging within PHP but its not logging this error which is really odd as other previous errors to older sites I had issues with had been logged. Any further direction on this would be great.

GAMe’s picture

One thing it did seem to be struggling with was creating the dirs. Files are downloaded to temp and unzipped etc but it isn't making the directories. If I create an empty dir with my given subtheme name it then proceeds slightly and creates the .info file.

GAMe’s picture

it is failing with the step after fontawesome. It downloads the zip and puts it in the tmp dir and then it fails should the next part be to unzip it?

GAMe’s picture

I take it back the zip files were extracted to appropriate folders ie kalatheme-font_awesome-bootstrap-f56ed3fa. So whats the next step is this literally creating the actual theme dir?

GAMe’s picture

So I manually created 2 folders in the temp dir called "mytheme" and "mytheme_bootstrap". Once doing this the generator goes further and then errors with this:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /?q=batch&id=10&op=do StatusText: Internal Server Error ResponseText: {"status":true,"percentage":"100","message":"Kalathemed 7 of 7 in 8 sec\u003Cbr \/\u003EDress you up in my love"}Uncaught exception thrown in shutdown function.PDOException: in dblog_watchdog() (line 160 of C:\inetpub\wwwroot\Drupal7\ponopoly\modules\dblog\dblog.module).

pirog’s picture

great to see all the chatter here.

we are working on a new way to do all this magic that is more inline with how the apps/update modules work. this should be in the next release and may help alleviate some of the issues seen here.

someone has also volunteered to spin up a windows IIS server for us so we can get more involved in resolving this issue.

we are very keen to have this work more reliably outside of kalabox/pantheon and most LAMP/LEMP stacks but def need an assist from all willing windows people.

dariogcode’s picture

I have windows + apache for test if you need.

pirog’s picture

awesome!

i'll definitely update this issue when we release the new version so testing can begin.

pirog’s picture

Status: Active » Needs review

I would try out the latest dev version here and see how that goes. The subtheme generator is now in the themes settings page.