Hi,

just saw that the integration with the Fontello module is broken since the icon beta4 version. I get this when trying to upload a zip file generated by fontello.com:

Warning: file_get_contents(temporary://icon_api_7c4955af54f3db50307f0dc2a7724e6a/config.json): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in fontello_icon_fontello_import_validate() (line 40 of /var/www/drupal_icon/sites/all/modules/contrib/fontello/fontello.module).
The uploaded archive file does not contain a config.json file. Ensure this is a proper archive file generated by Fontello.

With the beta3 version it works.

Thanks

Comments

markhalliwell’s picture

Title: Fontello integration broken since beta4 » Wrapped ZIP archives not extracting properly
markhalliwell’s picture

Status: Active » Fixed

Committed ef1b1b8 to 7.x-1.x:

Issue #2198371 by Mark Carver | drupov: Wrapped ZIP archives not extracting properly.

drupov’s picture

And it works, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit ef1b1b8 on 7.x-1.x, icon_tabs-integration by Mark Carver:
    Issue #2198371 by Mark Carver | drupov: Wrapped ZIP archives not...
candelas’s picture

Hello

I tried with 7.x-1.0-beta5 and with last dev and I keep having this problem when I upload a .zip with Fontello 7.x-1.0.

 Warning: file_get_contents(temporary://icon_api_7899373bd7a508f425bc0581af7e2b1e/config.json): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in fontello_icon_fontello_import_validate() (line 41 of /var/www/drupal/sites/all/modules/fontello/fontello.module).
    The uploaded archive file does not contain a config.json file. Ensure this is a proper archive file generated by Fontello.

I am in a localhost Ubuntu 12.04 Apache 2.0 PHP 5.3.10

Also if I try to upload a .tar, I get this error

Fatal error: Call to undefined method Archive_Tar::close() in /var/www/drupal/sites/all/modules/icon/includes/import.inc on line 134

Since I could upload with version beta3 I used it to get the bundles and for the rest the dev is working well at the moment.

Thanks a lot for this module. If I can help testing something, just tell :)

candelas’s picture

Status: Closed (fixed) » Needs work

I forgot to say that I change the folder name to not have problems with apache and its alias 'icons'.

cthshabel’s picture

Hey everyone,

Just also reporting that 7.x-1.0-beta5 is still not working. Same error as everyone is mentioning.

I rolled back to beta3 and use a new download from fontello (today 12/14/2014) and worked perfect.

cmonnow’s picture

Just a note that Fontello zips will only work with Icon API if you keep the original zip file name (where the folder in the zip has the same name as the zip file). I assume this is the most common cause of confusion?

  • markcarver committed ef1b1b8 on 8.x-1.x
    Issue #2198371 by Mark Carver | drupov: Wrapped ZIP archives not...