Author Topic: [SOLVED] Bug when saving posters to folder  (Read 6950 times)

0 Members and 1 Guest are viewing this topic.

Offline deazo

  • Older Power User
  • *****
  • Posts: 283
    • View Profile
[SOLVED] Bug when saving posters to folder
« on: July 11, 2010, 02:26:47 pm »
 Hi all, because my corrupted database file cannot be fixed  :'( I am working on an export/import process, in order to create a new clean database file.
 The first step for this is to have all my posters in a separate file, in order to later re-attach them to my database entries. I have read a few posts on this and I am hoping that I will be successful.
 The first problem I meet is when I save posters to a different folder.
 I have at the moment 5400 posters to be saved.
 So I go to Folders and selected a folder for images, and then untick the box "save images in database file", then click on OK, the program starts working on saving the posters.
 It will then give me an error message (I attached the bug report below).

 If I look at the posters folder, I can find there 2190 posters only, and not 5400, so the process has been stop by the error.
 By the way, the missing posters are then lost, they do not appear in the database file, and they are not in the posters folder.
 Thank God for inventing backups...

Would you help me understand and fix the error met in the process please?

 Thanks
« Last Edit: September 22, 2010, 01:31:05 am by rick.ca »

Offline deazo

  • Older Power User
  • *****
  • Posts: 283
    • View Profile
Re: Bug when saving posters to folder
« Reply #1 on: July 11, 2010, 02:35:22 pm »

 The error was due to a long filename, PVD could not create it.
 
 Good to know that posters that are not saved in this process are lost though!

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Re: Bug when saving posters to folder
« Reply #2 on: July 11, 2010, 02:36:56 pm »
Hi Deazo,
I'd hazard a guess your file path is too long:

Code: [Select]
C:\Documents and Settings\Tachillaume\My Documents\Personal Video Database\Posters\Another Demonstration of the Cliff-Guibert Fire Horse Reel, Showing a Young Girl Coming from an Office, Detaching Hose, Running with It 60 Feet, and Playing a Stream, All Inside of 30 Seconds_1101.jpg"
try skipping that one or renaming something shorter.
also try exporting closer to root drive eg c:\1\postername.jpg.

doh - beaten to the gun
btw - this is limitation in windoze

 16
   

Individual components of a filename (i.e. each subdirectory along the path, and the final filename) are limited to 255 characters, and the total path length is limited to approximately 32,000 characters. However, you should generally try to limit path lengths to below 260 characters (MAX_PATH) when possible. See http://msdn.microsoft.com/en-us/library/aa365247.aspx for full details.
« Last Edit: July 11, 2010, 02:59:43 pm by CAD »
three fingered salutation

Offline deazo

  • Older Power User
  • *****
  • Posts: 283
    • View Profile
Re: Bug when saving posters to folder
« Reply #3 on: July 11, 2010, 03:10:19 pm »

 Thanks for your lighting fast answer CAD , we must have posted simultaneously.

 

anything