Nivo slider 8x-14 doesnt have proper info.yml file as it is required for Drupal 8. I wonder how did drupal managers pass it as stable version? Latest Dev version doesnt get stalled as it says: Drupal\Core\Extension\InfoParserException: Missing required key (type) in temporary://update-extraction-1d36794e/nivo_slider/nivo_slider.info.yml. in Drupal\Core\Extension\InfoParser->parse() (line 53 of core\lib\Drupal\Core\Extension\InfoParser.php).
Your efforts are much appreciated for a prompt update to Drupal 8. Please sort out these minor irritants. Thanks.

Comments

pkosenko’s picture

This would explain why nivo_slider successfully downloads with Drush but reports having "0 modules" and why it does not display in the extension (modules) page of the most current Drupal 8 (July 2014). I think someone needs to update the nivo_slider project. Here's the Drush output:

$ drush dl nivo_slider
Project nivo_slider (8.x-1.4) downloaded to [success]

c:/Users/me/documents/My Web
Sites/drupal8.1/drupal//modules/nivo_slider.
Project nivo_slider contains 0 modules: .
me@me ~/documents/My Web Sites/drupal8.1/drupal (8.x)
$

rpmskret’s picture

Status: Active » Needs review
StatusFileSize
new331 bytes

I am submitting a patch that should prevent this issue.

Status: Needs review » Needs work

The last submitted patch, 2: nivo_slider-info.yml-2196573-2.patch, failed testing.

rpmskret’s picture

I need some help. I am new to patching. I submitted the patch above after carefully follow advice from Making a drupal patch. I cannot understand why it failed.

Anyone have advice?

Egmund’s picture

Same problem here: Will not install or show up in 'modules'!!!

clivesj’s picture

StatusFileSize
new679 bytes

patch

clivesj’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: nivo_slider-issue-2196573-fix-yml-file.patch, failed testing.

clivesj’s picture

Version: 8.x-1.4 » 8.x-1.x-dev

Status: Needs work » Needs review
clivesj’s picture

@Randy. I think your patch is good. In the test results you can see that the patch is tested against version 8.x-1.4. This version does not has a yml file and the test bot can not find it to apply your patch. I have changed the version to 8.x-1.x-dev. My patch is postponed because 8.x-1.x does not have a valid test.

rpmskret’s picture

@Joop (clivesj): Thank you for your comment. It was my first drupal patch try and I was very disappointed as I followed drupal patching procedures and the patch was very simple. If you are going to be contributing further with the nivo_slider project I could provide my code which worked with a fresh drupal 8 install about a month ago. Let me know if so.

clivesj’s picture

Thanks Randy. Once more: your patch was good, but the version number for this issue was set to 8.x-1.4. So the testbot uses the wrong nivo_slider version to check your patch (should be 8.x-1.x-dev).
Yes, I just offered the maintainer my help to get the module ahead. So if you don't mind you can sent me the code indeed. Please indicate if it works with drupal beta. There are a lot of changes in the first D8Beta version.

deggertsen’s picture

Interested in an update here...

caspervoogt’s picture

I tried Randy's patch and that did solve the issue with the module not appearing in the module manager.

dziemecki’s picture

I was able to get it to register in the modules list by renaming the "nivo_slider.info" file to "nivo_slider.info.yml" and by completely changing the contents:

name: Nivo Slider
type: module
description: Provides a user interface for building a rotating banner powered by the Nivo Slider jQuery plugin.
package: Custom

#core: 8.x
dependencies:
 - block
 - file
 - image
 - libraries
configure: admin/structure/nivo-slider
# Information added by drupal.org packaging script on 2013-03-06
version: '8.x-1.4'
core: '8.x'
project: 'nivo_slider'
datestamp: 1362602973
kentek314’s picture

I copied dziemecki text but still no joy.
How can I register without Drush (I'm on a win10 box) and get the module to register?

hottaco’s picture

Using the latest dev version, editing the info.yml file and pasting the contents of #16 worked for me. After flushing caches.

Christophe Bourgois’s picture

#16 worked for me and version 8.x-1.x-dev
But admin/structure/nivo-slider gives me a 404 page not found

andrtroe’s picture

Assigned: Unassigned » andrtroe
andrtroe’s picture

Assigned: andrtroe » Unassigned
Status: Needs review » Fixed

Fixed in dev version. Thanks to all.

Status: Fixed » Closed (fixed)

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