Closed (fixed)
Project:
Pygmentizer
Version:
7.x-2.0-rc2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2013 at 00:13 UTC
Updated:
19 Apr 2014 at 17:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tr33m4n commentedScratch that, seems to be working now
Comment #2
tr33m4n commentedI had to remove the pygmentizer_requirements function though, seems to actually work fine, guess the way the module is using libraries is incorrect
Comment #3
el7cosmosThe problem is in
pygmentizer_requirements()calllibraries_detect("PHPygments").Since module not installed, then this library is not registered yet via
pygmentizer_libraries_info()andlibraries_detect("PHPygments")will always return FALSE.I don't know if this good practice, but i change the requirement to check only in runtime phase
Comment #4
tr33m4n commentedThanks for that, will patch and test when next working on that project
Comment #5
el7cosmosComment #6
capynet commentedPatch #3 applied!
Comment #7
Duion commentedI have the patched version, but still the same issue, cannot activate the module, because the library is not detected.
Comment #8
Duion commentedSorry, my fault, it works now.