Closed allenyllee closed 4 years ago
@allenyllee Can you please reply with the full error?
error: The following untracked working tree files would be overwritten by checkout:
globalStorage/humy2833.ftp-simple/ftp-simple.json
globalStorage/mhutchie.git-graph/avatars/4bdb36e27701d86cc80919cba423d4c9.png
globalStorage/mhutchie.git-graph/avatars/9377eac1c3103b715214d0c42091b218.png
globalStorage/mhutchie.git-graph/avatars/b97d9081f8a51413ef1866d5d735aeba.jpeg
snippets/c.json
snippets/json.json
snippets/plaintext.json
Please move or remove them before you switch branches.
Aborting
@allenyllee If you don't have any important files on the Linux machine, please try this:
Syncify: Reset
in the command palette@arnohovhannisyan Still get this error....
@arnohovhannisyan Seems work! But I can't see any message about "download successfully", so I'm not sure it is actually work or not.
@allenyllee
I can't see any message about "download successfully", so I'm not sure it is actually work or not.
Can you test it by changing something on Windows and downloading on Linux?
@arnohovhannisyan I've changed some setting on Linux and trying to download on Windows, while download successful(it says: Already up to date), the actual settings.json doesn't change...
@allenyllee Have you verified that the remote repository has been updated with the new change?
...and I noticed that CPU usage was very high when I upload some changes on Windows, the whole process takes about 5 mins!
@arnohovhannisyan OK, I guess the reason is that: the uploading/downloading takes so long, but I have no information about the progress. So I repeat uploading/downloading many times, and modify some thing, then restart VScode. I don't know which is latest modify, until I can check it on my repo, but it's too late, because it takes about 5 mins to upload!
@allenyllee Can you try these steps on the computer with the performance issues?
Record button:
Save button:
code --inspect-extensions=9993
Developer: Show Running Extensions
Syncify: Upload
I have recorded it about 1000s, because I don't know the exact time it finished. So the txt file is very large, I can't attach it without compress.
@allenyllee Can you try uploading with all extensions disabled besides Syncify? You have a lot of extensions, so that may be the cause.
Edit: Also, can you run code --status
while uploading and reply with the results?
I have disabled all extensions and recorded it again, with the code --status
result.
CPU-20191115T035235.554Z.cpuprofile.zip
C:\Users\allen>code --status
Version: Code 1.40.1 (8795a9889db74563ddd43eb0a897a2384129a619, 2019-11-13T16:49:35.976Z)
OS Version: Windows_NT x64 10.0.18363
CPUs: Intel(R) Core(TM) i5-6198DU CPU @ 2.30GHz (4 x 2400)
Memory (System): 11.87GB (1.46GB free)
VM: 0%
Screen Reader: no
Process Argv: --inspect-extensions=9993
GPU Status: 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
CPU % Mem MB PID Process
0 89 18664 code main
4 114 4360 gpu-process
0 14 13948 electron-crash-reporter
2 187 17656 window (Running Extensions - custody-prediction-modeling - Visual Studio Code)
50 896 5800 extensionHost
0 5 12884 "C:\Program Files\Git\bin\bash.exe"
0 10 13024 "C:\Program Files\Git\bin\..\usr\bin\bash.exe"
0 6 17772 console-window-host (Windows internal process)
0 11 18388 watcherService
0 11 1608 console-window-host (Windows internal process)
0 83 17752 shared-process
Workspace Stats:
| Window (Running Extensions - custody-prediction-modeling - Visual Studio Code)
| Folder (custody-prediction-modeling): more than 33065 files
| File types: txt(4959) json(4616) seg(4600) clean(4600) xlsx(379)
| ipynb(30) py(27) msg(27) md(6) sh(6)
| Conf files: settings.json(1)
@arnohovhannisyan I found the root cause of this problem. In the %APPDATA%\Code\User
, there is ftp-simple
folder which contains extension ftp-simple
's old stuff, which include 33,705 files and 3,761 folders. I try to remove it and everything work fine!
Syncify Version
I am using Syncify v3.5.2
Describe the bug
A clear and concise description of what the bug is.
I can upload settings on Windows or Ubuntu separately(with different repo), but I can not sync settings between Windows and Ubuntu (with same repo).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Downloading without error
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
My extension list: