Locale problem installing 0.8

15 views
Skip to first unread message

Felipe Cecagno

unread,
May 14, 2013, 2:39:21 PM5/14/13
to bigblueb...@googlegroups.com
Hi guys,

I had a problem installing BigBlueButton 0.8 in a particular machine that I'd like to share with you. The wiki says that /etc/default/locale must contain "LANG=en_US.UTF-8".
In my case, the content of /etc/default/locale was:

LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8

Since it satisfied the condition stated on the wiki, I proceeded the installation, but while I was installing the package bigbluebutton I get the error:

Unpacking bbb-record-core (from .../bbb-record-core_0.80ubuntu107_amd64.deb) ...
ERROR:  While executing gem ... (ArgumentError)
    invalid byte sequence in US-ASCII

And then the installation failed.
So I removed the definition of LC_ALL from /etc/default/locale, reboot the server, tried again, and then it worked.

If my logic is correct, we should change the documentation to be more explicit that the content of /etc/default/locale must be ONLY "LANG=en_US.UTF-8".
Also, I think that the packaging should check if the file content isn't correct and fail immediately.

The same is valid for 0.81dev, I suppose. I don't think that makes sense to change the packaging of 0.8 during this pre-beta phase, but it could be address on 0.81dev (and consequently on 0.81).

What do you think about these ideas?

Best regards,

--
   
Felipe Cecagno

Fred Dixon

unread,
May 14, 2013, 2:53:43 PM5/14/13
to BigBlueButton-dev
Hi Felipe,

Thanks for pointing this out!  I've updated the instructions for installation of 0.80 and 0.81-dev to instruct the administrator to remove the setting for LC_ALL.


Also, I think that the packaging should check if the file content isn't correct and fail immediately.

It's difficult to fail within a packaging script because the failure of one script stops the installation of *all* packages, even ones not related to BigBlueButton.

For the moment, I think the updating of install instructions is a good fix for this problem.   Thanks again for reporting it Felipe.

-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 




HostBBB.com

unread,
May 14, 2013, 3:34:40 PM5/14/13
to BigBlueButton-dev
I have ran into this as well... After you change the locale, the ssh
doesn't understand the variable and install still fails. so opening a
new shh is needed before the locale is set correct for installation to
succeed.

regards,
Stephen

On May 14, 2:53 pm, Fred Dixon <ffdi...@gmail.com> wrote:
> Hi Felipe,
>
> Thanks for pointing this out!  I've updated the instructions for
> installation of 0.80 and 0.81-dev to instruct the administrator to remove
> the setting for LC_ALL.
>
> > Also, I think that the packaging should check if the file content isn't
>
> correct and fail immediately.
>
> It's difficult to fail within a packaging script because the failure of one
> script stops the installation of *all* packages, even ones not related to
> BigBlueButton.
>
> For the moment, I think the updating of install instructions is a good fix
> for this problem.   Thanks again for reporting it Felipe.
>
> --
> BigBlueButton Developerhttp://bigbluebutton.org/http://code.google.com/p/bigbluebutton
Reply all
Reply to author
Forward
0 new messages