ラベル Google App Engine の投稿を表示しています。 すべての投稿を表示
ラベル Google App Engine の投稿を表示しています。 すべての投稿を表示

2012年3月17日土曜日

ElementTree.py not well-formed (invalid token)

Error:
rss = fromstring(r.xml) File "/base/python_runtime/python_dist/lib/python2.5/xml/etree/ElementTree.py", line 963, in XML parser.feed(text) File "/base/python_runtime/python_dist/lib/python2.5/xml/etree/ElementTree.py", line 1245, in feed self._parser.Parse(data, 0) ExpatError: not well-formed (invalid token): line 1, column 149
Fix
       r.xml = r.xml.replace("&type", "&type")

2012年3月5日月曜日

dev_appserver. 'module' object has no attribute 'HTTPSHandler'

Windows Server 2008 64bit版で   ActivePython 2.5 64bit だと Google AppEngine のlocal server が起動Errorとなった。 

C:\>dev_appserver.py xxxx
'module' object has no attribute 'HTTPSHandler'

ActivePython 2.5 32bit の場合

WARNING urlfetch_stub.py:111] No ssl package found. urlfetch will not be able to validate SSL certificates.

となるが起動できる



ちなみに

File "", line 1, in bind socket.error: (10013, 'Permission denied')


このエラーは port の問題なので port を 8080 以外のものに変更することで 対応。


2009年8月4日火曜日

Index 復活


ようやく復活

properties: [] 

このインデックスは削除しないように注意

diff は一切表示なし。
C:\google>appcfg.py vacuum_indexes blog-editor
Fetching index definitions diff.

C:\google>

エラーログの内容を index.yaml に素直に追加するのが一番
- kind: Img
properties:
- name: open_mode
- name: category
direction: desc
- name: modified
direction: desc

2009年7月31日金曜日

Google App Engine : Index Error

どうやらまた同じようなミスをしてしまった

http://groups.google.co.jp/group/google-app-engine-japan/msg/2cc3dbed1cbb8ccf


このパターンだと思われ、1日待ってみる必要がある。
index.yaml の該当部分を削除して vacume_indexes しても Status が Error の
ままで Deleting にならず、削除が開始されない。 結果、 Error が消えないのでどうしようもない。

ローカル: 2009年7月21日(火) 午前11:52
件名: Re: can not force delete a index with error!

I wasn't able to delete the "Error" status index for a day, the next
day when I tried vacuum_indexes it got deleted without any problem.

The fist day I tried many times, but the index status was "Error" it
didn't change to "Deleting...". It was kind of stuck at the error
status.



関連

Google App Engineで、index.yamlに記述したインデックスが正しく生成されないときの対処法
http://akisute.com/2009/05/google-app-engineindexyaml.html

GAE(google app engine) インデックスのトラブルの顛末
http://osima.jp/blog/gae-index-in-trouble.html

Unityでドアの開閉はAnimatorそれともiTween?

Mac Mini M2 の Unity で Sketchup のデータを復元したつづき。 以前、苦労して作成したドアの開閉が動作しないので修復する。 どうやって動かしていたのか、また忘れそうなので記録しておく。             Animator 左右のドア PlaneL,...