EasyStorj icon indicating copy to clipboard operation
EasyStorj copied to clipboard

Using the default given download path is not always working depending on file name

Open MeijeSibbel opened this issue 7 years ago • 2 comments

Default download path:

C:\Users\Dani Marion\NkX/O5XVk+AB8WvrevkDHI40JvK7a1gODWuyLrnf1RztrMDtRugDjEPeowR3+8glOVRF2C/6E5ReXg==

Error:

2017-04-28 03:09:01,986 DEBUG 1
"title": "File pointers"
2017-04-28 03:09:05,644 DEBUG "title": "File pointers"
"description": "Resolving file pointers to download                         file with ID: "361aec6ac02acaaf04b4541c...
2017-04-28 03:09:05,655 DEBUG "description": "Resolving file pointers to download                         file with ID: "361aec6ac02acaaf04b4541c...
[{u'parity': False, u'hash': u'67d15994e557c7771a26d979b5da851e6cdda851', u'index': 0, u'token': u'ec53ad2cdc147eebeb96ea994653df208dbf4544', u'farmer': {u'protocol': u'1
866c2ce989f277f63e', u'lastSeen': u'2017-04-28T01:08:58.632Z', u'address': u'client018.storj.dk', u'userAgent': u'6.3.2', u'port': 15095}, u'operation': u'PULL', u'size':
"title": "Downloading"
2017-04-28 03:09:08,417 DEBUG "title": "Downloading"
"description": "Beginning download proccess..."
2017-04-28 03:09:08,421 DEBUG "description": "Beginning download proccess..."
[Errno 2] No such file or directory: 'C:\\Users\\Dani Marion\\NkX/O5XVk+AB8WvrevkDHI40JvK7a1gODWuyLrnf1RztrMDtRugDjEPeowR3+8glOVRF2C'
2017-04-28 03:09:08,434 ERROR [Errno 2] No such file or directory: 'C:\\Users\\Dani Marion\\NkX/O5XVk+AB8WvrevkDHI40JvK7a1gODWuyLrnf1RztrMDtRugDjEPeowR3+8glOVRF2C'
"title": "Unhandled error"
2017-04-28 03:09:08,438 DEBUG "title": "Unhandled error"
[{u'parity': False, u'hash': u'bc0319c6899526d3a38ec9f8a91e373288f34c92', u'index': 1, u'token': u'62c75350783ce66304be36a725554034114b71e7', u'farmer': {u'protocol': u'1
d2e3041ee380163b6b', u'lastSeen': u'2017-04-28T01:08:54.600Z', u'address': u'149.202.221.31', u'userAgent': u'6.3.2', u'port': 4005}, u'operation': u'PULL', u'size': 5165
"title": "Downloading"
2017-04-28 03:09:10,987 DEBUG "title": "Downloading"
"description": "Beginning download proccess..."
2017-04-28 03:09:10,990 DEBUG "description": "Beginning download proccess..."
[Errno 2] No such file or directory: 'C:\\Users\\Dani Marion\\NkX/O5XVk+AB8WvrevkDHI40JvK7a1gODWuyLrnf1RztrMDtRugDjEPeowR3+8glOVRF2C'
2017-04-28 03:09:10,996 ERROR [Errno 2] No such file or directory: 'C:\\Users\\Dani Marion\\NkX/O5XVk+AB8WvrevkDHI40JvK7a1gODWuyLrnf1RztrMDtRugDjEPeowR3+8glOVRF2C'
"title": "Unhandled error"
2017-04-28 03:09:11,002 DEBUG "title": "Unhandled error"
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik
[]wskaznik

MeijeSibbel avatar Apr 28 '17 01:04 MeijeSibbel

maybe put the default download directory to downloads?

MeijeSibbel avatar Apr 28 '17 01:04 MeijeSibbel

Suggestion: windows does not allow file naming with certain characters. Warn the use to set a accepted name and only when the name is valid allow the user to download the file.

MeijeSibbel avatar Apr 29 '17 20:04 MeijeSibbel