Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Empty sia space causing issues? #3

Open
dim-geo opened this issue Jan 5, 2020 · 1 comment
Open

Empty sia space causing issues? #3

dim-geo opened this issue Jan 5, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dim-geo
Copy link

dim-geo commented Jan 5, 2020

Hello,

I try to sync a big file to Sia via siaslice. (Sia 1.4.2)
Sia space is empty (no files). I think this causes issues during first sync...
Folder to upload exists, but empty.

python3.7 ./siaslice.py -m  -b 40 -t --debug /pics_bak/enc_partition.img backupdrive
[204] POST /renter/validatesiapath/backupdrive {}
[200] GET /renter/dir/backupdrive {}
Traceback (most recent call last):
  File "./siaslice.py", line 638, in <module>
    main()
  File "./siaslice.py", line 275, in main
    start(None)
  File "./siaslice.py", line 273, in start
    asyncio.run(amain(args, stdscr=stdscr))
  File "/usr/lib/python3.7/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
    return future.result()
  File "./siaslice.py", line 290, in amain
    block_size=args.block*1000*1000, stdscr=stdscr)
  File "./siaslice.py", line 312, in do_mirror
    await storage.update()
  File "./siaslice.py", line 169, in update
    for siafile in siafiles:
TypeError: 'NoneType' object is not iterable
@YoRyan YoRyan self-assigned this Jan 5, 2020
@YoRyan YoRyan added the bug Something isn't working label Jan 5, 2020
@YoRyan
Copy link
Owner

YoRyan commented Jan 14, 2020

Apologies for the delay - and the bad code. I didn't get your exact traceback, but I did find a bug that affected initial uploads. Feel free to give it another try.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants