Author Topic: Upload error  (Read 3879 times)

Offline Peter Horrell

  • Newcomer
  • *
  • Posts: 5
    • View Profile
    • http://www.peterhorrell.com
Upload error
« on: April 15, 2008, 09:20:52 AM »
Hi Kirk,
The upload function has just stopped working on 4.5.3.1 and gives the following error message:

Error initializing the File Uploader Dialog. The error was: #<NoMethodError: undefined method `[]' for false:FalseClass>     (eval):410:in `fetch'     (eval):937:in `perform_restore_state'     (eval):1388:in `restore_state'     (eval):467:in `restore_controls_state'

Have reinstalled the application but get the same error on MBP, OSX 10.4.11, 1 GB RAM.

Please advise. Thanks.

Peter

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Upload error
« Reply #1 on: April 15, 2008, 09:43:37 AM »
Peter,

The upload function has just stopped working on 4.5.3.1 and gives the following error message:

Error initializing the File Uploader Dialog. The error was: #<NoMethodError: undefined method `[]' for false:FalseClass>     (eval):410:in `fetch'     (eval):937:in `perform_restore_state'     (eval):1388:in `restore_state'     (eval):467:in `restore_controls_state'

Have reinstalled the application but get the same error on MBP, OSX 10.4.11, 1 GB RAM.

First, quit Photo Mechanic.
Next open up the following path in the Finder:

<your home folder>/Library/Preferences/com.camerabits.PhotoMechanic/fileupload/templates/builtin/

Then remove all of the ".yml" files that don't end in "-conn.yml".  For me that list would be:

DRR.yml
PhotoShelter.yml
PhotoShelterCollection.yml

And then start Photo Mechanic again.  The settings should reset to their defaults and the error will likely go away.

HTH,

-Kirk


Offline Peter Horrell

  • Newcomer
  • *
  • Posts: 5
    • View Profile
    • http://www.peterhorrell.com
Re: Upload error
« Reply #2 on: April 15, 2008, 03:17:11 PM »
Hi Kirk,
Followed your instructions to delete the .yml files and left the following:

PhotoShelterCollection-conn.yml
PhotoShelter-conn.yml
MaxPreps-conn.yml
DRR-conn.yml

However I still get the same error message as before.

Any other suggestions?


Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Upload error
« Reply #3 on: April 15, 2008, 08:14:33 PM »
Hi Paul,

Followed your instructions to delete the .yml files and left the following:

PhotoShelterCollection-conn.yml
PhotoShelter-conn.yml
MaxPreps-conn.yml
DRR-conn.yml

However I still get the same error message as before.

Any other suggestions?

Could you archive up the following path and send it to us?

<your home folder>/Library/Preferences/com.camerabits.PhotoMechanic/fileupload

You can right-click on the folder and choose Archive and the Finder will create a zip archive for you.  Contact me privately for an email address to send the archive as an attachment.

Thanks,

-Kirk


Offline Peter Horrell

  • Newcomer
  • *
  • Posts: 5
    • View Profile
    • http://www.peterhorrell.com
Re: Upload error
« Reply #4 on: April 16, 2008, 02:26:47 AM »
Hi Kirk,
Just to close the thread, the problem was solved with the patched script file that you supplied.

Thanks for all your efforts.

Peter