Bug 52916 - Zip logs fails - System.IO.FileNotFoundException: iOSDesigner-Mac.log was not found on the Mac
Summary: Zip logs fails - System.IO.FileNotFoundException: iOSDesigner-Mac.log was not...
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: 4.3.1 (15.1)
Hardware: PC Windows
: High major
Target Milestone: 15.1
Assignee: mag@xamarin.com
URL:
Depends on:
Blocks:
 
Reported: 2017-02-28 22:20 UTC by Ben Beckley
Modified: 2017-03-16 20:40 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Ben Beckley 2017-02-28 22:20:31 UTC
Reproduction Steps:
1) Start VS
2) Create a new iOS project
3) Allow an XMA connection to be established
4) Go to "Help > Xamarin > Zip Logs"

Expected: No error and all expected logs are zipped.
Actual: Get error in status bar stating that zipped logs failed. Checking the IDE.log afterwards shows the stack trace of the exception.

>System.IO.FileNotFoundException: The file '/Users/Ben/Library/Logs/Xamarin-4.3/2017-02-28__16-51-05.14324.iOSDesigner-Mac.log' was not found on the Mac
https://gist.github.com/BenBeckley/8bfe18c5c1e0051ef62c53e473ef5f60

env info: https://gist.github.com/BenBeckley/a29fcebc27172305579096893be8c085
Comment 1 Jose Gallardo 2017-03-09 22:37:20 UTC
I was looking into this bug and after syncing with Mauro, it seems to be caused by an old designer agent which is still deployed in 15.1.

He'll work on removing it, which should fix the issue.
Comment 2 Jose Gallardo 2017-03-16 18:47:24 UTC
This issue is fixed on PRs
d15-1: https://github.com/xamarin/XamarinVS/pull/7066
master: https://github.com/xamarin/XamarinVS/pull/7065

Waiting for verification on PR build.
Comment 3 Ben Beckley 2017-03-16 20:40:10 UTC
Verified the fix in 4.3.1.41 (f197808/xvs-win-XamarinVS-pr-7066)
Verified the fix in 99.1.0.796 (cabee27/xvs-win-XamrinVs-pr-7065)