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 Re: The given path's format is not supported Exception (Read 5725 times)
Pistoolirapu
Newbies
*
Offline


Posts: 3
Location: Finland
Joined: Jul 10th, 2014
Re: The given path's format is not supported Exception
Jul 10th, 2014 at 6:41pm
Print Post  
I'm also suffering this problem when trying to use MAX6675 library.

Code (C++)
Select All
#include <MAX6675.h>
#include <MAX6675.h>

int LED1 = 9;             // Status LED Pin
int CS_ = 10;              // CS pin on MAX6675
int SO_ = 12;              // SO pin of MAX6675
int SCK_ = 13;             // SCK pin of MAX6675
int units = 0;            // Units to readout temp (0 = ˚F, 1 = ˚C)
//float error = 0.0;        // Temperature compensation error
float temperature = 0.0;  // Temperature output variable

// Initialize the MAX6675 Library for our chip
MAX6675 temp0(CS_,SO_,SCK_,units);

// Setup Serial output and LED Pin
// MAX6675 Library already sets pin modes for MAX6675 chip!
void setup() {
	Serial.begin(9600);
	pinMode(LED1, OUTPUT);
}

void loop() {
	temperature = temp0.read_temp();         // Read the temp 5 times and return the average value to the var

	if(temperature == -1) // If there is an error with the TC, temperature will be -1
	{                  
		Serial.println("Thermocouple Error!!"); // Temperature is -1 and there is a thermocouple error
		digitalWrite(LED1, HIGH);               // Turn on the status LED
	}
	else
	{
		Serial.print("Current Temperature: ");
		Serial.println( temperature );          // Print the temperature to Serial
		digitalWrite(LED1, LOW);                // Turn on the status LED
	}

	delay(1000);	// Wait one second before reading again
}
 



Please find the output: http://goo.gl/MsnmFo

I did not get whether there is (or not) final solution for this available.

Any updates?
  
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 #1 - Jul 10th, 2014 at 7:53pm
Print Post  
I found the problem with the help of your useful trace info.

The latest beta on visualmicro.com home page includes the fix

I think the reason why only a few users were affected was to do with current working directory. Visual Micro was trying to find an Arduino 1.5 format library folder in an Arduino 1.0 format library. In this case the path names resolved to \avr which windows confirmed existed. Certainly a nasty Visual Micro bug but strange that windows resolved the \avr path as existing then reported it's full path as c:\avr. 

Anyway a very good one fixed thanks. This beta will become the full release in a few days so great timing!

Sorry to all affected for taking so long to fix it.

Thanks again

ps: I have split the message to stop notifications going to users who don't want them
« Last Edit: Jul 11th, 2014 at 12:37pm by Tim@Visual Micro »  
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 #2 - Jul 11th, 2014 at 12:49pm
Print Post  
Oh sorry to say the upgrade was not refreshed to the web server correctly yesterday

A new beta will be made available later today with a fix for this problem

I will post a note here when that is done.

Sorry about that
  
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 #3 - Jul 11th, 2014 at 5:39pm
Print Post  
Sorry for all the messing about with this library issue. The beta is now available which will have a version number of 1407.10

http://visualmicro.com/downloads/Beta/ArduinoForVisualStudio.msi

Thanks
  
Back to top
IP Logged
 
Pistoolirapu
Newbies
*
Offline


Posts: 3
Location: Finland
Joined: Jul 10th, 2014
Re: The given path's format is not supported Exception
Reply #4 - Jul 14th, 2014 at 5:47am
Print Post  
It seems that this made the trick. Thanks Tim!
« Last Edit: Jul 14th, 2014 at 5:47am by Pistoolirapu »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint