Hi,

On windows running WAMP the coder_upgrade.info causes the module and cache clear pages to crash

This is because the description is broken on to multiple lines :

name = "Coder Upgrade"

description = "Module conversion suite -- generates code to assist with the upgrade of
               contributed 6.x modules to version 7.x modules.
               WARNING: Use only on contributed modules."

package = Development
;dependencies[] = coder ; Not a dependency
dependencies[] = gplib

; only list files with class declarations
;files[] = coder_upgrade.help.inc
;files[] = coder_upgrade.inc
;files[] = coder_upgrade.install
;files[] = coder_upgrade.module
files[] = coder_upgrade.test
;files[] = conversions/coder_upgrade.begin.inc
;files[] = conversions/coder_upgrade.call.inc
;files[] = conversions/coder_upgrade.db.inc
;files[] = conversions/coder_upgrade.end.inc
;files[] = conversions/coder_upgrade.function.inc
;files[] = conversions/coder_upgrade.install.inc
;files[] = conversions/coder_upgrade.list.inc
;files[] = conversions/coder_upgrade.main.inc
;files[] = conversions/coder_upgrade.other.inc ; Deprecated
;files[] = conversions/coder_upgrade.regex.inc

configure = admin/config/development/coder/upgrade/settings

core = 7.x

; Information added by drupal.org packaging script on 2011-08-19
version = "7.x-1.x-dev"
core = "7.x"
project = "coder"
datestamp = "1313712440"


Simply changing the description as follows resolves the problem

name = "Coder Upgrade"

description = "Module conversion suite -- generates code to assist with the upgrade of contributed 6.x modules to version 7.x modules. WARNING: Use only on contributed modules."

package = Development
;dependencies[] = coder ; Not a dependency
dependencies[] = gplib

; only list files with class declarations
;files[] = coder_upgrade.help.inc
;files[] = coder_upgrade.inc
;files[] = coder_upgrade.install
;files[] = coder_upgrade.module
files[] = coder_upgrade.test
;files[] = conversions/coder_upgrade.begin.inc
;files[] = conversions/coder_upgrade.call.inc
;files[] = conversions/coder_upgrade.db.inc
;files[] = conversions/coder_upgrade.end.inc
;files[] = conversions/coder_upgrade.function.inc
;files[] = conversions/coder_upgrade.install.inc
;files[] = conversions/coder_upgrade.list.inc
;files[] = conversions/coder_upgrade.main.inc
;files[] = conversions/coder_upgrade.other.inc ; Deprecated
;files[] = conversions/coder_upgrade.regex.inc

configure = admin/config/development/coder/upgrade/settings

core = 7.x

; Information added by drupal.org packaging script on 2011-08-19
version = "7.x-1.x-dev"
core = "7.x"
project = "coder"
datestamp = "1313712440"


Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TomGould01’s picture

FileSize
675 bytes
solotandem’s picture

Assigned: Unassigned » solotandem
Status: Active » Fixed

If the cause you indicate is correct, then core should probably be changed to not allow multiple lines. Do you want to file an issue?

In any case, I revised the description and committed it.

TomGould01’s picture

I'm not 100% that this was the cause (multiple lines) but changing the file as above did fix the problem.

If I just removed the quotes and left it on multiple lines it stopped the page from erroring out but the module was not available in the modules page

Perhaps it may have been something to do with the double -- hyphen but that is just a guess

The error was taking place in "drupal_parse_info_file()" in common.inc, line 3517 if you would like to check it out further.

Status: Fixed » Closed (fixed)

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

alexverb’s picture

I can confirm this. It was driving me crazy!

lmeister’s picture

Real cause and proper fix here. This is not a coder problem but a WAMP setup issue:
http://drupal.org/node/1597820#comment-6094060