Odrive didn't work in win10

Hi,

I update de odrive and didn’t open anymore… don’t start… i remove twice and installing again nothing…

Someone can help me? I used im my work, i need to be functional again.

The SO is Win 10 64bits.

Thanks.

Hi,
Can you follow the instructions in this post and let me know what you see?

Thanks!

I already did that and give me something confuse… Because that i open a thread.

1- The string is missing the terminator: ".

  • CategoryInfo : ParserError: (:slight_smile: [], ParentContainsErrorRecordException
  • FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

2- ls : Cannot find drive. A drive with the name ‘\C’ does not exist.
At line:1 char:31

  • powershell -command "&{$bin=$(ls -Dir “$HOME.odrive\bin” | sort Na …
  •                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (\C:String) [Get-ChildItem], DriveNotFoundException
    • FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

The string is missing the terminator: ".
+ CategoryInfo : ParserError: (:slight_smile: [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

Hi @vaniaxsantos,
Are you running this from a command prompt or powershell?

Make sure you are running this from a cmd session (type cmd into the windows menu). Running this inside a powershell session will produce those errors.

Ah ok! One minute please. rsrsrs

1
Microsoft Windows [Version 10.0.14393]
© 2016 Microsoft Corporation. Todos os direitos reservados.

C:\Users\VâniaManueladosSanto>powershell -command “&{& “$env:programfiles\odrive\odrive.exe” “-v” 2>&1 | echo;}”

Starting launcher with verbose output…

No product argument was passed in. Attempting to find product.conf…

Using path C:\PROGRA~1\odrive\product.conf…

Got UnicodeEncodeError exception ‘ascii’ codec can’t encode character u’\xe2’ in position 17: ordinal not in range(128)

Traceback (most recent call last):
File “”, line 113, in main
File “”, line 72, in print_message_if_verbose
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe2’ in position 17: ordinal not in range(128)

Could not launch, which means the app is already running
odrive.exe : ERROR:root:Got UnicodeEncodeError exception ‘ascii’ codec can’t
encode character u’\xe2’ in position 17: ordinal not in range(128)
At line:1 char:3

  • &{& “$env:programfiles\odrive\odrive.exe” “-v” 2>&1 | echo;}
  • + CategoryInfo          : NotSpecified: (ERROR:root:Got ...t in range(128)
    

:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

ERROR:root:Traceback (most recent call last):
File “”, line 113, in main
File “”, line 72, in print_message_if_verbose
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe2’ in position
17: ordinal not in range(128)

2
Microsoft Windows [Version 10.0.14393]
© 2016 Microsoft Corporation. Todos os direitos reservados.

C:\Users\VâniaManueladosSanto>powershell -command “&{& “$env:programfiles\odrive\odrive.exe” “-v” 2>&1 | echo;}”

Starting launcher with verbose output…

No product argument was passed in. Attempting to find product.conf…

Using path C:\PROGRA~1\odrive\product.conf…

Got UnicodeEncodeError exception ‘ascii’ codec can’t encode character u’\xe2’ in position 17: ordinal not in range(128)

Traceback (most recent call last):
File “”, line 113, in main
File “”, line 72, in print_message_if_verbose
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe2’ in position 17: ordinal not in range(128)

Could not launch, which means the app is already running
odrive.exe : ERROR:root:Got UnicodeEncodeError exception ‘ascii’ codec can’t
encode character u’\xe2’ in position 17: ordinal not in range(128)
At line:1 char:3

  • &{& “$env:programfiles\odrive\odrive.exe” “-v” 2>&1 | echo;}
  • + CategoryInfo          : NotSpecified: (ERROR:root:Got ...t in range(128)
    

:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

ERROR:root:Traceback (most recent call last):
File “”, line 113, in main
File “”, line 72, in print_message_if_verbose
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe2’ in position
17: ordinal not in range(128)

C:\Users\VâniaManueladosSanto>powershell -command “&{$bin=$(ls -Dir “$HOME.odrive\bin” | sort Name -desc | select -f 1).FullName; Start-Process -NoNewWindow “$($bin)\odriveapp.exe”;}”

C:\Users\VâniaManueladosSanto>C:\Users\VNIAMA~1\ODRIVE~1\bin\5880\qml
Traceback (most recent call last):
File “”, line 53, in
File “”, line 50, in main
File “”, line 27, in launchDesktopApp
File “c:\hudson\workspace\odrive_win_master_build\deploy\sandbox\src\pyinstaller\PyInstaller\loader\pyi_importers.py”, line 270, in load_module
File “C:\hudson\workspace\Odrive_Win_Master_Build\stage\artifacts\build\odriveapp\WinOdriveApp\out00-PYZ.pyz\src.odrive_app.OdriveDesktopApp”, line 157, in
File “C:\hudson\workspace\Odrive_Win_Master_Build\stage\artifacts\build\odriveapp\WinOdriveApp\out00-PYZ.pyz\src.odrive_app.OdriveDesktopApp”, line 158, in OdriveDesktopApp
File “C:\hudson\workspace\Odrive_Win_Master_Build\stage\artifacts\build\odriveapp\WinOdriveApp\out00-PYZ.pyz\src.utility.datastructure”, line 46, in init
File “C:\hudson\workspace\Odrive_Win_Master_Build\stage\artifacts\build\odriveapp\WinOdriveApp\out00-PYZ.pyz\src.utility.Utility”, line 164, in unicode
File “C:\hudson\workspace\Odrive_Win_Master_Build\stage\artifacts\build\odriveapp\WinOdriveApp\out00-PYZ.pyz\encodings.utf_8”, line 16, in decode
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xe2 in position 10: invalid continuation byte

Thanks. The app doesn’t like the â character. This seems to be a regression and we’re looking into it.

And you have the SLA to a solution? :frowning:

I think we will have a fix in the next release, which could be as soon as today. Just waiting for QA sign-off

It’s available now on Win-5914 and above. The latest build can be downloaded from here.

It seems it’s still not working for ü :frowning:

Microsoft Windows [Version 10.0.10586]
© 2015 Microsoft Corporation. All rights reserved.

C:\Users\Zürich>powershell -command “&{& “$env:programfiles\odrive\odrive.exe” “-v” 2>&1 | echo;}”

Starting launcher with verbose output…

No product argument was passed in. Attempting to find product.conf…

Using path C:\PROGRA~1\odrive\product.conf…

Got UnicodeEncodeError exception ‘ascii’ codec can’t encode character u’\xfc’ in position 17: ordinal not in range(128)

Traceback (most recent call last):
File “”, line 113, in main
File “”, line 72, in print_message_if_verbose
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xfc’ in position 17: ordinal not in range(128)

odrive.exe : ERROR:root:Got UnicodeEncodeError exception ‘ascii’ codec can’t
encode character u’\xfc’ in position 17: ordinal not in range(128)
At line:1 char:3

  • &{& “$env:programfiles\odrive\odrive.exe” “-v” 2>&1 | echo;}
  • + CategoryInfo          : NotSpecified: (ERROR:root:Got ...t in range(128)
    

:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

ERROR:root:Traceback (most recent call last):
File “”, line 113, in main
File “”, line 72, in print_message_if_verbose
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xfc’ in position
17: ordinal not in range(128)

Could not launch, which means the app is already running

C:\Users\Zürich>

Is this the first time you’ve run odrive, or was it running previously and then stopped after an upgrade?

This particular error is actually fairly benign, in that it is only an error on the verbose messages being printed to standard out. It should still be fixed, but won’t actually cause any problems with running odrive.

What do you see when you run:
powershell -command "&{$bin=$(ls -Dir \"$HOME\.odrive\bin\" | sort Name -desc | select -f 1).FullName; Start-Process -NoNewWindow \"$($bin)\odriveapp.exe\";}"

Thanks for your quick answer.
It stopped working after the previous upgrade. Since then, if I want it to run properly I have to launch odriveapp.exe in my c:/users/myuser/.odrive/bin/5914/ folder. Not working if I try to run it from odrive.exe.

Microsoft Windows [Version 10.0.10586]
© 2015 Microsoft Corporation. All rights reserved.

C:\Users\Zürich>powershell -command “&{$bin=$(ls -Dir “$HOME.odrive\bin” | sort Name -desc | select -f 1).FullName; Start-Process -NoNewWindow “$($bin)\odriveapp.exe”;}”

C:\Users\Zürich>C:\Users\ZRICH~1\ODRIVE~1\bin\5914\qml

It runs when using the last command you posted. I hope it helps!

Thanks!

I have one more command to run. Can you show me the output of this one, please? Make sure that odrive is completely shutdown and there are no more odrive.exe or odriveapp.exe processes running in the Task Manager.

powershell -command "&{& \"$env:programfiles\odrive\odrive.exe\" 2>&1 | echo;Get-Content \"$HOME\.odrive\odrive.log\" | Select-Object -Last 15;}"

Done!

Microsoft Windows [Version 10.0.10586]
© 2015 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>powershell -command "&{& “$env:programfiles\odrive\odrive.exe” 2>&1 | echo;Get-Content “$HOME.odrive\odrive.log” | Select-Object -Last 15;}"
odrive.exe : Traceback (most recent call last):
At line:1 char:3

  • &{& “$env:programfiles\odrive\odrive.exe” 2>&1 | echo;Get-Content "$H …
  • + CategoryInfo          : NotSpecified: (Traceback (most recent call last)
    

::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

File “C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts
build\odrive\WinOdrive\out00-PYZ.pyz\logging”, line 861, in emit
File “C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts
build\odrive\WinOdrive\out00-PYZ.pyz\logging”, line 734, in format
File “C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts
build\odrive\WinOdrive\out00-PYZ.pyz\logging”, line 476, in format
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 127:
ordinal not in range(128)
Logged from file src.odrive_app.Launcher, line 157
Traceback (most recent call last):
File “C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts
build\odrive\WinOdrive\out00-PYZ.pyz\logging”, line 861, in emit
File “C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts
build\odrive\WinOdrive\out00-PYZ.pyz\logging”, line 734, in format
File “C:\hudson\workspace\Odrive_Win_Master_Launcher\deploy\output\artifacts
build\odrive\WinOdrive\out00-PYZ.pyz\logging”, line 476, in format
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 130:
ordinal not in range(128)
Logged from file src.odrive_app.Launcher, line 157
[INFO] 2016-09-22 14:49:29,101: Launching C:\Users\Zürich.odrive\bin\5914\odriveapp.exe
[INFO] 2016-09-22 14:49:29,230: process already running with processPath:C:\Users\Zürich.odrive\bin\5914\odriveapp.exe
[ERROR] 2016-09-22 14:49:29,232: Client is already running
[INFO] 2016-09-22 16:10:57,355: Product home path: C:\Users\Zürich.odrive
[INFO] 2016-09-22 16:10:57,388: Launching C:\Users\Zürich.odrive\bin\5914\odriveapp.exe
[INFO] 2016-09-22 16:10:57,469: process already running with processPath:C:\Users\Zürich.odrive\bin\5914\odriveapp.exe
[ERROR] 2016-09-22 16:10:57,470: Client is already running
[INFO] 2016-09-22 16:11:21,494: Product home path: C:\Users\Zürich.odrive
[INFO] 2016-09-22 16:11:21,525: Launching C:\Users\Zürich.odrive\bin\5914\odriveapp.exe
[INFO] 2016-09-22 16:11:21,595: process already running with processPath:C:\Users\Zürich.odrive\bin\5914\odriveapp.exe
[ERROR] 2016-09-22 16:11:21,598: Client is already running
[INFO] 2016-09-22 16:35:24,269: Product home path: C:\Users\Zürich.odrive
[INFO] 2016-09-22 16:35:24,344: Launching C:\Users\Zürich.odrive\bin\5914\odriveapp.exe
[INFO] 2016-09-22 16:35:26,930: process already running with processPath:C:\Users\Zürich.odrive\bin\5914\odriveapp.exe
[INFO] 2016-09-22 16:35:26,930: Launched C:\Users\Zürich.odrive\bin\5914\odriveapp.exe

C:\WINDOWS\system32>

And, as a result, it seems to be running properly

Thanks. Can you try exiting and launching normally now. The effect should be the same, but I just want to make sure.

Working fine! Thanks again for your kind and quick help

1 Like