Skip to content
New issue

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

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

Already on GitHub? # to your account

New error when I attempt to translate #45

Closed
Sourenics opened this issue Sep 13, 2020 · 2 comments
Closed

New error when I attempt to translate #45

Sourenics opened this issue Sep 13, 2020 · 2 comments
Labels

Comments

@Sourenics
Copy link

So, I was going to translate a new mod and suddenly the app gave me this error:

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Directory name (Spanish) not found in file path (D:\Users\Souren\Documents\GitHub\VIET\VIET Events\localization\french\viet_events)
        at parsing.Parse.getFileName(Parse.java:829)
        at parsing.Parse.<init>(Parse.java:97)
        at parsing.Parse.<init>(Parse.java:150)
        at gui.Window.loadWorkingSession(Window.java:209)
        at gui.Window.access$1(Window.java:180)
        at gui.Window$DialogWorkingSession.actionPerformed(Window.java:538)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
@NicolasGrosjean
Copy link
Owner

Thank you for the report, I have succeed to reproduce the bug, I will fix it.

P.S: Good choice to translate VIET Events for CK3, I am currently uptading the French translation of VIET Events for CK2.

@NicolasGrosjean
Copy link
Owner

I will update a new version with the fix.

You can use the current version without the fix by deleting all the directories in localization except english and spanish.

NicolasGrosjean added a commit that referenced this issue Sep 13, 2020
Create a new version because #45 is a blocking issue.
In fact the working session is not even saved.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants