Posixpath in join

I am trying to sync a huge music library and it errors. The error in the logs.db file is “posixpath in join” under the culprit field.

Message field:
{“message”: “Unhandled error while doing %r.”, “params”: [“FSRefresher(user_id=u’xxxxxxx’, work_id=1, fs_id=3, changestamp=-1.00119030455954, state={u’err_count’: 4})”]}

Exception field:
{“type”: “UnicodeDecodeError”, “value”: “‘utf8’ codec can’t decode byte 0xe1 in position 8: invalid continuation byte”, “module”: “exceptions”}

Stacktrace:
{“frames”: [{“function”: “__run”, “abs_path”: “idesksyncer/syncworks.py”, “vars”: {“self”: “FSRefresher(user_id=u’xxxxxxx’, work_id=1, fs_id=3, changestamp=-1.00119030455954, state={u’err_count’: 4})”, “exc”: “UnicodeDecodeError(‘utf8’, ‘/Wanda S\xe1 - Vagamente (1964)(flac)’, 8, 9, ‘invalid continuation byte’)”}, “module”: “idesksyncer.syncworks”, “filename”: “desksyncer/syncworks.py”, “lineno”: 1000}, {“function”: “do", “abs_path”: “idesksyncer/fsworks.py”, “vars”: {“added”: [], “children_by_name”: {}, “deleted”: [], “unchanged”: [], “file_info”: ["‘D’", “1433626426.507”, “118784L”, “‘2065/59244545’”], “modified”: [], “fs_children”: [], “refresh_dirs”: [], “self”: “FSRefresher(user_id=u’101116771014478735039’, work_id=1, fs_id=3, changestamp=-1.00119030455954, state={u’err_count’: 4})”, “full_path”: “/media/mainmeister/1TB/Music”}, “module”: “idesksyncer.fsworks”, “filename”: “desksyncer/fsworks.py”, “lineno”: 714}, {“function”: “list_dir”, “abs_path”: “ideskfs/fs.py”, “vars”: {“files”: ["[u’Mike Stern - All Over The Place’, [‘D’, 1408544096.427, 4096L, ‘2065/21758154’]]", “[u’Stanford - The Vernon Handley 1988-1992 Symphonies Edition - Disc 4’, [‘D’, 1415710979.298, 4096L, ‘2065/21757980’]]”, “[u’Joe Cocker-Hard Knocks-CD-FLAC-2010-CUSTODES usenet-space-cowbys’, [‘D’, 1415710889.338, 4096L, ‘2065/21889061’]]”, “[u’Preservation Hall Jazz Band - Marching Down Bourbon Street (1997)(flac)’, [‘D’, 1417079670.682, 4096L, ‘2065/59318288’]]”, “[u’The Art Ensemble of Chicago A Jackson in Your House Message to Our Folks’, [‘D’, 1415710924.166, 4096L, ‘2065/21889306’]]”, “[u’John Williams-Star Wars Episode IV A New Hope-SPECiAL EDiTiON-2CD-FLAC-1997-EMG’, [‘D’, 1417329384.27, 4096L, ‘2065/59326482’]]”, “[u’Bread - Best Of - 24bit 96Khz’, [‘D’, 1409072200.869, 4096L, ‘2065/21758240’]]”, “[u’Gerald Albright - Slam Dunk (2014) FLAC’, [‘D’, 1414602433.0, 4096L, ‘2065/59301889’]]”, “[u’We Three’, [‘D’, 1408543295.795, 4096L, ‘2065/21757962’]]”, “[u’kris Delmhorst’, [‘D’, 1409086160.429, 4096L, ‘2065/21889033’]]”, “[u’Joni Mitchell Both Sides Now’, [‘D’, 1415710945.146, 4096L, ‘2065/21758437’]]”, “[u’Barenaked_Ladies-Grinning_Streak-CD-FLAC-2013-FORSAKEN’, [‘D’, 1415710884.058, 4096L, ‘2065/21889117’]]”, “[u’Art Pepper - Plus Eleven {Modern Jazz Classics} (1959) _Official Digital Download 24bit 88,2kHz_’, [‘D’, 1415710963.47, 4096L, ‘2065/21889145’]]”, “[u’VA Jazz Club Violin CD FLAC 1989 DeVOiD’, [‘D’, 1415710901.594, 4096L, ‘2065/21758081’]]”, “[u’Phish-Ventura-6CD-FLAC-2013-BOCKSCAR’, [‘D’, 1415710896.23, 4096L, ‘2065/21758460’]]”, “[u’Steve Morse Band Structural Damage’, [‘D’, 1409112462.028, 4096L, ‘2065/21758444’]]”, “[u’VA-Blue Note Trip 6 Somethin Old Somethin Blue-(50999 5134232 6)-2CD-FLAC-2007-mbs’, [‘D’, 1417330814.69, 4096L, ‘2065/59326484’]]”, “[u’David Gilmour - David Gilmour 1e solo album geremasterd’, [‘D’, 1415710947.982, 4096L, ‘2065/21889158’]]”, “[u’Nina Simone - Pastel Blues (2014) FLAC’, [‘D’, 1417081261.11, 4096L, ‘2065/59326469’]]”, “[u’Alex Pangman Live In Montreal’, [‘D’, 1415710975.118, 4096L, ‘2065/21889311’]]”, “[u’Four80East flac’, [‘D’, 1408544429.143, 4096L, ‘2065/21758276’]]”, “[u’Rodgers_and_Hammerstein-Enchanted_Evenings_With-(FCD1-5531)-CD-FLAC-1997-EMG’, [‘D’, 1415710897.286, 4096L, ‘2065/21889404’]]”, “[u’Spyro Gyra-Rites Of Summer-CD-FLAC-1988-PERFECT’, [‘D’, 1409076824.121, 4096L, ‘2065/21758235’]]”, “[u’Stan_Getz__Laurindo_Almeida_-_Stan_Getz_with_Guest_Artist_Laurindo_Almeida_(1963)_FLAC’, [‘D’, 1415710981.622, 4096L, ‘2065/59277330’]]”, “[u’Jewel-Spirit-CD-FLAC-1998-FLACME’, [‘D’, 1415710889.238, 4096L, ‘2065/21889468’]]”, “[u’VA-David_Foster_And_Friends_Hit_Man_Returns-CD-FLAC-2011-JLM’, [‘D’, 1409121031.708, 4096L, ‘2065/21889359’]]”, “[u’Jimmy Smith - At the Organ Vol. 3 (1956)1’, [‘D’, 1409071176.985, 4096L, ‘2065/21758148’]]”, “[u’Buckshot Lefonque-Breakfast At Dennys-(6605242)-CDM-FLAC-1994-CUSTODES’, [‘D’, 1418780528.144, 4096L, ‘2065/59342859’]]”, “[u’Dire_Straits-Money_For_Nothing-CD-FLAC-1988-WRE’, [‘D’, 1415710886.438, 4096L, ‘2065/21758395’]]”, “[u’Kenny Burrell - Jazzmen Detroit’, [‘D’, 1409139618.004, 4096L, ‘2065/21758308’]]”, “[u’Queen Latifah-Travlin Light-CD-FLAC-2007-FLACME’, [‘D’, 1415710896.762, 4096L, ‘2065/59277316’]]”, “[u’Alanis_Morissette-MTV_Unplugged-CD-FLAC-1999-CUSTODES’, [‘D’, 1415710883.894, 4096L, ‘2065/21758040’]]”, “[u’Nina Simone-Aint Got No - I Got Life-(74321 562852)-CDS-FLAC-1998-WRE’, [‘D’, 1409076978.405, 4096L, ‘2065/21889282’]]”, “[u\“Tchaikovsky - The Mikhail Pletnev 2010 Collector’s Edition - Disc 2\”, [‘D’, 1409058987.674, 4096L, ‘2065/21758194’]]”, “[u’Esperanza Spalding-Radio Music Society-CD-FLAC-2012-PERFECT’, [‘D’, 1415710887.31, 4096L, ‘2065/21758273’]]”, “[u’Paul Chambers And John Coltrane - High Step (1975)[FLAC]’, [‘D’, 1409100900.449, 4096L, ‘2065/21889108’]]”, “[u’Curtis Fuller - Vol. 3’, [‘D’, 1408545584.379, 4096L, ‘2065/21889216’]]”, “[u’Michael_Buble-To_Be_Loved-Deluxe_Edition-CD-FLAC-2013-PERFECT’, [‘D’, 1415710891.414, 4096L, ‘2065/21758236’]]”, “[u’The_Who-The_Ultimate_Collection-2CD-FLAC-2002-FLACME’, [‘D’, 1415710900.858, 4096L, ‘2065/21889123’]]”, “[u’The_Police-Synchronicity-Remastered-CD-FLAC-2003-PERFECT’, [‘D’, 1415710900.738, 4096L, ‘2065/21889183’]]”, “[u’Alexis Cole - A Kiss In The Dark (2014) FLAC’, [‘D’, 1412484050.0, 4096L, ‘2065/59318297’]]”, “[u’Herbie_Hancock_Wayne_Shorter_Quartet-Live_At_Philharmonie_Am_Gasteig_Muenchner_Klaviersommer_(1991)-x264-2013-gFViD’, [‘D’, 1409125435.748, 4096L, ‘2065/21758001’]]”, “[u’Wayne_Shorter-High_Life-CD-FLAC-1995-DeVOiD’, [‘D’, 1415710902.518, 4096L, ‘2065/21889163’]]”, “[u’Grant Green - First Session (1961)[FLAC]’, [‘D’, 1409159205.303, 4096L, ‘2065/21758434’]]”, “[u’Phil Collins-I Wish It Would Rain Down (170’, [‘D’, 1408545600.055, 4096L, ‘2065/21889221’]]”, “[u’Blues’, [‘D’, 1417072775.05, 4096L, ‘2065/59301901’]]”, “[u’John Di Martinos Romantic Jazz Trio The Michael In Jazz Tribute To Michael Jackson JP RETAIL CD FLAC 2012 DeVOiD’, [‘D’, 1415710889.586, 4096L, ‘2065/21889395’]]”, “[u’VA-Blue Note Trip 5 Scrambled Mashed-(0946 360989 2 0)-2CD-FLAC-2006-mbs’, [‘D’, 1417331148.334, 4096L, ‘2065/59326485’]]”, “[u’Interplay for 2 Trumpets & 2 Tenors’, [‘D’, 1415710945.39, 4096L, ‘2065/21889128’]]”, “[u’The Jeff Healey Band Feel This CD FLAC 1992 FLaCiT’, [‘D’, 1415710900.386, 4096L, ‘2065/21889349’]]”], “child_name”: “”, “file_info”: ["‘D’", “1415710899.042”, “4096L”, “‘2065/21889098’”], “dir_path”: “/media/mainmeister/1TB/Music”, “children_names”: [“u’Mike Stern - All Over The Place’”, “u’Stanford - The Vernon Handley 1988-1992 Symphonies Edition - Disc 4’”, “u’Joe Cocker-Hard Knocks-CD-FLAC-2010-CUSTODES usenet-space-cowbys’”, “u’Preservation Hall Jazz Band - Marching Down Bourbon Street (1997)(flac)’”, “u’The Art Ensemble of Chicago A Jackson in Your House Message to Our Folks’”, “u’John Williams-Star Wars Episode IV A New Hope-SPECiAL EDiTiON-2CD-FLAC-1997-EMG’”, “u’Bread - Best Of - 24bit 96Khz’”, “u’Gerald Albright - Slam Dunk (2014) FLAC’”, “u’We Three’”, “u’kris Delmhorst’”, “u’Joni Mitchell Both Sides Now’”, “u’Barenaked_Ladies-Grinning_Streak-CD-FLAC-2013-FORSAKEN’”, “u’Art Pepper - Plus Eleven {Modern Jazz Classics} (1959) Official Digital Download 24bit 88,2kHz’”, “u’VA Jazz Club Violin CD FLAC 1989 DeVOiD’”, “u’Phish-Ventura-6CD-FLAC-2013-BOCKSCAR’”, “u’Steve Morse Band Structural Damage’”, “u’VA-Blue Note Trip 6 Somethin Old Somethin Blue-(50999 5134232 6)-2CD-FLAC-2007-mbs’”, “u’David Gilmour - David Gilmour 1e solo album geremasterd’”, “u’Nina Simone - Pastel Blues (2014) FLAC’”, “u’Alex Pangman Live In Montreal’”, “u’Four80East flac’”, “u’Rodgers_and_Hammerstein-Enchanted_Evenings_With-(FCD1-5531)-CD-FLAC-1997-EMG’”, “u’Spyro Gyra-Rites Of Summer-CD-FLAC-1988-PERFECT’”, "u’Stan_Getz__Laurindo_Almeida-Stan_Getz_with_Guest_Artist_Laurindo_Almeida(1963)FLAC’", “u’Jewel-Spirit-CD-FLAC-1998-FLACME’”, “u’VA-David_Foster_And_Friends_Hit_Man_Returns-CD-FLAC-2011-JLM’”, “u’Jimmy Smith - At the Organ Vol. 3 (1956)1’”, “u’Buckshot Lefonque-Breakfast At Dennys-(6605242)-CDM-FLAC-1994-CUSTODES’”, “u’Dire_Straits-Money_For_Nothing-CD-FLAC-1988-WRE’”, “u’Kenny Burrell - Jazzmen Detroit’”, “u’Queen Latifah-Travlin Light-CD-FLAC-2007-FLACME’”, “u’Alanis_Morissette-MTV_Unplugged-CD-FLAC-1999-CUSTODES’”, “u’Nina Simone-Aint Got No - I Got Life-(74321 562852)-CDS-FLAC-1998-WRE’”, “u"Tchaikovsky - The Mikhail Pletnev 2010 Collector’s Edition - Disc 2"”, “u’Esperanza Spalding-Radio Music Society-CD-FLAC-2012-PERFECT’”, “u’Paul Chambers And John Coltrane - High Step (1975)[FLAC]’”, “u’Curtis Fuller - Vol. 3’”, “u’Michael_Buble-To_Be_Loved-Deluxe_Edition-CD-FLAC-2013-PERFECT’”, “u’The_Who-The_Ultimate_Collection-2CD-FLAC-2002-FLACME’”, “u’The_Police-Synchronicity-Remastered-CD-FLAC-2003-PERFECT’”, “u’Alexis Cole - A Kiss In The Dark (2014) FLAC’”, "u’Herbie_Hancock_Wayne_Shorter_Quartet-Live_At_Philharmonie_Am_Gasteig_Muenchner_Klaviersommer(1991)-x264-2013-gFViD’”, “u’Wayne_Shorter-High_Life-CD-FLAC-1995-DeVOiD’”, “u’Grant Green - First Session (1961)[FLAC]’”, “u’Phil Collins-I Wish It Would Rain Down (170’”, “u’Blues’”, “u’John Di Martinos Romantic Jazz Trio The Michael In Jazz Tribute To Michael Jackson JP RETAIL CD FLAC 2012 DeVOiD’”, “u’VA-Blue Note Trip 5 Scrambled Mashed-(0946 360989 2 0)-2CD-FLAC-2006-mbs’”, “u’Interplay for 2 Trumpets & 2 Tenors’”, “u’The Jeff Healey Band Feel This CD FLAC 1992 FLaCiT’”], “self”: “”, “child_path”: “/media/mainmeister/1TB/Music/Spectrum Road-Spectrum Road-CD-FLAC-2012-DeVOiD”}, “module”: “ideskfs.fs”, “filename”: “deskfs/fs.py”, “lineno”: 166}, {“function”: “join”, “abs_path”: “posixpath.py”, “vars”: {“a”: “/media/mainmeister/1TB/Music”, “path”: “/media/mainmeister/1TB/Music”, “b”: “”, “p”: [""""]}, “module”: “posixpath”, “filename”: “osixpath.py”, “lineno”: 80}]}

Please send us an email to support@insynchq.com and attached your logs. Please also include the link of this post and your issue in detail.

Thank you.

@mainmeister

This seems to be the file that is raising the issue. The name is not encoded in UTF8, please rename it and restart Insync.