JdeRobot / bt-studio

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

Zip files not working #191

Closed javizqh closed 1 month ago

javizqh commented 1 month 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 1 month ago

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

javizqh commented 1 month ago

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

OscarMrZ commented 1 month 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 1 month ago

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