# Bug with version 6769

**URL:** <https://forum.odrive.com/t/bug-with-version-6769/8084>\
**Category:** Troubleshooting\
**Created:** [November 10, 2020, 6:15am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084 "2020-11-10T06:15:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 10, 2020, 6:15am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/1 "2020-11-10T06:15:55Z")

</div>

After updating odrive logs such error and exiting immediately:

```auto
[ERROR] 2020-11-10 08:13:00,019: Got UnicodeEncodeError exception 'ascii' codec can't encode characters in position 9-13: ordinal not in range(128)
[ERROR] 2020-11-10 08:13:00,019: Traceback (most recent call last):
  File "<string>", line 177, in main
  File "C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts\build\odrive\WinOdrive\out00-PYZ.pyz\src.odrive_app.Launcher", line 167, in launch
  File "C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts\build\odrive\WinOdrive\out00-PYZ.pyz\src.odrive_app.Launcher", line 121, in _launch_app
  File "C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts\build\odrive\WinOdrive\out00-PYZ.pyz\subprocess", line 394, in __init__
  File "C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts\build\odrive\WinOdrive\out00-PYZ.pyz\subprocess", line 644, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-13: ordinal not in range(128)

```

Reinstalling doesn’t help.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 10, 2020, 4:08pm UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/2 "2020-11-10T16:08:36Z")

</div>

Hi @kzh55,  
Sorry for the trouble. This sounds like it could be due to an issue encountered during the update.

Can you try the following? This will “reset” the bin directory, which may be incomplete, and then start odrive:

1. Open up a command prompt by clicking on the Windows icon in the taskbar, typing “cmd”, and then clicking on “Command Prompt”.  

2. Once the command prompt is open, copy and paste the following command in (all one line) and hit enter:  
`powershell -command " & {Stop-Process -erroraction silentlycontinue -Force -processname odriveapp; Stop-Process -erroraction silentlycontinue -Force -processname odrive; Stop-Process -erroraction silentlycontinue -Force -processname odrive; sleep 5; ren \"$HOME\.odrive\bin\" \"$HOME\.odrive\bin_bak\";del \"$HOME\.odrive\version\";Start-Process -NoNewWindow \"$env:programfiles\odrive\odrive.exe\";sleep 20;cd \"$HOME\.odrive\"; del -recurse -Force \"bin_bak\"}"`

This is going to delete the `C:\Users\[your user name here]\.odrive\bin` folder and the `C:\Users\[your user name here]\.odrive\version` file and then re-run the launcher. I have a feeling that the `C:\Users\[your user name here]\.odrive\bin` folder is incomplete somehow and a re-install will not correct this particular error, unfortunately.

Instead of running the above command you can also just manually remove those two items (and only those two items) and then try running odrive again:

- The folder `C:\Users\[your user name here]\.odrive\bin`
- The file `C:\Users\[your user name here]\.odrive\version`

Just let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 11, 2020, 5:57am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/3 "2020-11-11T05:57:47Z")

</div>

@Tony  
I manually remove those folders. After auto updating i got same error ☹

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 11, 2020, 6:02am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/4 "2020-11-11T06:02:19Z")

</div>

Hi @kzh55,  
Hmm… okay. Try removing those folders again and, without starting odrive again, installing the latest version from here: [https://www.odrive.com/downloaddesktop?platform=win](https://www.odrive.com/downloaddesktop?platform=win)

Once odrive comes up, can you send a diagnostic from the odrive tray menu? I just want to take a look at a couple of things.

---

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 11, 2020, 6:44am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/5 "2020-11-11T06:44:55Z")

</div>

@Tony  
No tray icon after installing latest version. Cannot send you diagnostics.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 11, 2020, 7:04am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/6 "2020-11-11T07:04:16Z")

</div>

Hi @kzh55,  
This is definitely odd. What if you run this command from a command prompt:  
`powershell -command "&{$bin=$(ls \"$HOME\.odrive\bin\" | sort Name -desc | select -f 1).FullName; Start-Process \"$($bin)\odriveapp.exe\";}"`

The odrive.exe app actually ends up launching odriveapp.exe in the `C:\Users\[your user name here]\.odrive\bin\[latest version]\` folder. The above command will run it directly. Maybe the odriveapp.exe app is erroring out in some way?

When you try to launch it directly, what happens?

Can you also send me the log file so I can take a look at it?

---

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 11, 2020, 7:24am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/7 "2020-11-11T07:24:19Z")

</div>

@Tony

Here is error: [log](https://ibb.co/yn5Z3h3)

Looks like odrive doesn’t understand cyrillic symbols. It strange, because previous versions works like a charm.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 11, 2020, 7:47am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/8 "2020-11-11T07:47:30Z")

</div>

Thanks @kzh55,  
We’ll need to dig into this.

I am having a new version built based on the previous version that was working for you. That will hopefully get you back up and running until we figure out why this broke in this release.

Can you also post the username here so we can make sure we are testing with the same characters?

---

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 11, 2020, 7:56am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/9 "2020-11-11T07:56:56Z")

</div>

@Tony  
Username: Школа

---

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 11, 2020, 8:54am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/10 "2020-11-11T08:54:00Z")

</div>

@Tony

Can you share link to that version, or wait for next version?

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 11, 2020, 9:01am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/11 "2020-11-11T09:01:27Z")

</div>

Hi @kzh55,  
Try this build: [https://www.odrive.com/s/590c00ed-a1e7-402c-b161-d2d046019f38-5faba85c](https://www.odrive.com/s/590c00ed-a1e7-402c-b161-d2d046019f38-5faba85c)

---

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 11, 2020, 10:17am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/12 "2020-11-11T10:17:54Z")

</div>

@Tony  
Same error. Strange. I did full reinstall.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 11, 2020, 3:54pm UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/13 "2020-11-11T15:54:10Z")

</div>

Hi @kzh55,  
Sorry, I didn’t see your message before I signed-off.

I’m still working through this, but can you try this one-line script from a standard cmd prompt in the meantime?  
`powershell -command "&{$bin=$(ls \"$HOME\.odrive\bin\" | sort Name -desc | select -f 1).FullName; Start-Process \"$((New-Object -ComObject Scripting.FileSystemObject).GetFolder($bin).ShortPath)\odriveapp.exe\";}" `  
This attempts to use the “shortpath” to bypass any non-standard character issues.

Another way to do this is to perform the following steps (also from a standard cmd prompt):

- perform a `dir /x` on your `C:\Users` folder to get the “shortpath” of your profile directory
- Use that “shortpath” version to run the odriveapp.exe command

For example, on my system running `dir /x` will show a shortpath for my user’s profile directory as `5A62~1`. I then run `C:\Users\5A62~1\.odrive\bin\6769\odriveapp.exe`

---

<div class="post-metadata">

**Author:** ![crocella.marco](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@crocella.marco](https://forum.odrive.com/u/crocella.marco)\
**Post date:** [November 11, 2020, 6:27pm UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/14 "2020-11-11T18:27:56Z")

</div>

I have the same problem.  
Tried the powershell command  
_powershell -command “&{$bin=$(ls “$HOME.odrive\bin” | sort Name -desc | select -f 1).FullName; Start-Process “$((New-Object -ComObject Scripting.FileSystemObject).GetFolder($bin).ShortPath)\odriveapp.exe”;}”_  
it didn’t work.

With the _C:\Users\5A62~1.odrive\bin\6769\odriveapp.exe_ odrive started working. When I closed the command prompt it stopped responding.

Sadly I have e special character, à, in my path.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 11, 2020, 7:26pm UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/15 "2020-11-11T19:26:05Z")

</div>

Hi @crocella.marco,  
Thanks for the feedback. You would need to leave the command prompt open for now, until we can get a proper fix out.

I may have a build to test here soon.

---

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 12, 2020, 5:59am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/16 "2020-11-12T05:59:58Z")

</div>

@Tony  
With short path it works. Running without any errors. Temporary solution - run it from autorun with shortpath.

But only with 6771 build.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 12, 2020, 8:39am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/17 "2020-11-12T08:39:47Z")

</div>

Hi @kzh55 and @crocella.marco,  
Can you give this build a shot, when you get a chance, and let me know the result? [https://www.odrive.com/s/2104cc44-ff53-4d69-b628-25e5bc1c4b92-5facf4a3](https://www.odrive.com/s/2104cc44-ff53-4d69-b628-25e5bc1c4b92-5facf4a3)

---

<div class="post-metadata">

**Author:** ![kzh55](https://forum.odrive.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@kzh55](https://forum.odrive.com/u/kzh55)\
**Post date:** [November 12, 2020, 8:58am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/18 "2020-11-12T08:58:52Z")

</div>

@Tony  
It works. Thanks. I can use this build, it will autoupdate for next build if needs?

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [November 12, 2020, 9:06am UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/19 "2020-11-12T09:06:27Z")

</div>

Hi @kzh55,  
Thanks for confirming!

Yes it will be able to autoupdate.

---

<div class="post-metadata">

**Author:** ![crocella.marco](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@crocella.marco](https://forum.odrive.com/u/crocella.marco)\
**Post date:** [November 12, 2020, 4:00pm UTC](https://forum.odrive.com/t/bug-with-version-6769/8084/20 "2020-11-12T16:00:06Z")

</div>

I can confirm it works too.  
Thank you for the great work!

[Next page](https://forum.odrive.com/t/bug-with-version-6769/8084.md?page=2)
