Comment 1 for bug 1836286

Revision history for this message
Frank Heimes (fheimes) wrote :

I'm running into a similar situation:

$ git ubuntu export-orig --no-pristine-tar
03/02/2021 18:51:02 - INFO:New upstream version detected (3.9.0+dfsg) which is after the last published upstream version (3.15.1+dfsg).
Traceback (most recent call last):
  File "/snap/git-ubuntu/474/bin/git-ubuntu", line 11, in <module>
    load_entry_point('gitubuntu==1.0', 'console_scripts', 'git-ubuntu')()
  File "/snap/git-ubuntu/474/lib/python3.6/site-packages/gitubuntu/__main__.py", line 279, in main
    sys.exit(args.func(args))
  File "/snap/git-ubuntu/474/lib/python3.6/site-packages/gitubuntu/exportorig.py", line 122, in cli_main
    if len(tarballs) > 0:
TypeError: object of type 'NoneType' has no len()

However:
$ git-ubuntu export-orig
03/02/2021 19:08:40 - INFO:Successfully fetched:
../opencryptoki_3.9.0+dfsg.orig.tar.xz
using fetch_orig_from_pristine_tar(source=ubuntu)