On Sat, May 9, 2009 at 20:23, Tony Anderson <t...@olenepal.org> wrote:
> Hi,
>
> Curiouser and curiouser. I will try to see if I can reproduce the result.
> Essentially, I have a bundle .cpxo which is used by ClassroomPresenter.
> It returned 'document/unknown' on our schoolserver (our mix of XS-0.4).

Ok, I guess that if it is something that is common and not due to
specific configuration of your server, we could modify Browse to take
that into account.

Regards,

Tomeu

> Tony
>
> Tomeu Vizoso wrote:
>>
>> On Sat, May 9, 2009 at 04:19, Tony Anderson <t...@olenepal.org> wrote:
>>
>>>
>>> Hi,
>>>
>>> Bryan suggests that if the mime_type had been registered with Apache,
>>> Browse
>>> might have worked as is. I have had a chance to look at that. I think the
>>> suggested patch is useful anyway.
>>>
>>
>> What is document/unknown ? I thought application/octet-stream was the
>> mime type that web servers use when they don't know in which format a
>> file is.
>>
>> We should use the mailing list, btw. Other deployments may be having
>> similar problems, etc.
>>
>> Regards,
>>
>> Tomeu
>>
>>
>>>
>>> Tony
>>>
>>>
>>> David Farning wrote:
>>>
>>>>
>>>> On Fri, May 8, 2009 at 12:35 AM, Tony Anderson <t...@olenepal.org>
>>>> wrote:
>>>>
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I went to the SugarLabs trac page to report this bug in Browse. Please
>>>>> do
>>>>> that from the perspective of someone who wants to report a problem -
>>>>> what
>>>>> are they to do?
>>>>>
>>>>>
>>>>
>>>> Did you try to login and create a new ticket?  The New Ticket link is
>>>> only available if a user is logged in.
>>>>
>>>> I don't understand enough about downloadmanager.py to be useful:( so
>>>> adding tomeu to the cc list.
>>>>
>>>> thanks for the bug report!
>>>>
>>>> david
>>>>
>>>>
>>>>
>>>>>
>>>>> Meanwhile, line 178 of downloadmanger.py should read:
>>>>>
>>>>> if self._mime_type == 'application/octet-stream' or self._mime_type ==
>>>>> 'document/unknown':
>>>>>
>>>>> This causes downloadmanager to perform the sniffed_mime_type test for
>>>>> ClassroomPresenter bundles (.cpxo) and provide the correct metadata in
>>>>> the
>>>>> journal entry.
>>>>>
>>>>> Tony
>>>>>
>>>>>
>>>>>
>>>
>>>
>
>
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to