arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.11k stars 4.79k forks source link

tasmota32-scripting build fails - needs adopting to the new email implementation #19521

Closed hpuac closed 1 year ago

hpuac commented 1 year ago

PROBLEM DESCRIPTION

A clear and concise description of what the problem is.

I wanted to install the unofficial "Tasmota Scripting (english)" via the Web-UI and got a 404 error. The error message was: Downlading firmware https://tasmota.github.io/install/firmware/unofficial//tasmota32-scripting.factory.bin failed: 404 After posting this in the "flashing-issues" discord it turns out that a failed build is the cause. See: https://github.com/Jason2866/Tasmota-build/actions/runs/6186683718/job/16794919497 Apparently the code needs adoption to the new email implementation.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

Not relevant, skipping this point

- [x] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:

Not relevant, skipping this point

Not relevant, skipping this point

- [x] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:

Not relevant, skipping this point

TO REPRODUCE

Steps to reproduce the behavior:

  1. Go to the Tasmota install page
  2. Select Tasmota Scripting (english)
  3. Try to install

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.

I'm expecting the firmware to download and to flash

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

Screenshot 2023-09-14 at 21 45 14 Screenshot 2023-09-14 at 22 42 22

ADDITIONAL CONTEXT

Add any other context about the problem here.

Fyi @gemu2015 as maintainer of scripter

(Please, remember to close the issue when the problem has been addressed)

gemu2015 commented 1 year ago

file system access has been completely changed in new email library. the library uses a different approach than tasmota.

it has to be evaluated how to adapt the code.

i am short in time and it may take some time to solve this.

currently it will compile by commenting this line in xdrv_01_2_webserver_esp32_mail.ino

//att.file.storage_type = esp_mail_file_storage_type_univ;

any email attachments are no longer possible, but simple mail should work

hagenbuch commented 1 year ago

Not wanting to add pressure, I just had the same problem :) Could upload and flash the traditional way, so no worries :)