Active
Project:
Patch manager
Version:
7.x-1.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2013 at 22:13 UTC
Updated:
4 May 2016 at 20:56 UTC
Jump to comment: Most recent
Not sure why but I always receive an error message when trying to apply patches. Here's a scenario.
1) Want to apply this patch to Menu Attribute Module (7.x-1.0-rc2)
https://drupal.org/files/menu_attributes-attributes_for_li-1488960-25.patch
2) DL and upload to Patch Manager, no problem
3) Apply Patch, receive error message
Patching did not go smoothly.
This command was issued: /usr/bin/patch -p0 --verbose -d '/data/disk/o5113920909/distro/001/drupal-7.22.1-dev/sites/all/modules/menu_attributes' -i '/data/disk/o5113920909/distro/001/drupal-7.22.1-dev/sites/offordable.com/files/patches/menu_attributes-attributes_for_li-1488960-25.patch'
This was the output from patch:
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/menu_attributes.api.php b/menu_attributes.api.php
|index 3d63c51..57c8fdb 100644
|--- a/menu_attributes.api.php
|+++ b/menu_attributes.api.php
--------------------------
Patching file menu_attributes.api.php using Plan A...
Hunk #1 succeeded at 16.
Hunk #2 succeeded at 31 with fuzz 1.
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/menu_attributes.api.php b/menu_attributes.api.php
|index 3d63c51..57c8fdb 100644
|--- a/menu_attributes.api.php
|+++ b/menu_attributes.api.php
--------------------------
Patching file b/menu_attributes.api.php using Plan A...
Hunk #1 FAILED at 16.
Hunk #2 FAILED at 29.
Performed Apply patch on 1 item.
Comments
Comment #1
R-H commentedComment #2
R-H commentedI have also tried to apply this patch to Menu Attributes 7.x-1.x-dev. Same error message.
Thank you for your help.
Comment #3
sillo commented... not much help here i see.. You posted this 3 years ago and no one replied... I must use a alternative for Patch Manager then.. Im experiencing the same issues as you, i got the module name from the modules info file, and Patch Manager says it cant find the module..
Comment #4
Yuri commentedIn my current install it does work, (apart from other warnings and messages posted elsewhere) ..so maybe check what module makes this module not work for you?