https://bugs.kde.org/show_bug.cgi?id=390904

            Bug ID: 390904
           Summary: kapidox_generate deletes sources
           Product: frameworks-kapidox
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: ottw...@gmail.com
  Target Milestone: ---

Installed PyYAML jinja2 doxygen with zypper.

$ python setup.py install --prefix ~/.local

!! Careful when reproducing this !!
$ cd ~/kde/src/baloo
$ kapidox_generate .
15:04:59 DEBUG Found cached identities file at ~/.cache/kapidox/kde-accounts    
15:04:59 WARNING Group of Baloo not found: dropped.                             
15:04:59 INFO # Generating doc for Baloo                                        
15:04:59 INFO Running Doxygen                                                   
15:05:01 INFO # Rebuilding Baloo for interdependencies                          
Traceback (most recent call last):                                              
  File "~/.local/bin/kapidox_generate", line 111, in <module>                   
    main()                                                                      
  File "~/.local/bin/kapidox_generate", line 107, in main                       
    copyright=kde_copyright)                                                    
  File "~/.local/lib/python2.7/site-packages/kapidox/hlfunctions.py", line 111,
in do_it
    shutil.rmtree(lib.outputdir)
  File "/usr/lib64/python2.7/shutil.py", line 270, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/usr/lib64/python2.7/shutil.py", line 268, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '.'
$ ls .
$
All files/folders gone.
Whatever mistake I made during installation or execution this should not
happen.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to