protontypes / LibreSelery

Continuous distribution of funding to your project contributors and dependencies. Integrated into GitHub Actions
GNU Affero General Public License v3.0
123 stars 18 forks source link

ValueError: url cannot be parsed. #191

Open Ly0n opened 4 years ago

Ly0n commented 4 years ago

File "/usr/local/lib/python3.7/site-packages/libreselery-0.0.3.dev13-py3.7.egg/libreselery/github_connector.py", line 39, in parseRemoteProjectId repo = self.github.get_repo(self.parseRemoteToOwnerProjectName(url)) File "/usr/local/lib/python3.7/site-packages/libreselery-0.0.3.dev13-py3.7.egg/libreselery/github_connector.py", line 33, in parseRemoteToOwnerProjectName raise ValueError("url cannot be parsed. (url: %s)" % (url)) ValueError: url cannot be parsed. (url: https://github.com/cityflow-project/CityFlow/)

Appeared with @kikass13 new architecture. Other URLs worked perfectly. I do not understand how this URL differs from others.

Ly0n commented 4 years ago

ValueError: url cannot be parsed. (url: https://github.com/IAMconsortium/)

In this case the error is simple to understand. We also should parse links in the style github.com/organization/projectname When just the organization page is been linked we need to skip that.