Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bulk Loader - Images
#1
I'm sure this is simple but I am struggling with figuring out how to work the new batch importer for images. I have a main directory (c:\Images)that contains 4 subdirectories (c:\Images\Ipod, c:\Images\Buttons, c:\Images\Controller, c:\Images\Background) of images. I would like to import all the images in at the same time. I have written the config file (probably incorrectly) and tried to run it in the CQC command prompt line but nothing is happening.

Can someone provide the snippet of lines that should be in the config file to perform the above?

Thanks for all your help.
Reply
#2
It should at least give you an error if it didn't like the format of your file. Can you you post the images part of the file, cut down to just include the relevant bits, i.e. a couple of the directories and a few images in each.
Dean Roddey
Explorans limites defectum
Reply
#3
Judging by your response I am now positive I created the file incorrectly. I moved all icons into one directory (c:\Images\Ipod Icons)

The below are the contents of my cfgfile.cfg:


// ---------------------------------------------------------------------------
// This is a test configuration file for the CQC bulk loader
// ---------------------------------------------------------------------------
CFGINFO=
VERSION=1
DESCRIPTION=Test configuration file
END CFGINFO


DRIVERS=

END DRIVERS

EVENTS=

END EVENTS


IMAGES=

IMGSCOPE=
SRCDIR=C:\Images\Ipod Icons
TARSCOPE=\user\Test Images
END IMGSCOPE

END IMAGES

IGNORE=

END IGNORE
Reply
#4
This is the error message I am getting now:

The indicated target text file logger could not be opened

CQC_SYSTEMID\Log.Txt
Reply
#5
Are you using some CQC Command Prompt that you've copied out to the desktop? If so, then use the one from the Start Menu, since things may have changed since you made that copy.
Dean Roddey
Explorans limites defectum
Reply
#6
I am using the command prompt from the start menu and I am running 3.4.0.
Reply
#7
Yikes. it looks like the command file that's setting up the CID_LOCALLOG= environment variable isn't correctly expanding the CQC_SYSTEMID environmental variable. Sigh... Wish we'd have figured that out before 3.4 went out. Oh well.

OK, so go to your [cqc]\Bin directory and use NOtepad or whatever to open CQCEnv.Cmd. You will see that in there it's setting CQC_SYSTEMID to the system id. But, it's doing it down below where the CID_LOCALLOG value is being set, so it's not set in time to be used.

So move the SET CID_LOCALLOG line to the bottom. Save it and re-open the command line prompt and it'll work. Oy! I'll fix that for the next release.
Dean Roddey
Explorans limites defectum
Reply
#8
Dean:

I updated the file (CQCEnv.cfg) and tried the command line again. I am still getting the same error message.

Are the details in my cfgfile.cfg correct? Do I need to show any detail on naming conventions or properties?
Reply
#9
You couldn't have gotten it right if you are still getting that error. Can you post the command file contents for me to look at?
Dean Roddey
Explorans limites defectum
Reply
#10
I modified the CQCEnv.cmd (located in C:\Program Files\CQC\Bin) to reflect the following:

@ECHO OFF
REM Sets up a command window for using the CQC command
REM line utilities

PATH=%PATH%;C:\Program Files\CQC\Bin;
SET CID_NSADDR=mediacenter:13502
SET CQC_DATADIR=C:\Program Files\CQC\CQCData
SET CQC_SYSTEMID=XXXXXXXXXXXXXXXXXX
SET CID_ERRDUMPDIR=C:\Program Files\CQC\CQCData\Logs
SET _NT_SYMBOL_PATH=C:\Program Files\CQC\Bin
SET CID_LOGMON_SNAP=C:\Program Files\CQC\Bin
SET CID_LOCALLOG=%ProgramData\%CQC_SYSTEMID%\Log.Txt;UTF-16;CQCLgMtx

I then type in the following line at the CQC command prompt:

CQCBulkLoader c:\cfginfo.cfg MYUSERNAME MYPASSWORD

Yes, I did put that file in the root directory.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Export CQC Images? Sendero 1 1,711 11-18-2015, 04:48 PM
Last Post: Dean Roddey
  Security Camera Images - How To? batwater 5 3,456 01-16-2010, 10:08 AM
Last Post: batwater
  Where did my images go? Ira 2 2,028 09-30-2009, 01:40 PM
Last Post: Ira
  Displaying images martinmcc 1 1,651 07-23-2009, 11:06 AM
Last Post: Dean Roddey
  Editting CQC Images RHT 7 3,013 08-30-2008, 08:53 PM
Last Post: Dean Roddey
  Completely Baffled! How to add images? RHT 2 1,748 08-30-2008, 09:58 AM
Last Post: Dean Roddey
  Looking for Images mstan 1 1,590 05-17-2008, 09:20 AM
Last Post: Dean Roddey
  Nice background images for UMPC/touchscreens Jonathan 1 1,687 04-11-2007, 12:19 PM
Last Post: jpants

Forum Jump:


Users browsing this thread: 1 Guest(s)