Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report tool not generating the zip file on desktop #12707

Closed
1 task done
franky920920 opened this issue Aug 10, 2021 · 13 comments
Closed
1 task done

Bug report tool not generating the zip file on desktop #12707

franky920920 opened this issue Aug 10, 2021 · 13 comments
Assignees
Labels
Area-Bug Report Tool Issues around the Bug Report Tool from PowerToys Issue-Bug Something isn't working Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@franky920920
Copy link
Contributor

Microsoft PowerToys version

0.43.0

Running as admin

  • Yes

Area(s) with issue?

General

Steps to reproduce

  1. Right-click on the tray icon and click Report Bug.
  2. The message box "Bug report .zip file has been created on your desktop" appears, the OK button clicked.

✔️ Expected Behavior

The bug report .zip file should be created on the desktop.

❌ Actual Behavior

There is no file created on the desktop. (Shell location: shell:desktop)

Other Software

Windows version: Windows 11 build 22000.120

@franky920920 franky920920 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Aug 10, 2021
@davidegiacometti davidegiacometti added the Area-Bug Report Tool Issues around the Bug Report Tool from PowerToys label Aug 10, 2021
@davidegiacometti davidegiacometti added this to the Stability Release milestone Aug 10, 2021
@dedavis6797 dedavis6797 removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Aug 13, 2021
@dedavis6797
Copy link
Contributor

@franky920920 thanks for reporting this! Can you verify that this only happens with v0.43.0? If you re-install v0.41.4, is the issue still there?

@dedavis6797 dedavis6797 added the Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. label Aug 13, 2021
@franky920920
Copy link
Contributor Author

franky920920 commented Aug 13, 2021

Can you verify that this only happens with v0.43.0?

@dedavis6797 Nope. v0.41.4 get the same issue. Screenshot attached.
Update: My Windows has update to Windows 11 build 22000.132. The issue still occurred on both v0.43.0 and 0.41.4
image

@jaimecbernardo
Copy link
Collaborator

I've just tested it out on Windows 11 and it generated the zip file. It's named something like PowerToysReport_{timestamp}.zip.
Might this have something to do with the Unicode path? Can you please share the full path for your Desktop?

@franky920920
Copy link
Contributor Author

@jaimecbernardo Sure, this is my full desktop path:
C:\Users\frank\OneDrive\桌面

@mykhailopylyp
Copy link
Contributor

I believe it is a known issue. We created an issue https://github.com/kuba--/zip/issues/156 to address it.

@franky920920

  • Go to C:\Program Files\PowerToys\Tools
  • Run BugReportTool.exe
  • Post a screenshot of the terminal

@franky920920
Copy link
Contributor Author

franky920920 commented Aug 20, 2021

@mykhailopylyp Here you go!
image
BTW, If a zip error happen , I believe there should be an try-catch statement to handle it and prompt a error message.

@mykhailopylyp
Copy link
Contributor

@franky920920
Thank you for following up! As a workaround try the following steps

  • Go to C:\Program Files\PowerToys\Tools
  • Run BugReportTool.exe {a path where bug report should be generated}. Make sure the passed path contains only ASCII characters(try Latin letters)
  • Check if a bug report is generated in the passed folder

Let us know if it works for you

@franky920920
Copy link
Contributor Author

@mykhailopylyp Yes. This workaround works! See screenshot below:
image

@mykhailopylyp mykhailopylyp added Status-Blocked We can't make progress due to a dependency or issue and removed Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. labels Aug 20, 2021
@mykhailopylyp
Copy link
Contributor

Blocked by https://github.com/kuba--/zip/issues/156

@franky920920
Copy link
Contributor Author

@mykhailopylyp According to https://github.com/kuba--/zip/issues/156#issuecomment-907109766 the blocked issue has been resolved so I believe this issue could be processed.

@mykhailopylyp mykhailopylyp removed the Status-Blocked We can't make progress due to a dependency or issue label Aug 30, 2021
@mykhailopylyp mykhailopylyp self-assigned this Aug 31, 2021
@Aaron-Junker Aaron-Junker added the Status-In progress This issue or work-item is under development label Aug 31, 2021
@mykhailopylyp mykhailopylyp added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Status-In progress This issue or work-item is under development labels Sep 2, 2021
@crutkas
Copy link
Member

crutkas commented Oct 1, 2021

Fixed in 0.47

@incansvl
Copy link

incansvl commented Nov 4, 2021

I was having the problem with the Bug reporter tool not running in v0.49.1. Bug ID #14270 is mine.

I tried running the tool manually from the installation folders as recommended above, and it works correctly.

Note-

On this machine I have PT installed in C:\Program Files\Microsoft\PowerToys not the default location. Could this be the cause of the UI failing to find + execute the bug reporter? (i.e. a default pathname hard coded somewhere, and the real PT install location is not being pushed onto the PATH at run time?

@SugarSpikes
Copy link

I still have this same problem. It works if I run the actual tool in the installation folder, but not if I use the icon in the system tray menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Bug Report Tool Issues around the Bug Report Tool from PowerToys Issue-Bug Something isn't working Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests

9 participants