Day: January 7, 2013

WARNING: adin_thread_process: too long input (> 320000 samples), segmented now

If you are testing julius and using your microphone it is returning this warning message:

WARNING: adin_thread_process: too long input (> 320000 samples), segmented now
Warning: input buffer overflow: some input may be dropped, so disgard the input

You should try to change the sensibility level (-lv) for a high value (default is 2000).

In my board it worked fine with 10000 :

# julius -input mic -lv 10000 -C julian.jconf

A solution for widowers of Gspace

If you like me was user of gspace Firefox plugin and noticed it stopped working many years ago, don’t worry, you can recover your files from your gmail account.

First step configure your gmail account to email download POP3 for all messages and install and configure getmail program to download your emails. It is very well explained here:

http://www.mattcutts.com/blog/backup-gmail-in-linux-with-getmail/

Then create a directory /home/user/.getmail:

$ mkdir /home/user/.getmail
$ cd /home/user/.getmail

Of course you need to replace “user” by your username.

Then create a file getmail.gmail inside this directory with this content:

[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
username = username@gmail.com
password = yourpassword
mailboxes = ("Inbox",)

[destination]
type = Mboxrd
path = /home/user/gmail-backup.mbox

[options]
# print messages about each action (verbose = 2)
# Other options:
# 0 prints only warnings and errors
# 1 prints messages about retrieving and deleting messages only
verbose = 2
message_log = ~/.getmail/gmail.log

You need to create the gmail-backup.mbox file before running getmail:

$ touch /home/user/gmail-backup.mbox

Now finally you can run it:

$ getmail -r /home/user/.getmail/getmail.gmail

After you got all your emails, you could use mbox-extract-attachments.py python script to extract all attachments from your gmail-backup.mbox this way:

$ mkdir temp
$ ./mbox-extract-attachments.py gmail-backup.mbox temp/

That’s all folks!