Menu

#55 Project fails to load for version 6.3.4

2.0
closed
nobody
None
2025-04-30
2025-02-09
Templayer
No

The attached project fails to load the video and subtitles, and actually doesn't get loaded at all (as I cannot save, etc.).

The project was newly created within 6.3.4 yesterday. It seems to be lacking the Notes property. In other projects that are loadable, that property is there, but empty. I do not know if that is the main cause for it not loading at all or not.

Upon further investigation, it seems that there was an improper unicode conversion of some kind.

The project file contains this:

Original=J:\VIDEOSOUBORY NAHRAVANO\Jedi Knight\Ucíme Skineriho Jedi Knight Príprava 2 CZ.vtt
Translated=J:\VIDEOSOUBORY NAHRAVANO\Jedi Knight\Ucíme Skineriho Jedi Knight Príprava 2 EN.vtt

BUT the actual file names in the file system always were like this (and they were newly created via Subtitle Workshop Classic without fault):

Učíme Skineriho Jedi Knight Příprava 2 CZ.vtt
Učíme Skineriho Jedi Knight Příprava 2 EN.vtt

Looks like certain uncommon diacritical symbols like "č" and "ř" got stripped for the purpose of saving a project and are no longer accented, and thus are no longer loadable from the file system.

I tried loading the project three ways (Recent, classic open, drag&drop into the window), but it seems like if loading the project files fails, it simply doesn't load the project at all. It should at least give the user an error message box that the project failed to load instead of completely failing in silence. But that can be done later. Fixing it is more important.

I tried adding the notes section, it doesn't load.

I'm going to fix the diacritical symbols inside the project file myself, but before that, I need to revert my Notes change and upload the files to this issue here...

3 Attachments

Discussion

  • Templayer

    Templayer - 2025-02-09

    Even if I fix the paths to contain the correct file names inside the project file, it completely fails to load the project.

     
    • Templayer

      Templayer - 2025-02-09

      Actually, I reverted to an older version of Subtitle Workshop and it appears that the project doesn't get loaded!

      Then I took a look at the recent list and it seems like I simply didn't have those specific diacritical symbols in my subtitle file names before, so this is actually a completely new issue, and the problem might have been there since times in memoriam, I just didn't encounter it yet.

      But I do recall having a similar issue with Jagged Alliance many months back. Hmm...

       
      • Templayer

        Templayer - 2025-02-09

        The videofile also fails to load from the project file if it contains symbols such as "č", "ě", "ř", etc., but loads fine if loaded directly. Same for subtitle files.

        It's only loading the subtitle/video files from the project file that fails.

         
        • Kameleon3

          Kameleon3 - 2025-02-09

          I'll try to have a look at it. I'm not a programmer by profession. Don't expect a fix soon.

           

          Last edit: Kameleon3 2025-02-09
          • Templayer

            Templayer - 2025-02-09

            Yup, as a temporary workaround, I have renamed the subtitle files to be without those pesky diacritical symbols.

            Jako je to trošku problém, protože můj jazyk je běžně používá, ale co naplat.

            I may be able to create a backup GitLab repository (not hosted on my server and those arseholes already once deleted all of my files in another repository, without notifying me or telling me why, so this new repo will be BACKUP ONLY) during Monday, and then I could check it out to find the culprit reason, but no promises.

            Later on, I could fork that "Classic Vanilla Backup" repo on GitLab into a repo with a multiplatform version for Linux and Android version, or a rather dysfunctional version of them, if I manage to even get that thing running.

            My current guess that when putting the file path into the project file or reading it from it, it gets converted from Unicode, to some kind of a Windows charset, and then back to Unicode (the file system has it in Unicode, and the project file itself is Unicode also, so it probably is during the "transfer" between them), thus stripping symbols like this in some manner or form. I could be wrong, of course.

             
  • Kameleon3

    Kameleon3 - 2025-02-10

    My first fix, should work to open projects with diacritical symbols.

     
    🎉
    1
    • Templayer

      Templayer - 2025-02-10

      Perfect, good work!

      Seems to be working. I tried it with "č" in both subtitle files and the video file, then I saved the project, checked the project file if it indeed got saved properly, it did, so I closed the workshop, started it up again, loaded the project, and voilá!

       
  • Kameleon_

    Kameleon_ - 2025-04-30
    • status: open --> closed
     

Log in to post a comment.