basetosmug 0.1 Alpha Released

crennercrenner Registered Users Posts: 33 Big grins
basetosmug is a VB6 application for downloading and converting pbase galleries to smugmug albums.

It now works, and is ready for alpha testing distribution.

I told you it would be soon!

Get it at http://basetosmug.chuckrenner.com . Sorry for the really crappy site. I through it together in about five minutes.

basetosmug progress report:

Done:
1) smugmug API authentication
2) smugmug category downloading, parsing, and database dumping
3) simple smugmug album creation
4) smugmug logout
5) Downloading HTML from pbase galleries
6) Parsing HTML from pbase galleries
7) Dumping parsed pbase HTML elements and image links into a database.
8) Downloading "original" images from pbase galleries into a holding location
9) Uploading images into newly created galleries
10) Uploading parsed pbase data elements into galleries with images
11) A progress bar added for image transfer queue progress.
12) General clean-up
13) Moderate error trapping and handling routines
14) Streamlined interface and add more automation
15) An installer is provided, but is untested

Abandoned (for now):
1) gzip encoding for image uploads
2) MD5Sum checking for image uploads

Still to go:
1) Advanced Album Creation Options
2) Logging

I'll keep working on it!

If the installer runs, but you still get errors when launching the application, then you will need to make sure you have the following dependencies correctly installed on your system:
* Microsoft Visual Basic 6 SP6 runtime files
* MSCOMCTL.OCX (VB6 SP6)
* Microsoft Scripting Runtime (scrrun.dll)
* Microsoft XML (MSXML) version 4.0
* Microsoft DAO 3.51
* Microsoft ActiveX Data Objects (ADO) 2.7

Comments

  • crennercrenner Registered Users Posts: 33 Big grins
    edited September 8, 2006
    0.1 Build 11 Alpha
    I already had to make a new build. Apparently some changes I thought were saved had gotten wiped somehow. I'm trying to be able to walk away from this project for a short while (for a sanity break). Helps to have a working version released. rolleyes1.gif

    basetosmug Version 0.1 Build 11 Alpha is now available

    Changes from Build 10 to Build 11:
    1. Fixed a typo on the About form.
    2. Fixed a bug where CategoryID was not being passed to SmugMug.com on Album Creation
    3. Added missing dependencies LOGGEN.DLL and HNDLUERR.DLL to installation
    4. Installation now upgrades previous versions
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited September 8, 2006
    This is so cool, clap.gif
    I'll be looking for folks to try this with!
  • dogwooddogwood Registered Users Posts: 2,572 Major grins
    edited September 8, 2006
    i'll give it a whirl
    Andy wrote:
    This is so cool, clap.gif
    I'll be looking for folks to try this with!

    But I should probably wait until this weekend when I have more time. Thanks for posting this. thumb.gif

    Portland, Oregon Photographer Pete Springer
    website blog instagram facebook g+

  • jdfaithjdfaith Registered Users Posts: 172 Major grins
    edited September 8, 2006
    I continue to get a Run-time error '429'. ActiveX component can't create object.

    I've gone through all of the tips on the webpage with no success. Doh!
  • crennercrenner Registered Users Posts: 33 Big grins
    edited September 9, 2006
    Good News and Bad News
    jdfaith wrote:
    I continue to get a Run-time error '429'. ActiveX component can't create object.

    I've gone through all of the tips on the webpage with no success. Doh!

    Well the good news is this:
    It's a problem with the installer, and not with the program itself. You are just missing a piece. You cannot create an ActiveX component because one of the depenencies of the program is missing or not installed correctly on your PC. I have an old version of InstallShield Express (3.54) that I made this with, so I was having a bit of trouble determining and setting all the needed files.

    The bad news is this:
    I don't know which piece.

    Questions:
    1. Did you install Build 10 or Build 11? The installer for Build 10 was missing two needed DLLs that I wrote.
    2. Is there a scrrun.dll file in your Windows\System32 directory?
    I'm out of town this weekend, and will try and make another installer early next week. If I knew what piece wasn't installing correctly, It would make fixing the installer much easier. I wish I had an easy way of knowing which "ActiveX" object could not be created.
  • jdfaithjdfaith Registered Users Posts: 172 Major grins
    edited September 9, 2006
    I installed Build 11 and do have a copy of scrrun.dll in windows\system32.

    Thanks for all your work.
  • crennercrenner Registered Users Posts: 33 Big grins
    edited September 10, 2006
    Build 13
    jdfaith wrote:
    I installed Build 11 and do have a copy of scrrun.dll in windows\system32.

    Thanks for all your work.
    No problem.

    I've just posted a build 13 with the following changes:
    1. Rearranged startup and shutdown order
    2. Added diagnostic logging to Form_Load() and Form_QueryUnload() subroutines.
    3. Added Access 97 Object to Installer. (I think this is what was missing).
    Please download and install build 13. If you still get ActiveX object creation errors, then I need to get your log file from you to see where it is occurring.

    EDIT: BTW, the URI for getting basetosmug is http://basetosmug.chuckrenner.com
  • jdfaithjdfaith Registered Users Posts: 172 Major grins
    edited September 10, 2006
    Sent PM and emailed Logfile to your Hotmail address.
    crenner wrote:
    No problem.

    I've just posted a build 13 with the following changes:
    1. Rearranged startup and shutdown order
    2. Added diagnostic logging to Form_Load() and Form_QueryUnload() subroutines.
    3. Added Access 97 Object to Installer. (I think this is what was missing).
    Please download and install build 13. If you still get ActiveX object creation errors, then I need to get your log file from you to see where it is occurring.

    EDIT: BTW, the URI for getting basetosmug is http://basetosmug.chuckrenner.com
  • crennercrenner Registered Users Posts: 33 Big grins
    edited September 25, 2006
    Build 14 now available
    basetosmug 0.1 Build 14 (Alpha) is now available with the following improvements:
    1. Added optional Diagnostic Mode with:
      1. "Single Step" menus
      2. Diagnostic logging
    2. Added more logging
    3. Added more error handling including:
      1. Error handling for failed image uploads
    4. Improved PBase.com gallery parsing
    5. Improved logging style
  • crennercrenner Registered Users Posts: 33 Big grins
    edited September 26, 2006
    Build 15 Available
    basetosmug 0.1 Build 15 (Alpha) is now available with the following improvements:
      All the stuff I added to Build 14 in the last 24 hours ;)
    1. Fixed error in the SmugAPI class where captions and filenames were not being encoded when uploading images
    2. Fixed error in the SmugAPI class where the method to create an album was called before assigning the description to that album
  • jdfaithjdfaith Registered Users Posts: 172 Major grins
    edited September 29, 2006
    Build 15 works like a charm!

    A great way to copy Pbase galleries to Smugmug. A tremendous tool.

    Thanks a bunch!

    John
Sign In or Register to comment.