討論區: 幫助論壇 (Thread #26382)

GoogleCalendarに対応するにはどうすればよいのでしょうか (2010-05-31 13:28 by marzforge #50893)

configファイルの最新を見ましたが、特に設定するところが無いように見受けられます。
どうすればよいでしょうか。

RE: GoogleCalendarに対応するにはどうすればよいのでしょうか (2010-06-05 19:20 by minorun #51031)

[メッセージ#50893 へのフォロー]

> configファイルの最新を見ましたが、特に設定するところが無いように見受けられます。
> どうすればよいでしょうか。

・バージョン1.10.0のmSchedulerConfig.xmlをご覧ください。
 DTDとサンプルコメントを追加いたしました!

・<google_calendar_config>を追加すると、「GoogleCalendarと同期」ボタンが使用可能になります。

・また、職場などproxyサーバを使用する場合は、あわせて<network_config>の追加が必要になります。

回覆: #50893

RE: GoogleCalendarに対応するにはどうすればよいのでしょうか (2010-06-08 17:27 by marzforge #51146)

エラーになります。
認証が必要なプロキシに対応してない?

***こんふぃぐの記述***
<!-- ========================================================-->
<!-- googleカレンダーと連携する場合に定義する(任意) -->
<!-- ========================================================-->
<google_calendar_config>
<!-- このURLは固定 -->
<calendar_url>https://www.google.com/calendar/feeds/default/private/full</calendar_url>
<!-- グーグルカレンダーのユーザID -->
<userid>masaru-gotou@gmail.com</userid>
<!-- パスワードは書かなくてもOK -->
<!-- <password>password</password> -->
<!-- タイトルの中に場所情報を追加表示する -->
<add_place_in_title>@</add_place_in_title>
</google_calendar_config>
<!-- ========================================================-->
<!-- proxyを使用する場合はnetwork_configを定義する(任意) -->
<!-- ========================================================-->
<network_config>
<proxy_host>XXXproxy.abc.com</proxy_host>
<proxy_port>8089</proxy_port>
<!-- proxyの対象外とするhostを定義する -->
<!-- <non_proxy_hosts>*.csk.com</non_proxy_hosts> -->
</network_config>

****メッセージ****
Start read GoogleCalendarSchedule
com.google.gdata.util.AuthenticationException: Error connecting with login URI
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAut
hTokenFactory.java:489)
at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Goo
gleAuthTokenFactory.java:346)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleServic
e.java:362)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleServic
e.java:317)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleServic
e.java:301)
at jScheduleData.JScheduleDataGoogleCalendar.readScheduleData(JScheduleD
ataGoogleCalendar.java:213)
at mScheduler.GoogleCalendarSyncProcessCtl.readGoogleCalendarSchedule(Go
ogleCalendarSyncProcessCtl.java:110)
at mScheduler.GoogleCalendarSyncProcessCtl.sync2GoogleCalendar(GoogleCal
endarSyncProcessCtl.java:39)
at mScheduler.MSchedulerFrameImp.syncGoogleCalendarJButtonClicked(MSched
ulerFrameImp.java:431)
at uiControlPanel.SyncGoogleCalendarJButton.buttonClicked(SyncGoogleCale
ndarJButton.java:36)
at uiControlPanel.SyncGoogleCalendarJButton.actionPerformed(SyncGoogleCa
lendarJButton.java:29)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "H
TTP/1.1 407 Proxy Authentication Required"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Sourc
e)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown S
ource)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unk
nown Source)
at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(Google
AuthTokenFactory.java:551)
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAut
hTokenFactory.java:487)
... 36 more
googleCalendarのschedule情報を読み込めませんでした
回覆: #50893