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

ESO directory missing from SavedVariables path on Cyrillic + OneDrive system #36

Open
SIDMAY opened this issue Jun 27, 2021 · 9 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@SIDMAY
Copy link

SIDMAY commented Jun 27, 2021

Hello. Sorry for this formatting of the text, I don't often use GitHub))

The following error is displayed when uploading a file using " Minion"

Подробная информация об использовании оперативной 
(JIT) отладки вместо данного диалогового 
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.ArgumentException: Имя папки C:\Users\sidma\OneDrive\Документы\live\SavedVariables не допускается.
   в System.IO.FileSystemWatcher.set_Path(String value)
   в ESO_Discord_RichPresence_Client.SavedVariables.SetupWatcher()
   в ESO_Discord_RichPresence_Client.SavedVariables.Initialise()
   в ESO_Discord_RichPresence_Client.Main.Main_Load(Object sender, EventArgs e)
   в System.Windows.Forms.Form.OnLoad(EventArgs e)
   в System.Windows.Forms.Form.OnCreateControl()
   в System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   в System.Windows.Forms.Control.CreateControl()
   в System.Windows.Forms.Control.WmShowWindow(Message& m)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   в System.Windows.Forms.Form.WmShowWindow(Message& m)
   в System.Windows.Forms.Form.WndProc(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Загруженные сборки **************
mscorlib
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4360.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DiscordStatusClient
    Версия сборки: 1.0.0.0
    Версия Win32: 1.0.0.0
    CodeBase: file:///C:/Users/sidma/OneDrive/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/Elder%20Scrolls%20Online/live/AddOns/DiscordRichPresence/Client/DiscordStatusClient.exe
----------------------------------------
System.Windows.Forms
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4360.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4360.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.
@medallyon
Copy link
Owner

Have you been using this addon for a long time? At what version did this error start happening? I also don't really know what you mean by uploading files using Minion.

@medallyon medallyon added the help wanted Extra attention is needed label Jun 27, 2021
@whisperity
Copy link
Collaborator

I think they updated the client using Minion and then tried to use it, and the error pops because the file paths where the binary is installed contains Cyrillic letters.

%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B is the escape sequence for Документы, which is just Russian for Documents.

Is it a good thing to run the ESO addons from under OneDrive, instead of using the plain C:\Users\foo\Documents directory?

@whisperity
Copy link
Collaborator

whisperity commented Jun 28, 2021

System.ArgumentException: Имя папки C:\Users\sidma\OneDrive\Документы\live\SavedVariables не допускается.

I think this means "The name of the cabinet [...\SavedVariables] is not permitted." And if you observe this path, it is a directory outside where ESO normally is, right? It should be C:\Users\sidma\OneDrive\Документы\Elder Scrolls Online\live\SavedVariables. The "Elder Scrolls Online" part is missing.

@SIDMAY
Copy link
Author

SIDMAY commented Jun 28, 2021

Вы давно пользуетесь этим аддоном? В какой версии эта ошибка начала появляться? Я также действительно не понимаю, что вы имеете в виду, говоря о загрузке файлов с помощью Minion.

I just wanted to start using this addon. The installation path is standard for all addons from "Minion" and addons have never complained about the file location address.

If I understood the error correctly, then when compiling the executable file, there were no (JIT) [whatever that means] installed for debugging the .config file

I also noticed that this error is not only for me and on the site esoui.com in the comments section, there are also a lot of people with a similar problem, while not using the Cyrillic alphabet

@SIDMAY
Copy link
Author

SIDMAY commented Jun 28, 2021

System.ArgumentException: Имя папки C: \ Users \ sidma \ OneDrive \ Документы \ live \ SavedVariables не допускается.

I think this means "The name of the cabinet [...\SavedVariables] is not permitted." And if you observe this path, it is a directory outside where ESO normally is, right? It should be C:\Users\sidma\OneDrive\Документы\Elder Scrolls Online\live\SavedVariables. The "Elder Scrolls Online" part is missing.

I don't know where the part with The Elder Scrolls Online disappeared, but I checked the location of the folder with the addon and it lies on the right path.
2021-06-28_14-52-44

@whisperity
Copy link
Collaborator

@SIDMAY

If I understood the error correctly, then when compiling the executable file, there were no (JIT) [whatever that means] installed for debugging the .config file

That is not part of the actual error that happens here. Not even related! That is always printed by Windows at such errors. It tries to fix the application, but can't, because you (and your machine) isn't a developer for the program.

The issue is here:

System.ArgumentException: Имя папки C:\Users\sidma\OneDrive\Документы\live\SavedVariables не допускается.
в System.IO.FileSystemWatcher.set_Path(String value)
в ESO_Discord_RichPresence_Client.SavedVariables.SetupWatcher()

The program code calculates bad file path. Not sure if because of Cyrillic, but this path is completely wrong.

@SIDMAY
Copy link
Author

SIDMAY commented Jun 28, 2021

"C:\Users\sidma\OneDrive\Документы\Elder Scrolls Online\live\AddOns\DiscordRichPresence\Client\DiscordStatusClient.exe"

"C:\Users\sidma\OneDrive\Документы\Elder Scrolls Online\live\SavedVariables\DiscordRichPresence.lua"

Here are the paths to the addon files

@whisperity whisperity changed the title Operational debugging error ESO directory missing from SavedVariables path on Cyrillic + OneDrive system Jun 28, 2021
@Krzysztof23
Copy link

Krzysztof23 commented Jul 22, 2021

A similar problem occurs with me, except that everything is in English and the names of folders in Polish. After ignoring it, the program starts, however, it displays a message that reload ui is required, after execution, the application recommended by the attached command continues to display this yellow information about ui reload. Unfortunately, in my Discord activity I have a standard Elder Scrolls Online icon after starting the game
Even reinstalling the addon action did not help
EDIT: is it possible to indicate the application of a new path, if you chose the wrong one (accidentally), if so, I would ask for help, if not, I would ask you to add this function in the next update?

@medallyon medallyon added the bug Something isn't working label Jan 15, 2022
@Baertram
Copy link

Baertram commented Jan 15, 2022

This issue is not related to this particular addon here I think:
Minion is not supporting any non-latin characters in your windows user name.
If you are using Cyrillic or other non-latin characters in your windows username and want to use Minion you need to create a fake user with only latin characters in windows, e.g. "MyFakeUser" and install the addons to that user's documents/elder scrolls online/live/AddOns folder (create it as empty folder and point Minion to update to it) and then copy the files from the FakeUser to your cyrilic user's documents/elder scrolls online/live/AddOns folder (via a .bat file e.g.)

Beside that: Elder Scrolls Onlien does not work properly in many cases if you use OneDrive and let your documents folder sync with OneDrive. You should disable the documents folder OneDrive sync if ESO is not recognizing the addons ingame properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants