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 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) The given path's format is not supported Exception (Read 4358 times)
gman4925
Junior Member
**
Offline


Posts: 16
Joined: Feb 11th, 2014
Re: The given path's format is not supported Exception
Reply #20 - Feb 17th, 2014 at 4:54am
Print Post  
I've turned on "show build properties" and for both versions SketchLibFolders includes C:\avr and C:\avr\utility and in both versions they are both passed to avr-g++ but only the newer version throws the exception.

The only differences between the two versions build results, up to the exception being thrown, are as follows:
1309: ide.sketchfolder.platforms.exclude=avr
1309: vm.boardsource.path=C:\Program Files (x86)\Arduino\hardware\arduino
1309: compiler.path=C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\
includes= -I"C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino"  -I"C:\Program Files (x86)\Arduino\hardware\arduino\variants\standard"  -I"C:\Program Files (x86)\Arduino\libraries\EEPROM"  -I"C:\avr" 
build.path=C:\Users\Greg\AppData\Local\VMicro\Arduino\Builds\test1\uno
build.project_name=test1
build.variant.path=C:\Program Files (x86)\Arduino\hardware\arduino\variants\standard
archive_file=core.a
EPROM.cpp.o
source_file=C:\Program Files (x86)\Arduino\libraries\EEPROM\EEPROM.cpp
cpp.o" " 
build.architecture=avr
vmresolved.compiler.path=C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\
vmresolved.tools.path=C:\Program Files (x86)\Arduino\hardware\tools\avr

1401: vm.platform.root.path=C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\arduino10x
1401: build.board=AVR_UNO


So I can't see where it is getting C:\avr from, or why 1309 is ok with it and 1401 throws a fit.
 





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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: The given path's format is not supported Exception
Reply #21 - Feb 17th, 2014 at 8:28pm
Print Post  
Thanks for testing.

The difference between 1309 and 14x is that we support additional drill down into 1.5 format libraries and also hardware specific libraries. This matches your report if the c:\avr and c:\avr\utils folder which is related to  library discovery.

I will assume that your sketchbook folder does not have a "Libraries" or "Hardware" folder where custom lib and hardware would be placed?

If which case I know this sounds strange but please zip and email your arduinoide/hardware and arduinoide/libraries folders including all sub folders.

Thanks very much
« Last Edit: Feb 17th, 2014 at 8:30pm by Tim@Visual Micro »  
Back to top
IP Logged
 
gman4925
Junior Member
**
Offline


Posts: 16
Joined: Feb 11th, 2014
Re: The given path's format is not supported Exception
Reply #22 - Feb 20th, 2014 at 4:01am
Print Post  
I've emailed the libraries folder, but the hardware one is 47MB zipped and if I replace it with the one from the arduino downloadable zip I still get the exact same results.
Is it possible to add a printout of the path when it throws that exception, so we can see what the path it is trying to use is?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: The given path's format is not supported Exception
Reply #23 - Feb 20th, 2014 at 4:37pm
Print Post  
Thanks for the zip. I will try to add some trace but can you please export a registry file for hkcurrent_user\software\visual micro.

Thanks
  
Back to top
IP Logged
 
gman4925
Junior Member
**
Offline


Posts: 16
Joined: Feb 11th, 2014
Re: The given path's format is not supported Exception
Reply #24 - Feb 20th, 2014 at 10:26pm
Print Post  
Emailed, nothing looks out of the ordinary.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: The given path's format is not supported Exception
Reply #25 - Feb 20th, 2014 at 11:54pm
Print Post  
Hi Greg,

I think this is probably caused by the Allow Parent Libraries property which defaults to False. It is an old setting and since the support for Arduino 1.5 libraries it might be confusing the system.

I'll do some testing before removing the property and also add some trace messages just  in case.

Out of interest do you have a Libraries or Hardware folder under your sketchbook folder in documents\arduino?

I notice you have a cgiwin path set, this should not be causing a problem and would only be used if a custom board definition is available but we can test that too.

Thanks for the info
  
Back to top
IP Logged
 
gman4925
Junior Member
**
Offline


Posts: 16
Joined: Feb 11th, 2014
Re: The given path's format is not supported Exception
Reply #26 - Feb 21st, 2014 at 12:06am
Print Post  
I've had the same problem with the "allow parent libs" turned off, I just turned it on yesterday because I was trying to use the feature.
I've also had the same problems with nothing in the cygwin path.
I only set the cygwin path because I was grasping at straws and I have cygwin installed for another compiler.
Truly a bizarre issue, I really appreciate you trying to track it down.
I'm thinking some other program has added something to the path somewhere and this is picking it up and rejecting it.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: The given path's format is not supported Exception
Reply #27 - Feb 21st, 2014 at 12:56am
Print Post  
Thanks to you also for persisting

Oh! I misread this

Quote:
I've turned on "show build properties" and for both versions SketchLibFolders includes C:\avr and C:\avr\utility and in both versions they are both passed to avr-g++ but only the newer version throws the exception.


Okay so the latest arduino tool chain objects to the avr path or the lib paths order in the more recent versions of visual micro has changed which it has.

So this path always exists in both versions of Visual Micro that is strange and we can more easily trace it for sure. Please confirm all your testing has been with arduino 1.0.x versions

Thanks
  
Back to top
IP Logged
 
gman4925
Junior Member
**
Offline


Posts: 16
Joined: Feb 11th, 2014
Re: The given path's format is not supported Exception
Reply #28 - Feb 21st, 2014 at 1:03am
Print Post  
Most testing has been 1.0.5, though I have also tried 1.5.5, with the same problem.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: The given path's format is not supported Exception
Reply #29 - Jul 10th, 2014 at 9:33pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: The given path's format is not supported Exception
Reply #30 - Jul 10th, 2014 at 9:38pm
Print Post  
This Topic was moved here from Atmel Studio 6.1 & 6.2(beta) [move by] Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint