severity 1015177 normal clone 1015177 -1 retitle 1015177 pypi2deb: give more informative error messages retitle -1 pypi2deb: handle cases where the upstream source and Python modules have different names thanks
It turns out that there are probably two unrelated issues here, so I'm splitting this into two separate bug reports. Issue 1 (bug 1015177): error messages are unhelpful. This is illustrated by my original report, when I used an incorrect GitHub URL: > > $ py2dsp --gh https://github.com/scikit-build/scikit-build.git > > /usr/bin/py2dsp:163: DeprecationWarning: There is no current event loop > > loop = asyncio.get_event_loop() > > E: py2dsp py2dsp:167: 'info' Using a package name in addition gives an even weirder error message: $ py2dsp scikit-build --gh https://github.com/scikit-build/scikit-build.git /usr/bin/py2dsp:163: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() E: py2dsp py2dsp:167: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/reference/repos#get-a-repository"} Issue 2 (new bug number): it would be good to be able to handle cases such as scikit-build, where the source package name (scikit-build) is different from the module name (skbuild); the results of running py2dsp are shown in a previous message.. I also tried py2dsp with another package I'm working on, and it fails there twoo; I think it is probably related to issue 2, but I'm not sure: $ py2dsp --gh https://github.com/fabioz/PyDev.Debugger /usr/bin/py2dsp:163: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() E: py2dsp py2dsp:167: 'info' Mind you, "py2dsp pydevd" doesn't work either.... Best wishes, Julian

