evilhero / mylar

An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents
GNU General Public License v3.0
976 stars 172 forks source link

Mylar (windows) can't access network share #1420

Closed thatnovaguy closed 8 years ago

thatnovaguy commented 8 years ago

I've searched for a day or two and haven't found an similar issue listed. I'm running Mylar on windows 10 but am trying to keep all of my comics on my unraid share. (Didn't want to use the unraid version of mylar because I have all of my nzb programs running on a vm behind a vpn. It's a ham-fisted way of things but it works. :P) I currently have the specific share folder mounted via mklink but get errors in adding a new series and importing comics that are already in the folder.

2016-10-16 11:22:15 WARNING Error trying to validate/create directory. Aborting this process at this time. 2016-10-16 11:22:15 WARNING [DIRECTORY-CHECK] Could not create directory: C:\Users\WinBox\Downloads\Comics\Green Arrow (2016)[[Error 58] The specified server cannot perform the requested operation: u'C:\Users\WinBox\Downloads\Comics\Green Arrow (2016)']. Aborting. 2016-10-16 11:22:15 INFO [DIRECTORY-CHECK] Creating comic directory (0777) : C:\Users\WinBox\Downloads\Comics\Green Arrow (2016) 2016-10-16 11:22:15 WARNING [DIRECTORY-CHECK] Could not find comic directory: C:\Users\WinBox\Downloads\Comics\Green Arrow (2016) 2016-10-16 11:22:15 INFO Sucessfully retrieved details for Green Arrow 2016-10-16 11:22:15 INFO Now adding/updating: Green Arrow 2016-10-16 11:22:15 DEBUG {'ComicIssues': '8', 'ComicName': u'Green Arrow', 'ComicVersion': u'6', 'FirstIssueID': u'535334', 'ComicPublisher': u'DC Comics', 'ComicYear': u'2016', 'ComicImageALT': u'http://comicvine.gamespot.com/api/image/scale_small/5264013-01.jpg', 'ComicURL': u'http://comicvine.gamespot.com/green-arrow/4050-91284/', 'Type': 'Print', 'ComicImage': u'http://comicvine.gamespot.com/api/image/scale_large/5264013-01.jpg', 'Aliases': 'None'} 2016-10-16 11:22:15 DEBUG Volume information found! Adding to series record : volume 6 2016-10-16 11:22:15 DEBUG volume X format - 0: Volume 6. 2016-10-16 11:22:15 DEBUG vari is set to: yes 2016-10-16 11:22:15 DEBUG number of issues CV says it has: 7 2016-10-16 11:22:15 DEBUG number of issues I counted: 8 2016-10-16 11:22:15 DEBUG cv status code : 200

I've also tried using the share mapped V:\Media\Comics and \HTPC\Videostorage\Media\Comics both of which returned this

2016-10-16 11:37:26 WARNING Error trying to validate/create directory. Aborting this process at this time. 2016-10-16 11:37:26 WARNING [DIRECTORY-CHECK] Could not create directory: \HTPC\Videostorage\Media\Comics\Green Lanterns (2016)[[Error 58] The specified server cannot perform the requested operation: u'\HTPC\Videostorage\']. Aborting. 2016-10-16 11:37:26 INFO [DIRECTORY-CHECK] Creating comic directory (0777) : \HTPC\Videostorage\Media\Comics\Green Lanterns (2016) 2016-10-16 11:37:26 WARNING [DIRECTORY-CHECK] Could not find comic directory: \HTPC\Videostorage\Media\Comics\Green Lanterns (2016) 2016-10-16 11:37:26 INFO Sucessfully retrieved details for Green Lanterns 2016-10-16 11:37:26 INFO Now adding/updating: Green Lanterns 2016-10-16 11:37:26 DEBUG {'ComicIssues': '8', 'ComicName': u'Green Lanterns', 'ComicVersion': 'None', 'FirstIssueID': u'535335', 'ComicPublisher': u'DC Comics', 'ComicYear': u'2016', 'ComicImageALT': u'http://comicvine.gamespot.com/api/image/scale_small/5265993-01.jpg', 'ComicURL': u'http://comicvine.gamespot.com/green-lanterns/4050-91285/', 'Type': 'None', 'ComicImage': u'http://comicvine.gamespot.com/api/image/scale_large/5265993-01.jpg', 'Aliases': 'None'} 2016-10-16 11:37:26 DEBUG vari is set to: yes 2016-10-16 11:37:26 DEBUG number of issues CV says it has: 7 2016-10-16 11:37:26 DEBUG number of issues I counted: 8

I'm sorry if it's something glaringly obvious as I'm really new to mylar (and python in general). I have full read/write access to the share.

evilhero commented 8 years ago

It looks like it's a permissions issue of some kind if you did an mklink /D, and not a /J (since junctions only work on local drives).

The user running mylar (not group, user) has to have full permissions to 'C:\Users\WinBox\Downloads\Comics', on both machines - but depending on where you mounted the link, it might actually be higher than \Comics

thatnovaguy commented 8 years ago

I think I've got it figured out now. Permissions are hard >.<'

jimbojnr81 commented 8 years ago

How did you resolve it. I'm having some issues with permissions too.

thatnovaguy commented 8 years ago

I honestly didn't. I ended up switching everything over to Linux mint. But more to the point you basically have to have a user on your unraid that matches your windows user. Even then they may not get along. Sorry that I'm not any help!