I was hoping someone could help me find why this error keeps popping up...
[2/13/2014 8:35:05 AM] Trigger: 1 - Error executing print thread action: Run command file. - Error processing command file! - Error occurs at processing command file: "C:\WINDOWS\TEMP\NW2014021308350481000.txt" - Print server error message: Invalid value for object! Production aborted! Object has format Code-39. Value Q~250~ cannot be assigned to it! Error occurred in variable b_net_wt_q!
The command file data looks ok in that the data is set 'b_net_wt_q = ~250~'. Then in the label design it adds the Q prefix. I have checked all the variable and barcode properties and they look fine. I made sure the serialization is set to All. The variable lengths are large enough to handle the data.
Thanks,
Richard
Error Nicewatch - Invalid value for object
Moderators: Georges, milos, NiceLabel Support Team
Re: Error Nicewatch - Invalid value for object
The error message suggests that your variable b_net_wt_q only accepts characters allowable by the Code-39 type. Usually, you would define your variables as numeric or alphanumeric or date type.
Open the label file, open the variable properties and verify what have you defined for the Allowable characters.
Open the label file, open the variable properties and verify what have you defined for the Allowable characters.
- Attachments
-
- allowable characters.jpg (45.25 KiB) Viewed 4760 times
Saso Fleiser
Senior Technical Product Specialist
Senior Technical Product Specialist
Re: Error Nicewatch - Invalid value for object
Thank you Saso for that quick reply. I looked at the validation and it was set to 'All', so I changed it to Code 39. I did this with all the Code 39 barcodes on my label. Now I am getting the same error with a different variable...
[2/13/2014 9:42:42 AM] Trigger: 1 - Error executing print thread action: Run command file. - Error processing command file! - Error occurs at processing command file: "C:\WINDOWS\TEMP\NW2014021309424128000.txt" - Print server error message: Invalid value for object! Production aborted! Object has format Code-39. Value V~ cannot be assigned to it! Error occurred in variable b_supply_nbr_v! - Backup data file: "C:\NiceLabel\Errors\20140213094241.txt"
Thanks,
Richard
[2/13/2014 9:42:42 AM] Trigger: 1 - Error executing print thread action: Run command file. - Error processing command file! - Error occurs at processing command file: "C:\WINDOWS\TEMP\NW2014021309424128000.txt" - Print server error message: Invalid value for object! Production aborted! Object has format Code-39. Value V~ cannot be assigned to it! Error occurred in variable b_supply_nbr_v! - Backup data file: "C:\NiceLabel\Errors\20140213094241.txt"
Thanks,
Richard
Re: Error Nicewatch - Invalid value for object
No, change the Allowable characters all it back to All.
I haven't read the error message closely enough.
It says "object has format Code-39, value cannot be assigned..."
The barcode Code39 only accepts uppercase letters, digits and some other characters, but not the character tilde "~". See http://en.wikipedia.org/wiki/Code_39.
If you want to encode tilde into Code39, make sure to configure the barcode as Code 39 Full ASCII.
I haven't read the error message closely enough.

It says "object has format Code-39, value cannot be assigned..."
The barcode Code39 only accepts uppercase letters, digits and some other characters, but not the character tilde "~". See http://en.wikipedia.org/wiki/Code_39.
If you want to encode tilde into Code39, make sure to configure the barcode as Code 39 Full ASCII.
Saso Fleiser
Senior Technical Product Specialist
Senior Technical Product Specialist
Re: Error Nicewatch - Invalid value for object
Thank you again for the quick reply. I don't want it to process the tilde ~ mark. That just defines the data. Here is a sample of our job file that nicewatch runs. To keep the post short I deleted a lot of data between values.
LABEL "C:\NiceTemplates\SCP-STANDARD.lbl"
PRINTER "SCP_SHIP_ZEBRA"
SET Address1 = ~123 LOGAN STREET~
SET amer_city = ~Callimazo,OH,44224,US~
...
SET b_net_wt_q = ~1100~
...
SET b_supply_nbr_v = ~ ~
...
PRINT 2
The really odd thing is this issue just started up today. We have been printing this way for years with no problem. Do you know if there is updates either from Windows or Nicelabel (I think Nicelabel updates have to be installed manually), that may have changed something in Nicelabel.
LABEL "C:\NiceTemplates\SCP-STANDARD.lbl"
PRINTER "SCP_SHIP_ZEBRA"
SET Address1 = ~123 LOGAN STREET~
SET amer_city = ~Callimazo,OH,44224,US~
...
SET b_net_wt_q = ~1100~
...
SET b_supply_nbr_v = ~ ~
...
PRINT 2
The really odd thing is this issue just started up today. We have been printing this way for years with no problem. Do you know if there is updates either from Windows or Nicelabel (I think Nicelabel updates have to be installed manually), that may have changed something in Nicelabel.
Re: Error Nicewatch - Invalid value for object
Found out another person in our IT department made a change to our job files. I feel stupid since I didn't see it earlier. We don't have the line 'TEXTQUALIFIER ~' in our job files anymore. So that is why nicelabel didn't understand the data. Add the line back in and everything prints fine.
I apologize for taking up time in the forum for a very simple fix. Thank you for your help.
Richard
I apologize for taking up time in the forum for a very simple fix. Thank you for your help.
Richard
Re: Error Nicewatch - Invalid value for object
That makes sense now. 
Thanks for the update.

Thanks for the update.
Saso Fleiser
Senior Technical Product Specialist
Senior Technical Product Specialist