Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save problem? #73

Closed
vMeph opened this issue Sep 27, 2016 · 6 comments
Closed

save problem? #73

vMeph opened this issue Sep 27, 2016 · 6 comments
Labels

Comments

@vMeph
Copy link

vMeph commented Sep 27, 2016

when i used deviot with sublime something is always happening
lets imagen i start a new project and this will give me a name file of 147934605.ino
if i say save has and then put a new name and location where to save at, then everytime i will try to build file it always will give me error on build, is this some bug or is something im missing?

@gepd
Copy link
Owner

gepd commented Sep 27, 2016

It souldn't be a problem.

Please go to Option > Full Verbose Output When Build

Follow the steps until you get the error and paste here the output of the console, it will help me to know what is the problem, I tried to reproduced but I didn't the same result.

What is the version of Deviot you have installed?

@vMeph
Copy link
Author

vMeph commented Sep 27, 2016

[ Deviot 1.2.5 ] test.ino
03:22:54 Building the project | Processing...
[09/27/16 03:23:02] Processing uno (upload_protocol: stk500v2, platform: atmelavr, upload_flags: -Pusb, board: uno, framework: arduino)

avr-g++ -o "C:\Users\Asus\Desktop\test.ino.cpp" -x c++ -fpreprocessed -dD -E "c:\users\asus\appdata\local\temp\tmpg28w7i"
Collected 25 compatible libraries
Looking for dependencies...
Library Dependency Graph
|-- v1.0.6 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\GSM)
|-- v1.1.4 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Temboo)
| |-- v1.6.1 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Bridge)
|-- v2.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\EEPROM)
|-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Wire)
|-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\HID)
|-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SoftwareSerial)
|-- v1.1.2 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Servo)
|-- v2.5.2 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Firmata)
| |-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SoftwareSerial)
| |-- v1.2.7 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\WiFi)
| | |-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SPI)
|-- v1.6.1 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Bridge)
|-- v1.2.7 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\WiFi)
| |-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SPI)
|-- v1.0.5 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\LiquidCrystal)
|-- v1.0.8 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SD)
| |-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SPI)
|-- v1.1.2 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Ethernet)
| |-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SPI)
|-- v1.0.2 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Robot_Control)
| |-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SPI)
| |-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\Wire)
|-- v1.0 (C:\Users\Asus.platformio\packages\framework-arduinoavr\libraries\SPI)

*** Multiple ways to build the same target were specified for: C:\Users\Asus\AppData\Local\Temp\Deviot\Desktop.pioenvs\uno\src\Arduino_Sketches\arduino-1.6.5-r5\hardware\arduino\avr\cores\arduino\wiring_pulse.o (from ['C:\Users\Asus\Desktop\Arduino_Sketches\arduino-1.6.5-r5\hardware\arduino\avr\cores\arduino\wiring_pulse.S'] and from ['C:\Users\Asus\Desktop\Arduino_Sketches\arduino-1.6.5-r5\hardware\arduino\avr\cores\arduino\wiring_pulse.c'])
File "C:\Users\Asus\AppData\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 98, in BuildProgram
[ERROR] Took 44.16 seconds
03:23:46 ERROR | it took 51.42s

@gepd
Copy link
Owner

gepd commented Sep 27, 2016

This line *** Multiple ways to build the same target were specified for: Tell me error is in the platformio.ini file. But I couldn't get reproduce the same issue, so let's go step by step.

First, remove All files in C:\Users\Asus\AppData\Local\Temp\Deviot

As I understand the steps you follow to get the issue are:

  1. Create an sketch:
void setup()
{

}
void loop()
{

}
  1. Build it to Deviot assign a name (like 186934101)
  2. The file with other name and path from ST Menu > File > Save As Here you save the file with the name newsketchname.ino in desktop/newfolder
  3. You build the file

Now is when you get the error posted above?

@vMeph
Copy link
Author

vMeph commented Sep 27, 2016

hard to explain what is happening, for exemple right now if i click new sketch will ask me for a path so lets say i select C:\Users\Asus\AppData\Local\Temp\Deviot
after when i click build the file will just disapear
no idea what is going on

@gepd
Copy link
Owner

gepd commented Sep 27, 2016

The issue where the file just disapear I've fix some days ago, the other one I can't reproduce it yet.

Please use the develop branch. To install the develop branch just replace the files in Packages/Deviot by the files in the zip

@gepd gepd added the Recheck label Jun 20, 2017
@gepd gepd closed this as completed Jun 26, 2017
@gepd gepd reopened this Jun 26, 2017
@gepd
Copy link
Owner

gepd commented Jun 30, 2017

Fixed in Deviot 2.0

@gepd gepd closed this as completed Jun 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants