2006/06/23
ATGoogleMaps 0.4.1 をリリース
作成者 takanori
—
投稿日
2006年06月23日 23時07分
最終変更日時
2006年06月24日 02時22分
ATGoogleMaps 0.4 をリリース のコメントで saka さんに指摘された問題を修正した 0.4.1 をリリースします。
今回の変更点はこんなところです。
- デバッグ用に JavaScript が表示されちゃう問題を修正
- マーカーの情報画面のタイトルをクリック可能に → クリックするとマーカーの情報画面に遷移
- ドキュメントをちょっぴり修正
さて、0.5 beta リリースに向けてもう一がんばりだ。
- カテゴリ
-
plone
-
- ¦
- 固定リンク
- ¦
- コメント (4)
- ¦
- トラックバック (1)
- トラックバック用URL:
- http://takanory.net/takalog/562/tbping
ATGoogleMaps 0.4.1 alpha
また新しいバージョンが リリース されてたのでアップグレード!と思ったら: コメントで saka さんに指摘された問題を修正した 0.4.1 をリリースします。 この前コメントさせていただいた件にすぐ対応いただいたらしい。指摘なんてこっぱ...
ATGoogleMaps-0.4.1.tar.gz
たかのりさま
ATGoogleMaps 0.4.1をPlone-2.5で動かそうと思い、インストールしてみました。
マーカーを追加しようとすると次のようなエラーがでます。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
ユーザ名
taito (taito)
Request URL
http://www.abita.fi/location/createObject
Exception Type
AttributeError
Exception Value
url
Traceback (innermost last):
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module Products.CMFFormController.FSControllerPythonScript, line 107, in __call__
* Module Products.CMFFormController.Script, line 141, in __call__
* Module Products.CMFCore.FSPythonScript, line 108, in __call__
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPythonScript, line 164, in _exec
* Module None, line 17, in createObject
<FSControllerPythonScript at /www/createObject used for /www/location>
Line 17
* Module Products.CMFCore.PortalFolder, line 408, in invokeFactory
* Module Products.CMFCore.TypesTool, line 934, in constructContent
* Module Products.CMFCore.TypesTool, line 343, in constructInstance
* Module Products.CMFCore.TypesTool, line 574, in _constructInstance
* Module Products.ATGoogleMaps.content.GMarker, line 4, in addGMarker
* Module OFS.ObjectManager, line 330, in _setObject
* Module zope.event, line 23, in notify
* Module zope.app.event.dispatching, line 66, in dispatch
* Module zope.component, line 181, in subscribers
* Module zope.component.site, line 89, in subscribers
* Module zope.interface.adapter, line 481, in subscribers
* Module zope.app.event.objectevent, line 192, in objectEventNotify
* Module zope.component, line 181, in subscribers
* Module zope.component.site, line 89, in subscribers
* Module zope.interface.adapter, line 481, in subscribers
* Module OFS.subscribers, line 114, in dispatchObjectMovedEvent
* Module OFS.subscribers, line 137, in callManageAfterAdd
* Module Products.ATContentTypes.content.document, line 220, in manage_afterAdd
* Module Products.Archetypes.BaseContent, line 42, in manage_afterAdd
* Module Products.CMFCore.CMFCatalogAware, line 202, in manage_afterAdd
* Module Products.Archetypes.CatalogMultiplex, line 34, in indexObject
* Module Products.CMFPlone.CatalogTool, line 329, in catalog_object
* Module Products.CacheSetup.patch, line 87, in catalog_object
* Module Products.CacheSetup.patch_utils, line 6, in call
* Module Products.ZCatalog.ZCatalog, line 565, in catalog_object
* Module Products.ZCatalog.Catalog, line 339, in catalogObject
* Module Products.ZCatalog.Catalog, line 277, in updateMetadata
* Module Products.ZCatalog.Catalog, line 417, in recordify
* Module Products.CMFDynamicViewFTI.browserdefault, line 98, in __call__
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CacheSetup.patch_cmf, line 38, in FSPT_pt_render
* Module Products.CacheSetup.patch_cmf, line 92, in PT_pt_render
<FSPageTemplate at /www/gmap_view used for /www/location>
* Module TAL.TALInterpreter, line 238, in __call__
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 780, in do_defineSlot
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 728, in do_defineMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 772, in do_defineSlot
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 728, in do_defineMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 691, in do_loop_tal
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 714, in do_condition
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ATGoogleMaps/skins/googlemaps/gmap_view.pt
Line 50, Column 12
Expression: standard:'marker/url'
Names:
{'container': <PloneSite at /www>,
'context': <GMap at /www/location>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb71207ec>,
'here': <GMap at /www/location>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb20ef0cc>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb7192fec>,
'nothing': None,
'options': {'args': (<GMap at /www/location>,
<HTTPRequest, URL=http://www.abita.fi/location/createObject>)},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb20ef0cc>,
'request': <HTTPRequest, URL=http://www.abita.fi/location/createObject>,
'root': <Application at >,
'template': <FSPageTemplate at /www/gmap_view used for /www/location>,
'traverse_subpath': [],
'user': <PropertiedUser 'taito'>}
* Module Products.PageTemplates.Expressions, line 185, in __call__
* Module Products.PageTemplates.Expressions, line 173, in _eval
* Module Products.PageTemplates.Expressions, line 127, in _eval
__traceback_info__: marker
* Module Products.PageTemplates.Expressions, line 286, in restrictedTraverse
__traceback_info__: {'path': ['url'], 'TraversalRequestNameStack': []}
* Module Products.Five.traversable, line 115, in __bobo_traverse__
AttributeError: url
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
wwwというploneインスタンス内にlocationというATGoogleMapsオブジェクトを作りました。
サーバの置いてあるラン内からwww.abita.fiのドメイン名ではアクセスできず、ローカルなipアドレスでのみアクセスできますが、これは関係ありますでしょうか?
マーカーなしで使わせていただいていますが、
マーカーなしはさみしいです。
返答が遅くなりました。
うーん、ぱっと見では url っていう Attirbute は使っちゃだめなのかな?って見えます。
試しに zope 2.8.7 + plone 2.5 + ATGoogleMaps 0.4.1 でマーカー追加してみたんですが、同じようなエラーはでませんでした。
ほりうちさんの環境は zope 2.9 だったりします?
PC に zope 2.9 の環境作って試してみるかな。
返事遅くなり済みません!
zope-2.9.3で動かしています。
最新のATGoogleMapsではマーカーの挙動も問題なさそうです。
いつも、ありがとうございます。
わざわざ返答ありがとうございます。
ちゃんと表示できるようになったようでよかったです。
最近コード書けてないので、0.6 のリリースにはまだまだかかりそうですが...
うぅ