|
How_To_Install_cpedialog
PrefaceBefore you start to install cpedialog, you need to know what appengine is and what appengine can do. If you still have some uncertainty, please refer to: http://code.google.com/appengine/docs/whatisgoogleappengine.html Make sure Google App Engine has been installed correctly. And we also recommend you to read the article for "Uploading an App" to appengine: http://code.google.com/appengine/docs/appcfgpy.html Details1.Download cpedialog from googlecode site (http://code.google.com/p/cpedialog/downloads/list) and decompress it to a folder, for example, extract it to "D:\My projects\cpedialog", make sure file "app.yaml" is located in the folder of cpedialog. 2.Open the file app.yaml with some text editor (such as Microsoft Notpad). Change the applocation property in the first line to your own appengine app name. For example: application: pchen change to: application: your_app_id 3.Run the appcfg.py update command to upload cpedialog to your appengine app. cd D:\My projects appcfg.py update cpedialog wait until the command execute finished. Now you can access your app running on App Engine: http://your_app_id.appspot.com If you met the index not found error, please refer to: http://code.google.com/p/cpedialog/wiki/How_to_fix_the_index_not_found_error_when_deploy_to_production |
how to setup admin privilege? thank you
Just login with the google account which you used for creating the GAE app.
I get the following error:
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 960, in Count File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 1637, in ToDatastoreError? NeedIndexError?: no matching index found.please advise
Email: hareem.haque@gmail.com
yes mine is like this too
hello,
I installed this blog program successfully, but I can not log in to get admin privilege with the account which I installed it. I use Apps standard account: changhe@changblog.com. The home page is fine and it works well on local. My site is applefruitade.appspot.com
你好,
我按照说明安装了这个程序,可以访问主页,但是我用相应的app engine帐户登录blog,却没办法获得管理权限。在本地运型模你器一切正常。但是在网上怎么弄也不成。我的帐号是apps的,绑在我的域名下边,changhe@changblog.com。到底是什么原因呢?我后来又用这个邮件注册了现在的这个gmail邮件,还是不行。我的网站是applefruitade.appspot.com。
Here is what happens to me every time I try to upload an app.
我安裝之後,每次添加blog 都顯示是一月一日的。
To resolve "no matching index found" error, Try removing index.yaml, and deploy (appcfg.py update) again. And rebuild indexes by "appcfg.py update_indexes cpedialog"
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 986, in Count File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 2020, in ToDatastoreError? NeedIndexError?: no matching index found.help me fix this erorr!
I hava these errors:
Error 400: --- begin server output --- Creating a composite index failed: This index: entity_type: "Archive" ancestor: false Property {
}is not necessary, since single-property indices are built in. Please remove it from your index file and upgrade to the latest version of the SDK, if you haven't already. --- end server output --- Your app was updated, but there was an error updating your indexes. Please retry later with appcfg.p y update_indexes.
I don't know where error? Help me ~
same errors only errors!! can someone help about this?
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 986, in Count File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 2020, in ToDatastoreError? NeedIndexError?: no matching index found.后台模板修改有错误 /admin/layout
Traceback (most recent call last):
TemplateDoesNotExist?: include/menu_navigator.html后台模板的错误已经修复,请从svn上checkout最新code。
I removed index.yaml from app and update give no errors but when try to access it in the cloud says this:
Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 507, in __call__ handler.get(*groups) File "/base/data/home/apps/ovnicraft/2.335755820222154311/blog.py", line 86, in get obj_page = util.getBlogPagination(page) File "/base/data/home/apps/ovnicraft/2.335755820222154311/util.py", line 130, in getBlogPagination obj_page = YUIPaginator(blogs_query,page,cpedialog.num_post_per_page) File "/base/data/home/apps/ovnicraft/2.335755820222154311/cpedia/pagination/GqlQueryPaginator.py", line 33, in __init__ self.count = int(gqlQuery.count()) File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1430, in count return self._get_query().Count(limit=limit) File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 1003, in Count raise _ToDatastoreError(err) File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 2100, in _ToDatastoreError raise errors[err.application_error](err.error_detail) NeedIndexError: no matching index found.Guys, just follow the server response, "since single-property indices are built in. Please remove it from your index file"
remove it and you should be fine...
Yes, This is an issue with gae but it works fine as predicted..."since single-property indices are built in. Please remove it from your index file"
I think this is taken care of in the new version released (need to check)
- Lassina Ouattara
Layout时,点“Save Current Layout”按钮没有任何反应。
还有我用google帐号登陆后,系统会用邮箱名做为我的名称,我在帐户信息里修改后,发文章显示的是修改前的名称。
在IE下,帐户信息里的生日只有年、日,缺了月,而且无法更新帐户信息。FF下正常。
上传后遇到这样的错误: Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 1040, in Count NeedIndexError?: no matching index found. 怎么解决阿??使用第三方上传工具sdupload为什么会上传失败? 机器系统太烂了没有安装python和SDK。。。
点“System Configuration”(/admin)的时候出现错误: Traceback (most recent call last):
TypeError?: render() takes at least 3 arguments (2 given)You might need to guard against an empty gQuery response. If you add a couple of lines to util.py to check
then you should be able to avoid the above error in getBlogPagination终于运行起来了,还想请教个问题: 你那个域名:http://blog.cpedia.com/,如何直接引用http://cpedia.appspot.com的容而且保持地址栏里面的域名不变呢?
Traceback (most recent call last):
NeedIndexError?: no matching index found.安装不成功的,请参照wiki: http://code.google.com/p/cpedialog/wiki/How_to_fix_the_index_not_found_error_when_deploy_to_production
I have the same problem as forest520.
Fergalmohan suggested "if blogs_query is None:" however this gives me "NameError?: global name 'blogs_query' is not defined."
The error message about render says "TypeError??: render() takes at least 3 arguments (2 given)." I find render defined as follows:
def render(self, handler,template_name, params={}):
However the call is render(self).
How to fix this?
在opera里访问xxxx/admin出错 403 没法管理博客 请问下怎么回事
本地调试没有问题,上传打开myid.appspot.com/显示 A server error occurred. Please contact the administrator. 请问如何解决,谢谢
I have tried replacing the index.yaml,but the index error remained.
You should wait a while for the appengine server to serv the index
>本地调试没有问题,上传打开myid.appspot.com/显示<br /> > A server error occurred. Please contact the administrator. 请问如何解决,谢谢<br />
你必须从登陆画面,用gmail账号登陆才可以。<br /> http://blog.froole.net <br />
同上面,Layout时,点“Save Current Layout”按钮没有任何反应。 大侠帮忙
Can you use the dev_appserver.py to test cpedialog, I uploaded the blog to appengine and it worked fine, however the dev_appserver.py complains whenever I access the site.
Crypto.Util.python_compat import ImportError?: No module named python_compat
The appengine server needs 24 Hours to serv the index in my case, go to sleep, try the next day...
I cant submit a post. it take a error : Generate permanent link for blog error, please retry it.
I have the same problem "Generate permanent link for blog error, please retry it." cant submit a post.
Has anyone the same problem or a solution for this?