Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic crash on opening (Read 7457 times)
markwhat?
Newbies
*
Offline


Posts: 2
Joined: Sep 26th, 2014
crash on opening
Sep 26th, 2014 at 6:06pm
Print Post  
Hi, 

I have just installed Visual Studio 6.2 and "Arduino IDE for Microsoft Visual Studio and Atmel Studio" along with various updates, etc.

Initially it ran ok, but now when I start it, I get a message dialog saying "Error reading variants path" after which the application closes. 

I have searched Google and these forums but haven't found anything.

Does anyone have any idea what this messages means and how to go about fixing the problem?

Regards,
Mark
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: crash on opening
Reply #1 - Sep 26th, 2014 at 8:09pm
Print Post  
Hi Mark,

This sounds like a config issue but should not crash so when we know what you have wrong we will add some protection to the code in that area.

The error means we can't find the arduino core files. This means you have either moved the arduino ide from its original location or are trying to use some custom hardware definitions that Visual Micro is struggling with. This is why we need to know which ide and board you are using because it will give us some clues.

In the meantime you can delete the following registry key to reset Visual Micro using regedit.exe

"HK_CURRENTUSER/Software/Visual Micro/Options/Locations"

Thanks

  
Back to top
IP Logged
 
markwhat?
Newbies
*
Offline


Posts: 2
Joined: Sep 26th, 2014
Re: crash on opening
Reply #2 - Sep 27th, 2014 at 10:55am
Print Post  
Hi Tim,

Thanks for the quick response. 

I deleted the registry entries and visual micro started up ok. It then asked me for the location of arduino.exe (Configure Visual Micro window): c:\arduino-1.0.3

I then tried to open one of my two test projects - both crashed visual micro with the same error.

I deleted the registry entries and tried again. This time I created a new project and all seemed fine until I changed the micro type from uno to Leostick v1.0 and the error message and shutdown recurred.

It seems that the problem is with the Leostick V1.0 definition but it works ok with the arduino ide.

I am installing arduino 1.0.6 now, but I don't expect it to help.
I will try and check the Leostick files too but I have no idea yet what I am looking for Sad

Any further help would be much appreciated.

Regards
Mark

P.S. Whilst mucking about, I got the attached weird error message. Incidentally, I have no project called foobar.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: crash on opening
Reply #3 - Sep 27th, 2014 at 8:36pm
Print Post  
Hi,

Thanks again for the report. If you close the ide and install the new 1407.10 Sp4 release it should work okay

http://www.visualmicro.com/forums/YaBB.pl?board=NEW_RELEASES

fyi

The crash was Visual Micro attempting to open the windows debugger when the unknown path was found. With a windows debugger installed I could cancel the "Exception" dialog and continue using Atmel Studio. The reason for the unknown path was that the Leo stick uses the arduinoide/hardware folder to find the 'Arduino Leonardo' variants. Visual Micro was not catering for this correctly when using the sketchbook folder for custom hardware defs.
« Last Edit: Sep 27th, 2014 at 8:36pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint