I have the attached Error message pop up on boot up. After cancelling the message the program seems to work fine.
The path to the macro folder is as follows
In that folder there is a \Trimble folder - that is where TBC installs macros that ship with the product installation.
I typically have a \Temp Macros folder also in which I install non standard macros or macros from other sources etc.
TBC reads all folders in this location and loads all macros.
If you installed the same macro in two locations then it triggers he Traceback issue that you have seen.
If you have an old / out of date macro that has been updated then you can also see the Traceback issue that you have seen.
If you see a Traceback issue on start up then
1) Go to this folder / set of folders and see if the Macro that is flagged in the Traceback error is installed twice - if yes, then keep the version in the \Trimble Folder and delete the one in the other folders. You may want to cut and paste the Macro files from that location and move them to some Temp location on your PC until you know you have the latest version etc
2) If after removal of duplicates you find that you still get a Traceback issue at start up then your macro is out of date - you can check the Macros Forum for a newer version or you can go to www.RockpileSolutions.com and install their TML Status Macro which will then help you keep Macros in check moving forwards.
If you are still seeing issues after following these steps, please let me know.
Macros typically include the following files
1) a .py extension file (and sometimes a .pydll
2) a .xaml extension file
3) a .png extension file
All files have the same name but a different extension. Not all three files are 100% necessary so not all macros have the three files depending on how they were created.
There is one other thing that we have seen that I know the team have been solving, but I am not sure of the current status - and that is when you download files from the web servers, they get a protection state on them sometimes, to remove that protection state you find the macro files, right click and select properties and in the Attributes section where it normally shows [ ] Read Only and [ ] Hidden it also shows something else (not under Advanced) - I apologize but I cannot recall what it says - but there is an option to unprotect or similar - if it is shown, do the unprotect type function and you will then be OK - this can also be a cause of the Traceback error
Yea I just got these two which I reported in another thread.
Find those macros that are causing the issue - you have two versions installed - you likely had some that were not installed in previous version install package that you downloaded and installed / placed in a second folder in the macros folder - now they are included in the install and are in the default macros folder - the fact that there are two instances is what is causing the problem
Alan, Downloaded the Rockpile Solutions TML Status for Macros. Went through and updated the problem macros. I'm ERROR free!!
Thanks for taking time out of your weekend to help. It is appreciated.
Thanks for that,
Good job Rockpile.
This was driving me crazy.
For those users who may be dense, like I was apparently. Once you download TMLStatus, open up TBC and go to the macros tab and you should see TML Status. Click on the macro button and sign in to Trimble Connect and create a TMLStatus account. This will open a window which will show you all the macros you may need to update. Hit the update button and it should work.
I did it manually the first time and removed the macros that were giving me trouble in the errors (VpiAtElev and 3dPtsToArc) from the C:\ProgramData\Trimble\MacroCommands folder and replaced them with the macros I downloaded here:
updated macro versions for TBC 5.1
Low and behold, the next time I opened TBC, I was error free. Fantastic.
Retrieving data ...