mrmohamed / gdocbackup

Automatically exported from code.google.com/p/gdocbackup
0 stars 0 forks source link

The given path's format is not supported. #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the error log is below. gdocbackup starts creating the necessary folders 
from docs then stops and errors. No files are downloaded

28/10/2009 10:18:06 - 000 > Get doc list
28/10/2009 10:18:14 - 000 > GLOBAL-ERROR:  The given path's format is not 
supported.
28/10/2009 10:18:14 - -001 > ############### EXCEPTION ###############
28/10/2009 10:18:14 - -001 > System.NotSupportedException: The given path's 
format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String 
path, Boolean needFullPath)
   at 
System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] 
str, Boolean needFullPath)
   at 
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAc
cess access, AccessControlActions control, String[] pathListOrig, Boolean 
checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
   at 
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess 
access, String[] pathList, Boolean checkForDuplicates, Boolean 
needFullPath)
   at System.IO.Directory.CreateDirectory(String path, DirectorySecurity 
directorySecurity)
   at GDocBackupLib.Backup.BuildFolders(Document parentDir, List`1 docs, 
String currentPath)
   at GDocBackupLib.Backup.BuildFolders(Document parentDir, List`1 docs, 
String currentPath)
   at GDocBackupLib.Backup.ExecInternal()
   at GDocBackupLib.Backup.Exec()

What version of the product are you using? On what operating system?
used the windows installer. I've just tried it so was my first run. using 
version 0.4.3.55
on windows xp pro latest service packs. I just get the impression it can't 
handle the folder or file names and doesn't strip these out to make windows 
compatible versions.

Please provide any additional information below.

Original issue reported on code.google.com by colchamb...@gmail.com on 28 Oct 2009 at 10:22

GoogleCodeExporter commented 9 years ago
Thank you for feedback.  
Can you give me more infos?
Perhaps you have "strange" folder name in you Google Docs account. Can you chek 
it?  
GDocBackups remove invalids chars from folder names. Perhaps I forgot some 
chars....

fh

Original comment by fht...@gmail.com on 28 Oct 2009 at 1:18

GoogleCodeExporter commented 9 years ago
sure. Porblem is that I have a lot of folder in a nested hierarchy. there's no 
view 
that displays all the folders and paths. it could easily be a path that's 
longer that 
you expect. some folders are - in their name but that's about it from what I 
can see. 

many of the files have : in their name but it hasn't got round to exporting 
them yet. 

any way I tried selecting all folders in gdocs then right click > export and 
got all 
my docs in a zip. When unpacked it didn't complain about folders. doesn't mean 
that 
it didn't have a problem but it didn't fail. 

I would atleast recommend it doens't fail on this error. simply log the folder 
that 
wasn't included. That way I get a backup yet know which files and folders 
weren't 
included. 

Original comment by colchamb...@gmail.com on 28 Oct 2009 at 2:01

GoogleCodeExporter commented 9 years ago
I've reproduced the problem. It's a bug: I forgot to remove invalid chars from 
folder 
names.

Original comment by fht...@gmail.com on 28 Oct 2009 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by fht...@gmail.com on 28 Oct 2009 at 9:16

GoogleCodeExporter commented 9 years ago
nice one thanks for looking into it. 

Original comment by colchamb...@gmail.com on 29 Oct 2009 at 9:02

GoogleCodeExporter commented 9 years ago
Solved (0.4.5.58)

Original comment by fht...@gmail.com on 1 Nov 2009 at 2:46