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

Sync crashes on empty files #257

Closed
chStaiger opened this issue Aug 29, 2024 · 0 comments · Fixed by #258
Closed

Sync crashes on empty files #257

chStaiger opened this issue Aug 29, 2024 · 0 comments · Fixed by #258
Labels
bug Something isn't working

Comments

@chStaiger
Copy link
Owner

INFO:ibridges-gui:Transfer data thread: Transfer /Users/staig001/books/books/books/my_books/AdventuresSherlockHolmes.txt -->  /nluu12p/home/research-test-christine/Demo/my_books/AdventuresSherlockHolmes.txt, overwrite True
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.12/site-packages/ibridgesgui/sync.py", line 271, in _sync_data_status
    self.progress_bar.setValue(int(transferred_size*100/up_size))
                                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
ZeroDivisionError: division by zero
/Users/staig001/Desktop/ibridges-gui.command: line 2: 29564 Abort trap: 6           ibridges-gui

@chStaiger chStaiger added the bug Something isn't working label Aug 29, 2024
@chStaiger chStaiger linked a pull request Aug 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant