potpie icon indicating copy to clipboard operation
potpie copied to clipboard

Repository does not consist of a language currently supported

Open samin-batra opened this issue 9 months ago • 5 comments

hI,

I have setup Potpie locally and am trying to parse a local repo consisting of Python scripts and some csv files. While parsing the repo, I am getting this error message:

detail="01957999-73f1-7949-be09-082c8bcc465c Failed during parsing: Repository doesn\'t consist of a language currently supported.")')
Traceback (most recent call last):

May I check what languages are currently supported?

samin-batra avatar Mar 09 '25 06:03 samin-batra

Hi @samin-batra thanks for opening the issue! Python language is definitely supported. Could you share more logs from your celery server to help us debug?

dhirenmathur avatar Mar 09 '25 06:03 dhirenmathur

Image

samin-batra avatar Mar 09 '25 08:03 samin-batra

Hi, thanks.. these are the logs

samin-batra avatar Mar 09 '25 08:03 samin-batra

  1. Hi, i have been able to resolve this issue. However, with the project ID that was created, when I query the api to get status of scan, it says project doesn't exist or access denied. In the logs, it says development mode is enabled. Using mock authentication.
  2. Also, when I want to use the endpoint to create a conversation, it is asking for user ID. What would be the user iD in the case of dev mode? i didn't call the authentication endpoint.

samin-batra avatar Mar 09 '25 09:03 samin-batra

Hey @samin-batra apologies, this slipped through the cracks.

  1. If you are using dev mode and mock auth is enabled then you shouldn't be passing anything in the auth headers, could you please confirm this is the case
  2. 'defaultuser' is what we have in the sample env template, if you haven't updated that then 'defaultuser' should be the user id

dhirenmathur avatar Mar 26 '25 11:03 dhirenmathur