You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ gemnasium dependency_files p --files=packages.txt
Sending files to Gemnasium: json: cannot unmarshal string into Go value of type models.DependencyFile
File has 204 line in it, some are package names like:
The short answer is: yes, Python requirements files should be named either requirements.txt or requires.txt. Renaming the file or using a symlink should fix the problem.
If you still have issues after renaming the file, please contact us via http://support.gemnasium.com. All we need is the project slug and the approximate time you last tried to upload the dependency files of your projects.
That said, there's a mismatch here because Gemnasium.com returns HTTP 200 (or 204) along with something that can't be unmarshalled into a map[string][]DependencyFile. In a word, Toolbelt got something it didn't expect. See dependency_files.go.
File has 204 line in it, some are package names like:
Others like:
Removing the
https
lines returns the same error.Is there a requirement that the text files be named with
requirements
in them?The text was updated successfully, but these errors were encountered: