JdeRobot / bt-studio

A ROS-based visual IDE for creating Behavior Trees
https://jderobot.github.io/bt-studio/
GNU General Public License v3.0
67 stars 10 forks source link

Zip files not working #191

Closed javizqh closed 2 months ago

javizqh commented 2 months ago

All of the zips are not working. In the RAM trying to execute the app the error is: Bad magic number for central directory

javizqh commented 2 months ago

The temporary files created by the backend work properly, so the problem has to be in the frontend

javizqh commented 2 months ago

The calls from the frontend to the backend that return a zip must be called using fetch, not axios

OscarMrZ commented 2 months ago

That's not really the case. The important bit is handling the response as a blob. In #194 you can check the app generation wrapper working with axios.

javizqh commented 2 months ago

This was already resolved. Waiting for the https://github.com/JdeRobot/bt-studio/pull/192 to be merged