You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I tried to use your script to index the contents of a tar archive on a magnetic tape with the following command.
sudo ./tarindexer.py -i /dev/st0 tape.index
Which gives me this error.
One dot stands for 1000 indexed files. Traceback (most recent call last): File "./tarindexer.py", line 123, in <module> main() File "./tarindexer.py", line 118, in main indextar(dbtarfile,indexfile) File "./tarindexer.py", line 71, in indextar if(currentseek/filesize>lastpercent): ZeroDivisionError: division by zero
I'm guessing this just isn't supported. Any ideas? Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for your report! I never tried indexing a real tape using the program, but it might work indeed. It seems the tape device reports its own size as 0, which makes the program crash.
Hi,
I tried to use your script to index the contents of a tar archive on a magnetic tape with the following command.
sudo ./tarindexer.py -i /dev/st0 tape.index
Which gives me this error.
One dot stands for 1000 indexed files. Traceback (most recent call last): File "./tarindexer.py", line 123, in <module> main() File "./tarindexer.py", line 118, in main indextar(dbtarfile,indexfile) File "./tarindexer.py", line 71, in indextar if(currentseek/filesize>lastpercent): ZeroDivisionError: division by zero
I'm guessing this just isn't supported. Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: