mknittig / googlecode-mylyn-connector

Automatically exported from code.google.com/p/googlecode-mylyn-connector
0 stars 0 forks source link

Could not execute query #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Right click a googlecode-mylyn-connector repository and choose "New Query"
2. Select "use a pre-defined query" and "Open issues"
3. Click "Finish"
4. Error message "could not execute query" appears. Error log is empty.

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

Google Code Mylyn Connector Feature 0.1.0.200911210146NGT
Mylyn Task List (Required)  3.3.1.v20091215-0000-e3x    
org.eclipse.mylyn_feature.feature.group
eclipse-java-galileo-SR1-win32

Original issue reported on code.google.com by o.mann...@gmail.com on 25 Jan 2010 at 4:51

GoogleCodeExporter commented 8 years ago
Unfortunately I cannot reproduce this error. Maybe becaus I'm on Ubuntu with 
Eclipse
3.6M5?

Original comment by mknit...@googlemail.com on 7 Feb 2010 at 3:28

GoogleCodeExporter commented 8 years ago
Is there a way to get some more informative error details? The Eclipse error 
log shows 
nothing.

Original comment by o.mann...@gmail.com on 7 Feb 2010 at 9:02

GoogleCodeExporter commented 8 years ago
I'm on 3.6M6 and I have the same problem. I cannot make any query. I'll try to 
find 
the problem.

Original comment by markdigitalchips on 22 Mar 2010 at 6:09

GoogleCodeExporter commented 8 years ago
Same issue, Eclipse 3.5.2 , Mylyn 3.3.3 . Perhaps a build with more debug 
information
could be used?

Original comment by robert.munteanu on 1 Apr 2010 at 10:56

GoogleCodeExporter commented 8 years ago
I can use the connector with 
http://code.google.com/p/googlecode-mylyn-connector ,
but I get the error with http://code.google.com/p/google-web-toolkit . 

Specifying login credentials or not does not make a difference.

Original comment by robert.munteanu on 1 Apr 2010 at 11:10

GoogleCodeExporter commented 8 years ago
### Eclipse Workspace Patch 1.0
#P com.googlecode.mylyn.core
Index: src/com/googlecode/mylyn/core/GoogleCodeRepositoryConnector.java
===================================================================
--- src/com/googlecode/mylyn/core/GoogleCodeRepositoryConnector.java    (revision 
86)
+++ src/com/googlecode/mylyn/core/GoogleCodeRepositoryConnector.java    (working 
copy)
@@ -139,7 +139,7 @@
             }
             return Status.OK_STATUS;
         } catch (CoreException e) {
-            return new Status(IStatus.ERROR, GoogleCodeCorePlugin.PLUGIN_ID, 
"could
not execute query", e);
+            return new Status(IStatus.ERROR, GoogleCodeCorePlugin.PLUGIN_ID, 
"could
not execute query : " + e.getMessage() + " .", e);
         }
     }

This should help in reporting the errors better to the user.

Original comment by robert.munteanu on 29 Apr 2010 at 10:00

GoogleCodeExporter commented 8 years ago
I still cannot reproduce this issue. Robert: The error log should contain a 
exception. 
That would be helpful.

Original comment by mknit...@googlemail.com on 9 May 2010 at 11:44

GoogleCodeExporter commented 8 years ago
Sorry, there is no exception in the error log. I think you should at least 
report the 
error message, and double-log if in doubt. I don't think Mylyn logs the Status 
you've 
sent, just displays the messsage on the query.

Original comment by robert.munteanu on 10 May 2010 at 8:20

GoogleCodeExporter commented 8 years ago
I have same problem with p/quick-settings project. There is no error in eclipse 
Error 
Log view. If you could add it there I could install development build and 
provide you 
with more details. Thanks.

Original comment by beworker on 31 May 2010 at 6:01

GoogleCodeExporter commented 8 years ago
I am facing the same problem here.
I am using this connector in SpringSource Tool Suite 2.3.2.RELEASE, PuppyLinux 
4.3.1
No exception in the error log.

Original comment by limchee...@ymail.com on 2 Jun 2010 at 3:36

GoogleCodeExporter commented 8 years ago
same issue with eclipse-java-helios-macosx-cocoa-x86_64

org.eclipse.mylyn_feature (3.4.0.v20100608-0100-e3x) "Mylyn"
org.eclipse.mylyn.bugzilla_feature (3.4.0.v20100608-0100-e3x) "Mylyn"
org.eclipse.mylyn.context_feature (3.4.0.v20100608-0100-e3x) "Mylyn"
org.eclipse.mylyn.ide_feature (3.4.0.v20100608-0100-e3x) "Mylyn"
org.eclipse.mylyn.java_feature (3.4.0.v20100608-0100-e3x) "Mylyn"
org.eclipse.mylyn.team_feature (3.4.0.v20100608-0100-e3x) "Mylyn"
org.eclipse.mylyn.wikitext_feature (1.3.0.v20100608-0100-e3x) "Mylyn"

com.googlecode.mylyn.core (0.1.0.201005250323NGT) "Google Code Mylyn Connector 
Core" [Active]
com.googlecode.mylyn.ui (0.1.0.201005250323NGT) "Google Code Mylyn Connector 
UI" [Active]

Original comment by yanokwa on 20 Jul 2010 at 7:41

GoogleCodeExporter commented 8 years ago
Make sure you are specifying your google account password in the credentials, 
and not the GoogleCode.com password used to commit sources, etc. I made this 
mistake at first and received this 'could not execute query' message with no 
details, as described in this ticket.

Original comment by marcelghe87@gmail.com on 8 Aug 2010 at 2:02

GoogleCodeExporter commented 8 years ago
marcelghe87 is correct. my mistake was in using the google code credentials.

Original comment by yanokwa on 8 Aug 2010 at 4:37

GoogleCodeExporter commented 8 years ago
+1 for that solution / workaround

FWIW this also seems sensitive to @googlemail.com vs @gmail.com, even if the 
"Validate Settings" in the Task Repo view isn't...

Original comment by nick.bou...@gmail.com on 5 Dec 2010 at 6:01

GoogleCodeExporter commented 8 years ago
The issue of insufficient logging can be resolved by downloading source, adding 
StatusHandler.log(status) before every throw new CoreException(status) See 
issue#56.
All in file 
/com.googlecode.mylyn.core/src/com/googlecode/mylyn/core/client/GDataGoogleCodeC
lient.java

Patch with described changes attached

Original comment by meijerf...@gmail.com on 6 Sep 2011 at 11:34

Attachments: