Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Very similar to #1083122: Can't check any projects. I'm getting this error for a lot of projects:
1. Could not hash remote project: [Module's Name]
2. Could not hash remote project: [Module's Name]
3. Could not hash local project: [Module's Name]
acquia_connector, admin, drupal (yeah, that's interesting), boxes, ctools, facetapi, hacked (also interesting),
And here's some of the modules that do work:
job_scheduler, link, linkchecker, location_feeds, media_youtube, memcache, metatags_quick, module_filter, multiform, references, page_title, paranoia, pathauto, ping.
Comments
Comment #1
gregglesIf I go back and do a "drush hd admin" then it seems to work properly.
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedStrange, is this reproducible at all?
Comment #3
gregglesHmmm. not very reproducible. On a second machine I can't get the same behavior for the same modules. I'll keep digging.
Comment #4
gnucifer CreditAttribution: gnucifer commentedTo me this happened when sharing the same temp-dir between a drupal6 and drupal7 installation. Problem resolved when using separate directories.
Comment #5
betoscopioI'm having similar errors using the module with drush:
When I try to verify Drupal core with
drush hd drupal
I get:Some with other modules as admin_menu, seems to work fine.
Generating the report in the UI shows a similar error message on Status most of my contrib modules are checked but Drupal is not verified.
Using
drush hlp
I got these output:I've tried this in two diferent servers and i keep receiving the same output. Is posible to grab the files with
wget
, so they problem is not that isn't possible to have access to the files.Any idea?
Comment #6
jhedstromSeeing this on a site. After a bit of digging, the issue is that the release info returned by the update module upon which Hacked relies, doesn't contain all releases. I haven't had a chance to dig into this further, but one module that was failing was Libraries 1.0, and another was Menu Block 2.3. In the case of Libraries, that release is unsupported, but in the case of Menu Block, that is the current release.
I'd thought perhaps running cron would help, but it didn't. However, manually clearing the update module's cache (
DELETE FROM cache_update
) fixed the problem.Hacked still fails to fetch dev releases that contain a version string similar to
7.x-3.0-beta1+4-dev
.Comment #7
Steven Jones CreditAttribution: Steven Jones commented@jhedstrom What version of Drupal core was this, 'they' keep changing the API and what's returned from update module, so it may have changed again, and I need to update.
Also, I'm not sure if we'll every support version strings like: 7.x-3.0-beta1+4-dev because they aren't entirely valid, and are a fruity Drush only construct, Drupal.org doesn't generate packages with such version numbers.
Comment #8
gregglesI think you're misinformed:
Comment #9
Steven Jones CreditAttribution: Steven Jones commentedOh wow, when did that happen!
Comment #10
Steven Jones CreditAttribution: Steven Jones commentedI've created a new issue for handling this new info string format: #1835444: Support the new dev info strings
Comment #11
jhedstromActually, Drupal.org, and Drupal core in turn, support those version numbers. Drush just followed suite.
Comment #12
jhedstromAlso, the version of core for this particular site was 7.14.
Comment #13
Steven Jones CreditAttribution: Steven Jones commentedRight...well if Drupal.org is able to provide these version numbers in the releases feed, then Hacked! should just work.
Comment #14
mErilainen CreditAttribution: mErilainen commentedNot sure what is the current state, but I just noticed while auditing a website that the new format doesn't seem to work, I get "Unchecked" for all dev-modules which use the new format. Modules using the old format report as "Changed" which is not correct either, but there is another issue for the dev-versions of modules.
Comment #15
likewhoa CreditAttribution: likewhoa commentedI can confirm this myself but it's happening with all contrib and drupal core as well, but I also get
WD hacked: Could not download project: Hacked!
when runningdrush hd hacked
Setting to major since this actually makes the module not work as expected.
Comment #16
pietrocap CreditAttribution: pietrocap commentedSame as #15.
Comment #17
pietrocap CreditAttribution: pietrocap commentedHi,
for me It was a path related issue. I'm testing the module on a local environment and in config, media, file system I've changed:
\xampp\tmp\tmp-drupal4test
to
/xampp/tmp/tmp-drupal4test
and now it works for all modules and core but not for hacked!
Trying with drush I get the same results: WD hacked: Could not hash local project: Hacked!
I've tried also changing "/xampp/tmp/tmp-drupal4test" with a more simple "tmp".
Comment #18
Steven Jones CreditAttribution: Steven Jones commentedComment #19
lhridley CreditAttribution: lhridley commentedReopening.
I am having the exact same issue as reported in #15 above, using 7.x-2.0-dev. 7.x-2.0-beta5 will pull some modules, but not all. 7.x-2.0-dev pulls none, not even drupal core.
I am able to download the specific version that the website I am auditing has installed (which is outdated, but available from d.o.) using drush dl module_name-7.x-specific-version-number. I'm not sure why Hacked! cannot download them.
Comment #20
lhridley CreditAttribution: lhridley commentedComment #21
attisanall of a sudden I'm having similar problems :-/
did something about the drupal.org page change so to invoke this error?
Comment #22
rcross CreditAttribution: rcross at CrossFunctional commentedsame here.
Comment #23
rcross CreditAttribution: rcross at CrossFunctional commentedI think i might've narrowed this down to the dev string being problematic.
however, I have one instance where it doesn't seem to be the dev string. I'm wondering if it is because it is an installation profile
Comment #24
colanAfter a debugging session, I'm confirming that this is because Hacked! can't find the dev version string in the list of available releases for the module. See #1835444: Support the new dev info strings.
Comment #25
jollysolutionsI get this on projects that are not development versions
Comment #26
greggles@jollysolutions could you provide more details to help debug this? If you let me know the release number and module name I could try it out and see if I have the same experience.
Comment #27
gregglesComment #28
jollysolutionsAdminimal Administration Menu 7.x-1.7
Backup and Migrate 7.x-3.1
Comment #29
ivnish CreditAttribution: ivnish commented