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

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

Open
MeijeSibbel opened this issue Apr 28, 2017 · 2 comments

Comments

@MeijeSibbel
Copy link

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
Copy link
Author

maybe put the default download directory to downloads?

@steenzout steenzout added the bug label Apr 28, 2017
@MeijeSibbel MeijeSibbel changed the title Using the default given download path is not working Using the default given download path is not always working depending on file name Apr 29, 2017
@MeijeSibbel
Copy link
Author

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.

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

No branches or pull requests

3 participants