przemelek / ooo2gd

Automatically exported from code.google.com/p/ooo2gd
3 stars 2 forks source link

Implement using of Captcha #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Import or Export

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Problem: Captcha required
com.google.gdata.client.GoogleService$CaptchaRequiredException: Captcha
required
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(Unknown
Source)
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(Unknown Source)
    at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Unknown
Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at
org.openoffice.gdocs.util.GoogleDocsWrapper.login(GoogleDocsWrapper.java:47)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog.getListButtonActionPerformed(Import
Dialog.java:319)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog.access$700(ImportDialog.java:40)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog$4.actionPerformed(ImportDialog.java
:212)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.jav
a:236)
    at java.awt.Component.processMouseEvent(Component.java:6041)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5806)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4413)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2440)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273
)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173
)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Problem: Captcha required
com.google.gdata.client.GoogleService$CaptchaRequiredException: Captcha
required
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(Unknown
Source)
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(Unknown Source)
    at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Unknown
Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at
org.openoffice.gdocs.util.GoogleDocsWrapper.login(GoogleDocsWrapper.java:47)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog.getListButtonActionPerformed(Import
Dialog.java:319)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog.access$700(ImportDialog.java:40)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog$4.actionPerformed(ImportDialog.java
:212)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.jav
a:236)
    at java.awt.Component.processMouseEvent(Component.java:6041)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5806)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4413)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2440)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273
)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173
)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Problem: Captcha required
com.google.gdata.client.GoogleService$CaptchaRequiredException: Captcha
required
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(Unknown
Source)
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(Unknown Source)
    at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Unknown
Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at
org.openoffice.gdocs.util.GoogleDocsWrapper.login(GoogleDocsWrapper.java:47)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog.getListButtonActionPerformed(Import
Dialog.java:319)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog.access$700(ImportDialog.java:40)
    at
org.openoffice.gdocs.ui.dialogs.ImportDialog$4.actionPerformed(ImportDialog.java
:212)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.jav
a:236)
    at java.awt.Component.processMouseEvent(Component.java:6041)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5806)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4413)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2440)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273
)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173
)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

com.google.gdata.client.GoogleService$CaptchaRequiredException: Captcha
required
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(Unknown
Source)
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(Unknown Source)
    at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Unknown
Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at
org.openoffice.gdocs.util.GoogleDocsWrapper.login(GoogleDocsWrapper.java:47)
    at org.openoffice.gdocs.ui.dialogs.UploadDialog$6.run(UploadDialog.java:209)
    at java.lang.Thread.run(Thread.java:619)

com.google.gdata.client.GoogleService$CaptchaRequiredException: Captcha
required
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(Unknown
Source)
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(Unknown Source)
    at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Unknown
Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at com.google.gdata.client.GoogleService.setUserCredentials(Unknown Source)
    at
org.openoffice.gdocs.util.GoogleDocsWrapper.login(GoogleDocsWrapper.java:47)
    at org.openoffice.gdocs.ui.dialogs.UploadDialog$6.run(UploadDialog.java:209)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by lsever...@gmail.com on 15 Aug 2008 at 11:21

GoogleCodeExporter commented 9 years ago
OK, go to Google Docs in the browser. If it is working, this problem should also
disapear.
Probably you tried to login into your account by AddOn with wrong password more 
then
some magic number times. Google want to ensure that you are a human so it want 
to use
captcha... and problem is that OOo2GD for now don't provide means to handle 
captcha.

I will change this Issue to request for implementation handling of captcha.

Original comment by przeme...@gmail.com on 15 Aug 2008 at 11:29

GoogleCodeExporter commented 9 years ago
Ok,
 No problems !, and with your suggestion...work's fine to me !.

 Thanks.

Original comment by lsever...@gmail.com on 16 Aug 2008 at 10:07

GoogleCodeExporter commented 9 years ago
Draft solution of catpcha problem commited to repository it should be availalbe 
in 1.2.3

Original comment by przeme...@gmail.com on 14 Oct 2008 at 9:02

GoogleCodeExporter commented 9 years ago
In 1.2.3

Original comment by przeme...@gmail.com on 23 Dec 2008 at 1:02