Subs2srs instructions for Windows 10 users

All about language programs, courses, websites and other learning resources
User avatar
rdearman
Site Admin
Posts: 7259
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23299
Contact:

Subs2srs instructions for Windows 10 users

Postby rdearman » Sun Jul 23, 2017 1:05 pm

As part of my study I have created a document which shows all the instructions for making subs2srs cards using Windows software. You can find the link here: https://drive.google.com/open?id=0B_CndRsAmH8wbVdoUnpoZ2lIREE

If anyone has problems please ask questions in this thread.
4 x
: 26 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Seneca
Green Belt
Posts: 268
Joined: Sat Jun 11, 2016 5:08 pm
Location: Eurasia
Languages: English (N); 日本語 (beginner)
x 352

Re: Subs2srs instructions for Windows 10 users

Postby Seneca » Sun Sep 24, 2017 3:32 pm

rdearman wrote:As part of my study I have created a document which shows all the instructions for making subs2srs cards using Windows software. You can find the link here: https://drive.google.com/open?id=0B_CndRsAmH8wbVdoUnpoZ2lIREE

If anyone has problems please ask questions in this thread.

Okay, I followed all the steps. Everything seemed good until I got to the part to type in "cargo install substudy"

Here is what came up:

Thoughts?

edit: removed monster wall of text!
Last edited by Seneca on Sun Sep 24, 2017 8:21 pm, edited 1 time in total.
0 x

User avatar
rdearman
Site Admin
Posts: 7259
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23299
Contact:

Re: Subs2srs instructions for Windows 10 users

Postby rdearman » Sun Sep 24, 2017 4:05 pm

Google is your friend. Couple of links

https://github.com/servo/servo/issues/12425
(They suggest you try running the command again)

https://github.com/sfackler/rust-openssl/issues/442

You might also ask EMK or open a bug report on the sub-study github page. It sounds like some kind of issue with the character library on windows, or your linker. There is a good chance that you need to use the other free Microsoft C/C++ toolset. I used Microsoft Build Tools 2015 to get this working. I know when I did it there were an option for 2/3 different versions of MS compiler tools.

Sorry can't be more helpful, it is painful to compile programs on Windows, and this one was fiddly. You'd almost find it easier to install Linux on a Virtual Machine using something like Oracle VM VirtualBox.
0 x
: 26 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Seneca
Green Belt
Posts: 268
Joined: Sat Jun 11, 2016 5:08 pm
Location: Eurasia
Languages: English (N); 日本語 (beginner)
x 352

Re: Subs2srs instructions for Windows 10 users

Postby Seneca » Sun Sep 24, 2017 5:07 pm

rdearman wrote:Google is your friend. Couple of links

https://github.com/servo/servo/issues/12425
(They suggest you try running the command again)

https://github.com/sfackler/rust-openssl/issues/442

You might also ask EMK or open a bug report on the sub-study github page. It sounds like some kind of issue with the character library on windows, or your linker. There is a good chance that you need to use the other free Microsoft C/C++ toolset. I used Microsoft Build Tools 2015 to get this working. I know when I did it there were an option for 2/3 different versions of MS compiler tools.

Sorry can't be more helpful, it is painful to compile programs on Windows, and this one was fiddly. You'd almost find it easier to install Linux on a Virtual Machine using something like Oracle VM VirtualBox.

What are the steps to do subs2srs after I set up a Virtual Machine?
0 x

User avatar
rdearman
Site Admin
Posts: 7259
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23299
Contact:

Re: Subs2srs instructions for Windows 10 users

Postby rdearman » Sun Sep 24, 2017 5:12 pm

That is easy, you can just follow the instructions on the github site, since the instructions were for Linux/Mac users. Have you used Linux before? It is a great operating system, and installation of substudy is easier, but like anything there is a steep learning curve. One suggestion however is that you have a "shared" folder between the host operating system (Windows) and the guest (in this case Linux) this will let you copy files back and forth between them.

Some instructions here:

https://helpdeskgeek.com/virtualization ... ost-guest/

Having a shared folder means after substudy generates the content you can then load it into anki from the shared folder.
0 x
: 26 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Seneca
Green Belt
Posts: 268
Joined: Sat Jun 11, 2016 5:08 pm
Location: Eurasia
Languages: English (N); 日本語 (beginner)
x 352

Re: Subs2srs instructions for Windows 10 users

Postby Seneca » Sun Sep 24, 2017 5:36 pm

rdearman wrote:That is easy, you can just follow the instructions on the github site, since the instructions were for Linux/Mac users. Have you used Linux before? It is a great operating system, and installation of substudy is easier, but like anything there is a steep learning curve. One suggestion however is that you have a "shared" folder between the host operating system (Windows) and the guest (in this case Linux) this will let you copy files back and forth between them.

Some instructions here:

https://helpdeskgeek.com/virtualization ... ost-guest/

Having a shared folder means after substudy generates the content you can then load it into anki from the shared folder.

No, I have never used anything but Windows. I downloaded Virtual Box from the official site and am just trying to find a good walkthrough to add Linux.
Last edited by Seneca on Sun Sep 24, 2017 5:39 pm, edited 1 time in total.
0 x

User avatar
rdearman
Site Admin
Posts: 7259
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23299
Contact:

Re: Subs2srs instructions for Windows 10 users

Postby rdearman » Sun Sep 24, 2017 5:50 pm

Humm.. ok,

I think you should use Linux Mint. For windows users it will look and feel similar. https://www.linuxmint.com/

You need to download the ISO file, and mount it as a CDROM drive on VirtualBox, and then boot the guest computer.

Here is a YouTube video which shows step by step.

https://www.youtube.com/watch?v=5JOI6uK28fk
0 x
: 26 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Seneca
Green Belt
Posts: 268
Joined: Sat Jun 11, 2016 5:08 pm
Location: Eurasia
Languages: English (N); 日本語 (beginner)
x 352

Re: Subs2srs instructions for Windows 10 users

Postby Seneca » Sun Sep 24, 2017 8:44 pm

rdearman wrote:That is easy, you can just follow the instructions on the github site, since the instructions were for Linux/Mac users. Have you used Linux before? It is a great operating system, and installation of substudy is easier, but like anything there is a steep learning curve. One suggestion however is that you have a "shared" folder between the host operating system (Windows) and the guest (in this case Linux) this will let you copy files back and forth between them.

Some instructions here:

https://helpdeskgeek.com/virtualization ... ost-guest/

Having a shared folder means after substudy generates the content you can then load it into anki from the shared folder.

Thanks for the links. For the first time in this adventure, things worked! I now have Linux Mint working in a Virtual Machine :D

Now, onto the real goal, again.....when you say just follow the instructions on the github site, do you mean all I need to do is download SE353.zip from github within LinuxMint, then follow the steps from emk's github page within LinuxMint and then can ignore the rest of the words from the google doc in post 1? Then load what I create into that shared folder to move it into anki within my windows desktop?
0 x

User avatar
rdearman
Site Admin
Posts: 7259
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23299
Contact:

Re: Subs2srs instructions for Windows 10 users

Postby rdearman » Sun Sep 24, 2017 9:11 pm

Ignore the google doc link, that is for Windows. Use the instructions on EMK's github page. The link I gave you for the shared folders is just so that you have one folder where both the linux machine and the windows machine can access. Put your stuff there. Play around and you'll get it going I think. But of experimentation and lot of googling should get you there.
0 x
: 26 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Seneca
Green Belt
Posts: 268
Joined: Sat Jun 11, 2016 5:08 pm
Location: Eurasia
Languages: English (N); 日本語 (beginner)
x 352

Re: Subs2srs instructions for Windows 10 users

Postby Seneca » Mon Sep 25, 2017 3:25 pm

rdearman wrote:Ignore the google doc link, that is for Windows. Use the instructions on EMK's github page. The link I gave you for the shared folders is just so that you have one folder where both the linux machine and the windows machine can access. Put your stuff there. Play around and you'll get it going I think. But of experimentation and lot of googling should get you there.

Hmm, I have made some progress. Installed some things and don't some interesting things on LinuxMint so far. But every time I try to do even a basic command with substudy, I fail. For example, I followed the bilingual sub directions from this page:
http://www.randomhacks.net/substudy/

Here it is:
substudy combine \
episode_01_01.es.srt \
episode_01_01.en.srt \
> episode_01_01.bilingual.srt

And all I get after I hit enter is "Invalid arguments."

When I try these directions for Anki:
substudy export csv episode_01_01.mkv \
episode_01_01.es.srt episode_01_01.en.srt

All I get is "MissingFieldError("streams")

In happy news, at least my share folder is functioning... I even renamed my srt files and mkv to exactly mirror the examples from emk's page.
0 x


Return to “Language Programs and Resources”

Who is online

Users browsing this forum: No registered users and 2 guests