Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pisi rebuild-db has errors #111

Open
ertugerata opened this issue Mar 31, 2018 · 1 comment
Open

pisi rebuild-db has errors #111

ertugerata opened this issue Mar 31, 2018 · 1 comment

Comments

@ertugerata
Copy link

sudo pisi rebuild-db --debug
DEBUG: PISI API initialized
Rebuild PISI databases? (evet/hayır)e
Writing current database version for dbversion
Writing current database version for filesdbversion
DEBUG: PISI API finalized
DEBUG: PISI API initialized
System Error. Program Terminated.
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: '32bi'
Genel yardım için lütfen 'pisi help' komutunu kullanınız.
Traceback:
  File "/usr/bin/pisi", line 81, in <module>
    cli.run_command()
  File "/usr/lib/python2.7/site-packages/pisi/cli/pisicli.py", line 112, in run_command
    self.command.run()
  File "/usr/lib/python2.7/site-packages/pisi/cli/rebuilddb.py", line 57, in run
    pisi.api.rebuild_db(ctx.get_option('files'))
  File "/usr/lib/python2.7/site-packages/pisi/op/rebuilddb.py", line 163, in rebuild_db
    clean_duplicates()
  File "/usr/lib/python2.7/site-packages/pisi/op/rebuilddb.py", line 104, in clean_duplicates
    if Version(ver) > Version(i_version[name]):
  File "/usr/lib/python2.7/site-packages/pisi/version.py", line 148, in __init__
    self.comps.append(VersionItem(head))
  File "/usr/lib/python2.7/site-packages/pisi/version.py", line 78, in __init__
    self._value = int(itemstring)
DEBUG: PISI API finalized
@ertugerata
Copy link
Author

sudo pisi rdb --debug
DEBUG: PISI API initialized                                                                                                                                                                    
Rebuild PISI databases? (evet/hayır)e                                                                                                                                                          
Writing current database version for dbversion                                                                                                                                                 
Writing current database version for filesdbversion                                                                                                                                            
DEBUG: PISI API finalized                                                                                                                                                                      
DEBUG: PISI API initialized                                                                                                                                                                    
DEBUG: Resurrecting cpupowertools-4.9.86-17                                                                                                                                                    
System Error. Program Terminated.                                                                                                                                                              
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'resurrect_package'                                                                                                       
Genel yardım için lütfen 'pisi help' komutunu kullanınız.                                                                                                                                      
Traceback:                                                                                                                                                                                     
  File "/usr/bin/pisi", line 81, in <module>                                                                                                                                                   
    cli.run_command()                                                                                                                                                                          
  File "/usr/lib/python2.7/site-packages/pisi/cli/pisicli.py", line 112, in run_command                                                                                                        
    self.command.run()                                                                                                                                                                         
  File "/usr/lib/python2.7/site-packages/pisi/cli/rebuilddb.py", line 57, in run
    pisi.api.rebuild_db(ctx.get_option('files'))
  File "/usr/lib/python2.7/site-packages/pisi/op/rebuilddb.py", line 164, in rebuild_db
    reload_packages(files, None)
  File "/usr/lib/python2.7/site-packages/pisi/op/rebuilddb.py", line 136, in reload_packages
    pisi.api.resurrect_package(package_fn, files, txn)
DEBUG: PISI API finalized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant