Pylons - 如何在新环境中使用旧项目?
我有一个旧项目,它是在Python 2.5/2.6、Windows 下编写的。
我们现在有Python 2.6/Win7/x64,我尝试启动它。 我得到了在服务器中运行非调试模式的旧项目,并且 复制到本地文件夹。 当我昨天尝试启动它时,出现以下错误:
15:44:58,038 DEBUG [pylons.configuration] Loaded None 模板引擎 作为默认模板渲染器
我看到了谷歌,但它们指向config.init_app,也就是说 不存在。
今天我重新安装了 Python,但安装了 Py2.7、pylons 和 mako。
但是当我尝试统计它时,我只收到了这条消息: 07:36:36,377 DEBUG [pylons.configuration] 初始化配置, package: 'x'
并且没有更多关于 die 的信息...:-(
那么你的意思是什么,我如何提出这个“不死”项目来调试 有些事情? (使用 Python/Pylons 是很好的体验,但现在我很难过 之前没有选择 PHP,因为包发生了变化)。
谢谢: DD
I have an old project, it written under Python 2.5/2.6, Windows.
We had Python 2.6/Win7/x64 now, and I tried to start it.
I got the old project that running nondebug mode in a server, and
copied into local folder.
When I tried to yesterday start it, I got this error:
15:44:58,038 DEBUG [pylons.configuration] Loaded None template engine
as the default template renderer
I see the google, but they are points to config.init_app, that is does
not exists.
TOday I reinstalled Python, but with Py2.7, pylons and mako.
But when I tried to stat it, I got only this message:
07:36:36,377 DEBUG [pylons.configuration] Initializing configuration,
package: 'x'
And no more information about die... :-(
So what do you meaning, how can I raise this "undead" project to debug
some things?
( it was good experience with Python/Pylons, but I'm sad now that I
not choose PHP previously, because of package changes).
Thanks:
dd
可能很明显,但是您是否在应用程序包上运行“python setup.pydevelop”以便安装依赖项?
might be obvious but did you run "python setup.py develop" on the application package so that the dependencies could be installed?