Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using lookup c2dat #53

Open
fhbzc opened this issue Nov 14, 2023 · 6 comments
Open

Error using lookup c2dat #53

fhbzc opened this issue Nov 14, 2023 · 6 comments

Comments

@fhbzc
Copy link
Member

fhbzc commented Nov 14, 2023

Hello:

I want to give related information (e.g. the project, the author and commit time) for a given commit sha.

I use the example command

 echo 000c159d10114de33a0979a270ec8ed6c633e636 | ~/lookup/getValues c2dat

but I get the following error

image

I think I have updated the recent lookup, but still have the same error.

Could someone take a look at this? Thank you very much!

@audrism
Copy link
Collaborator

audrism commented Nov 14, 2023

Yes c2dat is not compressed: if you pull lookup it should fix the problem

@fhbzc
Copy link
Member Author

fhbzc commented Nov 14, 2023

Hi Audris:

Thank you for your response.

I pull the recent c2dat and now there is no previous error. But another problem I have is that I think

~/lookup/getValues -f P2c

is using version V by default, but

  ~/lookup/getValues c2dat

is using version U by default, which causes inconsistency.

Is there a way that you can make them consistent (e.g. both use version V), or is there a way I can specify which version to use?

Thanks

@audrism
Copy link
Collaborator

audrism commented Nov 14, 2023

its the matter of time until c2dat V gets copied. depending on the current load it may be be up to 8 hours.

@fhbzc
Copy link
Member Author

fhbzc commented Nov 15, 2023

Hi Audris:

Thank you for your response.

As of now I think it should be using c2dat version V, but I get many problems with a comit sha not identified.

for example, if I do

   echo 9e23b3cabd325d401833af48dd86875397a26c83 |  ~/lookup/getValues c2dat

it will give me the error

1700055931291

I get the list of commit with

~/lookup/getValues -f P2c

so all the commit shas should be valid, and I get no such problem with the exact same command/process in version U.

Can you take a look at what's going here?

Thanks!

@audrism
Copy link
Collaborator

audrism commented Nov 15, 2023

should not be many (1-2%), but not all commit content for which sha1 is in P2c are available due to the fact that they may no longer be in the project repo, had some errors during retrieval, etc.

@loconous
Copy link
Collaborator

@fhbzc, could you please verify if this issue is still relevant? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants