paypal / AATT

Automated Accessibility Testing Tool
BSD 3-Clause "New" or "Revised" License
602 stars 106 forks source link

Error from git -- git submodule update #12

Closed RichCaloggero closed 7 years ago

RichCaloggero commented 8 years ago

When doing git submodule update, I get the following error: ... fatal: reference is not a tree: 02ea409a140269b32d6a8c0466304cf812e5e209 Unable to checkout '02ea409a140269b32d6a8c0466304cf812e5e209' in submodule path 'src/htmlcs' ...

This occurs on both linux and windows using node 4.2.2,

The app runs and I get the initial "express log started" message,. The html page comes up on localhost: but when I submit a url for testing, I get the "if this message appears for more than 50 seconds click here" and nothing else; the test never completes and nothing shows up in the log.

Thanx for any info you can provide.

mpnkhan commented 8 years ago

Yes you are correct. I tried to do the submodule update now, and none of them were checked out. As a workaround can you try, deleting the submodule directory in src folder and cloning htmlcodesniffer there.

$ cd src $ rm -r htmlcs $ git clone https://github.com/squizlabs/HTML_CodeSniffer.git htmlcs Cloning into 'htmlcs'... remote: Counting objects: 7296, done. remote: Total 7296 (delta 0), reused 0 (delta 0), pack-reused 7296 Receiving objects: 100% (7296/7296), 4.83 MiB | 608.00 KiB/s, done. Resolving deltas: 100% (3743/3743), done. Checking connectivity... done. $cd .. $ sudo DEBUG=AATT* http_port=80 node app.js Password: AATT:log Express started on port +0ms 80 AATT:log

Yahoo

https://sg.yahoo.com/?p=us

There is a TO DO task to allow chrome/axe from UI. So this could be bypassed.

RichCaloggero commented 8 years ago

Yes, this seems to work fine.

Looking at the git docs, it suggests that submodule update attempts to access a specific commit. Is it possible to simply ask for the latest available commit instead of a specific one by id?

-- Rich

From: Nawaz Sent: Wednesday, March 09, 2016 11:16 PM To: paypal/AATT Cc: RichCaloggero Subject: Re: [AATT] Error from git -- git submodule update (#12)

Yes you are correct. I tried to do the submodule update now, and none of them were checkout. As a workaround can you try, deleting the submodule directory in src folder and cloning htmlcodesniffer there.

$ cd src $ rm -r htmlcs $ git clone https://github.com/squizlabs/HTML_CodeSniffer.git htmlcs Cloning into 'htmlcs'... remote: Counting objects: 7296, done. remote: Total 7296 (delta 0), reused 0 (delta 0), pack-reused 7296 Receiving objects: 100% (7296/7296), 4.83 MiB | 608.00 KiB/s, done. Resolving deltas: 100% (3743/3743), done. Checking connectivity... done. $cd .. $ sudo DEBUG=AATT* http_port=80 node app.js Password: AATT:log Express started on port +0ms 80 AATT:log

Yahoo https://sg.yahoo.com/?p=us There is a TO DO task to allow chrome/axe from UI. So this could be bypassed.

— Reply to this email directly or view it on GitHub.