cloud connected weather station!

hi all,
im new to Arduino and i have this project to do for school and we chose to make a cloud connected weather station. basically the arduino is reading temperature, altitute, pressure, humidity, and light and uploading the readings to a google spreadsheet i created.
i have put together a code with some research but when i upload it to the arduino Yun and i open my spreadsheet i do not get the readings but it just keeps repeating the headings.
can someone please help me?
here is the code that i have.

#include <Bridge.h>
#include <Temboo.h>
#include "TembooAccount.h" // contains Temboo account information, as described below
#include "DHT.h"
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BMP085_U.h>

int numRuns = 1;   // Execution count, so this doesn't run forever
int maxRuns = 10;   // Maximum number of times the Choreo should be executed

// Variables
int lightLevel;
float humidity;
float temperature;
float temperature_limit;
unsigned long time;

// Process to get the measurement time
Process date;

// DHT11 sensor pins
#define DHTPIN 8 
#define DHTTYPE DHT11

// DHT & BMP instances
DHT dht(DHTPIN, DHTTYPE);
Adafruit_BMP085_Unified bmp = Adafruit_BMP085_Unified(10085);



// Your Google Docs data
const String GOOGLE_USERNAME = "email";
const String GOOGLE_PASSWORD = "password";
const String SPREADSHEET_TITLE = "Yun";
const String TO_EMAIL_ADDRESS = "email";

// Debug mode ?
boolean debug_mode = false;

//==========================================================================================

void setup() {
   // Start Serial
   if (debug_mode == true){
   Serial.begin(9600);
   delay(4000);
   while(!Serial);
 }
 
   // Initialize DHT sensor
 dht.begin();
 
     // Set temperature limit
 temperature_limit = 25.0;
 
 Bridge.begin();
 
   // Initialise the sensor
 if(!bmp.begin())


   // Start date process
 time = millis();
 if (!date.running())  {
   date.begin("date");
   date.addParameter("+%D-%T");
   date.run();
 }
 
 if (debug_mode == true){
   Serial.println("Setup complete. Waiting for sensor input...\n");
 }
 
   // Initialise the sensor
 if(!bmp.begin())
 {
   if (debug_mode == true){
   Serial.print("Ooops, no BMP085 detected ... Check your wiring or I2C ADDR!");}
   while(1);
 }
 
}

//===========================================================================================

void loop() {
    // Measure the humidity
   float humidity = dht.readHumidity();
   
       // Measure light level
   int lightLevel = analogRead(A0);
 
     // Measure pressure & temperature from BMP sensor
   sensors_event_t event;
   bmp.getEvent(&event);
   float pressure = event.pressure;
   
   float temperature;
   bmp.getTemperature(&temperature);
   
   float seaLevelPressure = SENSORS_PRESSURE_SEALEVELHPA;
   float altitude;
   altitude = bmp.pressureToAltitude(seaLevelPressure,
                                       event.pressure,
                                       temperature); 
   
     // Print measurements
   Serial.print("Humidity: ");
   Serial.println(humidity);
   Serial.print("Light level: ");
   Serial.println(lightLevel);
   Serial.print("Barometric pressure: ");
   Serial.println(pressure);
   Serial.print("Temperature: ");
   Serial.println(temperature);
   Serial.print("Altitude: ");
   Serial.println(altitude);
   Serial.println("");
   
   
   
   // Repeat 50 ms
   delay(50);
   
//====================================================================================================   
   
     if (debug_mode == true){
   Serial.println("\nCalling the /Library/Google/Spreadsheets/AppendRow Choreo...");
 }
 
     // Append data to Google Docs sheet
 runAppendRow(humidity, lightLevel, pressure, temperature, altitude);
 
   // Send email alert ?
 if (temperature < temperature_limit) {
    if (debug_mode == true){Serial.println("Sending alert");}
    sendTempAlert("Temperature is too low!");
 }
    
     // Repeat every 10 minutes
 delay(100000);
}
 
 // Function to add data to Google Docs
void runAppendRow(float humidity, int lightLevel, float pressure, float temperature, float altitude) {
 TembooChoreo AppendRowChoreo;
  
 if (numRuns <= maxRuns) 
 
   Serial.println("Running AppendRow - Run #" + String(numRuns++));
   
   //TembooChoreo AppendRowChoreo;

   // Invoke the Temboo client
   AppendRowChoreo.begin();
   
   // Set Temboo account credentials
   AppendRowChoreo.setAccountName(TEMBOO_ACCOUNT);
   AppendRowChoreo.setAppKeyName(TEMBOO_APP_KEY_NAME);
   AppendRowChoreo.setAppKey(TEMBOO_APP_KEY);
   
   // Set profile to use for execution
   AppendRowChoreo.setProfile("et365");
   
   // Set Choreo inputs
   AppendRowChoreo.addInput("Password", "password");
   AppendRowChoreo.addInput("RowData", "humidity, lightLevel, pressure, temperature, altitude");
   AppendRowChoreo.addInput("SpreadsheetTitle", "Yun");
   
   // Identify the Choreo to run
   AppendRowChoreo.setChoreo("/Library/Google/Spreadsheets/AppendRow");
   
   // Run the Choreo; when results are available, print them to serial
   AppendRowChoreo.run();
 
   // Restart the date process:
 if (!date.running())  
 {
   date.begin("date");
   date.addParameter("+%D-%T");
   date.run();
  }
 
 // Get date
 String timeString = date.readString(); 
 
 // Format data
 String data = "";
 data = data + timeString + "," + String(humidity) + "," + String(lightLevel) + "," + String(pressure) + "," + String(temperature) + "," + String(altitude);

 // Set Choreo inputs
 AppendRowChoreo.addInput("RowData", data);

 // Run the Choreo
 unsigned int returnCode = AppendRowChoreo.run();
 
   // A return code of zero means everything worked
 if (returnCode == 0) 
 {
   if (debug_mode == true){
     Serial.println("Completed execution of the /Library/Google/Spreadsheets/AppendRow Choreo.\n");
   }
 } else { 
   
   while(AppendRowChoreo.available()) {
     char c = AppendRowChoreo.read();
     Serial.print(c);
   }
   AppendRowChoreo.close();
 }
 
 Serial.println("Waiting...");
 delay(10000); // wait 30 seconds between AppendRow calls
  
}

//============================================================================================


// Send email alert
void sendTempAlert(String message) {
 
 if (debug_mode == true){ Serial.println("Running SendAnEmail...");}
 
 TembooChoreo SendEmailChoreo;
  
 SendEmailChoreo.begin();
   
 // set Temboo account credentials
 SendEmailChoreo.setAccountName(TEMBOO_ACCOUNT);
 SendEmailChoreo.setAppKeyName(TEMBOO_APP_KEY_NAME);
 SendEmailChoreo.setAppKey(TEMBOO_APP_KEY);

 // identify the Temboo Library choreo to run (Google > Gmail > SendEmail)
 SendEmailChoreo.setChoreo("/Library/Google/Gmail/SendEmail");
   
 // set the required choreo inputs
 // see https://www.temboo.com/library/Library/Google/Gmail/SendEmail/ 
 // for complete details about the inputs for this Choreo

 // the first input is your Gmail email address
 SendEmailChoreo.addInput("email", GOOGLE_USERNAME);
 // next is your Gmail password.
 SendEmailChoreo.addInput("password", GOOGLE_PASSWORD);
 // who to send the email to
 SendEmailChoreo.addInput("email", TO_EMAIL_ADDRESS);
 // then a subject line
 SendEmailChoreo.addInput("Subject", "ALERT: Home Temperature");

 // next comes the message body, the main content of the email   
 //SendEmailChoreo.addInput("MessageBody", message);

 // tell the Choreo to run and wait for the results. The 
 // return code (returnCode) will tell us whether the Temboo client 
 // was able to send our request to the Temboo servers
 unsigned int returnCode = SendEmailChoreo.run();

 // a return code of zero (0) means everything worked
 if (returnCode == 0) {
   if (debug_mode == true){Serial.println("Success! Email sent!");}
 } else {
   // a non-zero return code means there was an error
   // read and print the error message
   while (SendEmailChoreo.available()) {
     char c = SendEmailChoreo.read();
     if (debug_mode == true){Serial.print(c);}
   }
 } 
 SendEmailChoreo.close();
}

MODERATOR: added [code]...[/code] tags

learn to debug:

lesson 1: Strip the code till you have a minimal version that still shows the problem.

if it suddenly disappears then you are closing in.