What steps will reproduce the problem? 1. Create a view just like "test/index" What is the expected output? What do you see instead? It will report "Cann't create file test/index.html" What version of the product are you using? On what operating system? trunk, windows xp Please provide any additional information below. It's because the wrong way to create multi level directories in windows xp.
When a path has driver, just like 'd:/abc', when you split it with '/', and
join it again, the '/' after the dirver will be lost.
{{{
a = 'd:/abc'
import os
os.path.join(*a.split('/'))
'd:abc'
}}}
So it's not correct, and I changed the code of making multi level directories.
From limo...@gmail.com on March 04, 2008 00:13:54
What steps will reproduce the problem? 1. Create a view just like "test/index" What is the expected output? What do you see instead? It will report "Cann't create file test/index.html" What version of the product are you using? On what operating system? trunk, windows xp Please provide any additional information below. It's because the wrong way to create multi level directories in windows xp. When a path has driver, just like 'd:/abc', when you split it with '/', and join it again, the '/' after the dirver will be lost.
{{{
So it's not correct, and I changed the code of making multi level directories.
Original issue: http://code.google.com/p/web2py/issues/detail?id=6