Ticket #7554 (new defect)
Opened 3 months ago
Cannot create atachement catalog (OSError: [Errno 36])
| Reported by: | alexey.lustin <lustin@…> | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12 |
| Component: | attachment | Version: | 0.12dev |
| Severity: | major | Keywords: | |
| Cc: | lustin@… |
Description
Trac normalize a wiki page name and set it to path where atachement save. if a page name not in English then Trac detect an Internal error
OSError: [Errno 36] File name too long: <atachment_env_path>/<long_not_english_page_name>/
Example on TracDemo (try to add atachment to the page)
i think what is defect
May be we need an option on trac.ini something like this
... [atachement] normalize_atach_catalog = false/true ...
for exaple my OS (Ubuntu 8.04)
Python: 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
correctly create catalog with command
mkdir 'Очень длинное русское имя каталога для примера того что не обязательно преобразовывать имя страницы wiki'
PS In the past on DocuWiki this problem will be issued and fixed
Attachments
Note: See
TracTickets for help on using
tickets.


