Hi,
Using Jabref 2.8 on OS/X and using the patch it works again. But using the 9.2
or even the 10.0 on the current git this morning, and debugging on Netbeans
7.3, I am not successful while fetching on Jstor with the query au:"Henry" AND
ti:"Nuptialité". I am able to fetch the 6 first entries
---------------- This is for someone who have time to improve and Jstor fetcher
--------
(the 7th and last is a "Review" and should be searched with another regex than
<a class="title" href="/stable/1529265? in
idPattern = Pattern.compile( "<a class=\"title\"
href=\"/stable/(\\d+)\\?");
but <a id="previewResult-7" href="/action/showSearchInfo?doi=10.2307%2F1529265&
)
-------------------
but when saying OK for the six entries, after having (or not) accepted the
duplicate (by clicking on the orange 'D'), I have to click a second time on OK
and it crashes. Here is what I got:
In the Debugger Console¨:
Breakpoint hit at line 53 in class net.sf.jabref.imports.BibsonomyScraper by
thread Thread-8.
Thread Thread-8 stopped at BibsonomyScraper.java:53.
User program running
Breakpoint hit at line 591 in class net.sf.jabref.BibtexDatabase by thread
AWT-EventQueue-0.
Thread AWT-EventQueue-0 stopped at BibtexDatabase.java:591.
User program running
Breakpoint hit at line 591 in class net.sf.jabref.BibtexDatabase by thread
AWT-EventQueue-0.
Thread AWT-EventQueue-0 stopped at BibtexDatabase.java:591.
User program running
And in the Jabref-Ide (debug-nb) window (I am not able to debug thread and I am
spending too much time on using breakpoints...):
BIBSONOMY_SCRAPER+entryUrl+BIBSONOMY_SCRAPER_POST=http://scraper.bibsonomy.org/service?url=http%3A%2F%2Fwww.jstor.org%2Faction%2FexportSingleCitation%3FsingleCitation%3Dtrue%26doi%3D10.2307%2F1529265&format=bibtex
Dropped comment from database:{ Your use of the JSTOR archive indicates your
acceptance of JSTOR's Terms and Conditions of Use
https://www.jstor.org/page/info/about/policies/terms.jsp. If you have questions
or need assistance using JSTOR, please contact JSTOR Support
($acsServer/action/showContactSupportForm) and let us know how we can help you.
}
Dropped comment from database:{NUMBER OF CITATIONS : 1}
Dropped comment from database:{ These records have been provided through JSTOR.
http://www.jstor.org }
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchFieldError: ADDED_ENTRY
at
org.bibsonomy.plugin.jabref.listener.PluginDataBaseChangeListener.databaseChanged(PluginDataBaseChangeListener.java:51)
at
net.sf.jabref.BibtexDatabase.fireDatabaseChanged(BibtexDatabase.java:591)
at net.sf.jabref.BibtexDatabase.insertEntry(BibtexDatabase.java:234)
at
net.sf.jabref.gui.ImportInspectionDialog.generateKeys(ImportInspectionDialog.java:526)
at
net.sf.jabref.gui.ImportInspectionDialog$OkListener.actionPerformed(ImportInspectionDialog.java:675)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6382)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6147)
at java.awt.Container.processEvent(Container.java:2083)
at java.awt.Component.dispatchEventImpl(Component.java:4744)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4572)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4572)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:677)
at java.awt.EventQueue$3.run(EventQueue.java:675)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:674)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
I don't know what is wrong, and if it is related to OS/X.
Could someone test the Jstor fetch on another OS?
Thanks,
Nicolas
Le 19 mars 2013 à 21:36, Morten Omholt Alver a écrit :
> Hi Nicolas,
>
> thank you, it seems your patch resolves the problem with fetching from JStor.
> I will apply this for the next version.
>
> --
> Morten
>
> On 19 March 2013 19:33, Nicolas Brouard <[email protected]> wrote:
> Hi,
>
> The former query to Jstor via BibsonomyScraper:
> http://www.jstor.org/action/exportSingleCitation?singleCitation=true&suffix=1529265
> doesn't work anymore and you can't fetch Jstor with Jabref anymore.
>
> But a query with a standard prefix 10.2307 for Jstor seems to work:
> http://www.jstor.org/action/exportSingleCitation?singleCitation=true&doi=10.2307/1529265
>
> Therefore, I am proposing this patch at
> https://sourceforge.net/p/jabref/patches/202/attachment/Jstor.patch
> --
> N. Brouard
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Jabref-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jabref-users
>
--
N. Brouard
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users