Tested with “Hello World” Win10 AS 8.0.1.0. A full deploy works ok the first time the app is deployed. The Full Deploy will then fail at “Removing old deployment.” in the status line. Refresh Deploy (from the Menu or F7) works ok. Workaround: Removing the app folder from my server permits a full deploy again since the “Removing old deployment” procedure is not called. This could be a problem unique to my specific production computer or Server but hopefully a fix can be found.
Note: A Deploy to FTP/SFTP without an intervening Refresh Deploy is now required for the app to run in offline mode. If a Refresh Deploy is used and the device is in offline mode when the app doesn’t run and the Console has lots of errors. In version 6x of AS a Refresh Deploy would not prevent the app from running in offline mode as is now the case with versions 7 and 8 of AS.
See below partial log file:
2020-01-13 10:02:36,047 - root - ERROR - An exception has occurred!
Traceback (most recent call last):
File "IDEController.py", line 1297, in FtpRmTree
File "ftplib.py", line 631, in cwd
File "ftplib.py", line 278, in voidcmd
File "ftplib.py", line 251, in voidresp
File "ftplib.py", line 246, in getresp
ftplib.error_perm: 550 Can't change directory to code.js: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "MainFrame.py", line 2701, in OnMenuRunDeploySFTP
File "MainFrame.py", line 1858, in OnMenuRunDeployMenu
File "IDEController.py", line 65, in wrapper
File "IDEController.py", line 1418, in FtpDeploy
File "IDEController.py", line 1301, in FtpRmTree
File "ftplib.py", line 614, in delete
File "ftplib.py", line 273, in sendcmd
File "ftplib.py", line 246, in getresp
ftplib.error_perm: 550 Could not delete code.js: No such file or directory
etc