-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file save triggers error #6453
Comments
It's all the same underlying issue. Problem which makes it hard to debug, is that it's not occuring on Windows. But only on linux.
|
Ok, thanks alot. Hm, I have no significant experience in tracing processes, neither in programming. In case you would recommend questions/debugging tasks, I would happily try to serve with relevant data. |
I have just prepared a fix version at #6455 It would be nice if you could test that when it's ready |
@ilippert Would be nice if you could test this version: |
the exception so far does not reoccur - in 10 minutes of testing. will report here if it does over the next days. |
yeah, but got this now after saving and writing this line: Log File
|
still on Without me doing anything Log File
|
Okay thanks that is a bit different now, but maybe related. Will look into it the next days |
Just to clarify, you have entry editor open, at which tab? |
I have the entry editor open at a custom tab "annote".
…On 09.05.20 22:12, Christoph wrote:
Just to clarify, you have entry editor open, at which tab?
|
JabRef 5.1-PullRequest6455.368--2020-05-09--fff4926 I have now been working in the entry editor on a range of tabs and fields and the exception did not reappear. |
Does the exception occur when you hit save (ctr+s) repeatedly? |
I just tested a few times hitting ctrl+s, and also clicking on the buttons: so significant effect. |
however, just before I read your question, I got this (I think similar to before) Log File
|
Thanks, okay, this is a different error now which is related to our Backup-Manager. For some reason the tmp file cannot be renamed (moved) to the bib file, because it's not/no longer existing.
Can you manually check if after hitting save, a bib.tmp file is created? The Autocomplete error, however seems to be fixed. |
Yeah, thanks for the autcomplete error fix!!! on the |
Okay, thanks. That no such file exception is probably a timing problem and might be related how unix handles files. |
Hello,
The two problems are so impairing that basically I cannot write text longer than few words in JabRef fields, so I have to write it in another editor and then copy-paste. TEXT OF EXCEPTION WHEN TYPING IN FIELD "ABSTRACT" TEXT OF EXCEPTION WHEN TYPING IN FIELD ''COMMENT'' |
for the jumping cursor, see #5904 - might that be it? |
@gianlucabaldassarre For the one error on saving please try this version: |
We merged the changes now in master |
Thanks, the error causing the exception went away, but as a secondary
effect the "content selectors" are no more visible (but OK, this is better
than having the error).
The cursor jump is still there: I tried to follow the threads about it and
I understood it is a still an unsolved problem, right?
…On Mon, 11 May 2020 at 13:59, Christoph ***@***.***> wrote:
@gianlucabaldassarre <https://github.com/gianlucabaldassarre> For the one
error on saving please try this version:
https://builds.jabref.org/pull/6455/merge
The other cursor jumping is somehow related to the Autocomplete I think
and I could reproduce that in #5904
<#5904>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6453 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNLQD3KOQ5AU2ZLVLK6DTLRQ7SDDANCNFSM4M4V5UVA>
.
--
.|.CS...|.......|...............|..|......US.|||.|||||.||.||||..|...|.......
Gianluca Baldassarre, Ph.D.,
Laboratory of Computational Embodied Neuroscience,
Istituto di Scienze e Tecnologie della Cognizione,
Consiglio Nazionale delle Ricerche (LOCEN-ISTC-CNR),
Via San Martino della Battaglia 44, I-00185 Roma, Italy
Senior Researcher at the Research Institute ISTC-CNR (www.istc.cnr.it)
Coordinator of Research Group LOCEN (https://www.istc.cnr.it/it/group/locen)
President of Advanced School in AI (www.as-ai.org)
President of Associazione culturale science2mind (www.science2mind.org)
Founder of ST&M4Humanity (www.stem4humanity.org <http://stem4humanity.org/>)
E-mail: [email protected]
Web: http://www.istc.cnr.it/people/gianluca-baldassarre
Tel: +39 06 44 595 231
Skype: gianluca.baldassarre
Motto: 'Learn from the past, live in(tensely) the present, dream for the
future'
Life mission statement: 'Serve humanity through core knowledge'
...CS.|||.||.|||.||..|.......|........|...US.|.|....||..|..|......|.........
|
For some the comment fields cursor jumping seems to be fixed. If not I maybe have another idea. |
My current system:
JabRef 5.1--2020-05-14--46777c2
Windows 10 10.0 amd64
Java 14.0.1
For some the comment fields cursor jumping seems to be fixed. If not I
maybe have another idea.
Yes, the cursor still jumps (e.g. when typing in the fields 'Abstract' and
'Comment', the latter being a custom field).
In particular it jumps:
- when I save with Ctrl+s or File-->Save (with the icon-save it jumps to
nowhere)
- once in a while for no apparent reason
Regarding content selectors, do you have some defined for multilne
fields? I disabled the autompletion only for the multiline fields
Yes, I was using the content selector for Comment (custom field) that is
multiline.
|
...one temporary solution for users, to be able to edit the Comment field, and other more-than-one-line fields having the problem, is as follows:
|
By the way, I recall the attention of the JabRef developers that this is a quite impairing problem of the software since it prevents users from manually changing the contents of more-than-a-line fields: this is a basic important functionality of the software! |
Hi @gianlucabaldassarre , I took a look into the issue. I was able to partly recreate the problematic behaviour of jabref on my linux machine, although it does not happen every time I'm saving. I made an attempt to fix it, but I'm not quite sure, if it really works. Would you be so kind to test this build here ( https://github.com/JabRef/jabref/suites/720256702/artifacts/7152221 ) and to report, if this problem still persists on your machine? |
Hi, the link you sent (
https://github.com/JabRef/jabref/suites/720256702/artifacts/7152221) seems to
lead me to download a linux version of JabRef (after unzipping the file, I
got the files:
jabref_5.1-1_amd64.deb, jabref-5.1-1.x86_64.rpm,
JabRef-5.1-portable_linux.tar.gz),
while I am using now this system:
JabRef 5.1--2020-05-14--46777c2
Windows 10 10.0 amd64
Java 14.0.1
…On Wed, 27 May 2020 at 12:01, Carl Christian Snethlage < ***@***.***> wrote:
Hi @gianlucabaldassarre <https://github.com/gianlucabaldassarre> , I took
a look into the issue. I was able to partly recreate the problematic
behaviour of jabref on my linux machine, although it does not happen every
time I'm saving. I made an attempt to fix it, but I'm not quite sure, if it
really works. Would you be so kind to test this build here (
https://github.com/JabRef/jabref/suites/720256702/artifacts/7152221 ) and
to report, if this problem still persists on your machine?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6453 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNLQDYQ6RJ4KQ7SLDHHTJLRTTQIVANCNFSM4M4V5UVA>
.
--
.|.CS...|.......|...............|..|......US.|||.|||||.||.||||..|...|.......
Gianluca Baldassarre, Ph.D.,
Laboratory of Computational Embodied Neuroscience,
Istituto di Scienze e Tecnologie della Cognizione,
Consiglio Nazionale delle Ricerche (LOCEN-ISTC-CNR),
Via San Martino della Battaglia 44, I-00185 Roma, Italy
Senior Researcher at the Research Institute ISTC-CNR (www.istc.cnr.it)
Coordinator of Research Group LOCEN (https://www.istc.cnr.it/it/group/locen)
President of Advanced School in AI (www.as-ai.org)
President of Associazione culturale science2mind (www.science2mind.org)
Founder of ST&M4Humanity (www.stem4humanity.org <http://stem4humanity.org/>)
E-mail: [email protected]
Web: http://www.istc.cnr.it/people/gianluca-baldassarre
Tel: +39 06 44 595 231
Skype: gianluca.baldassarre
Motto: 'Learn from the past, live in(tensely) the present, dream for the
future'
Life mission statement: 'Serve humanity through core knowledge'
...CS.|||.||.|||.||..|.......|........|...US.|.|....||..|..|......|.........
|
@gianlucabaldassarre https://github.com/JabRef/jabref/suites/720256702/artifacts/7152223 |
I'm confused. I thought this is a linux specific issue. Does this affect windows too? |
System: @Siedlerchr: the problem of the cursor jumping at the beginning of multi-line fields when saving is still there (with https://github.com/JabRef/jabref/suites/720256702/artifacts/7152223) @calixtus: I confirm, the problem is also in Windows 10 system (see system features above). |
Refs JabRef#390 |
Options:
|
The multiline comment issue just got merged. Please wait until the new development version is ready |
41531558a8 Fix unsigned newspaper articles throughout Chicago 17 (#6486) 7678212826 Create trames.csl (#6479) 0cae26ac85 Update hochschule-fur-soziale-arbeit-fhnw.csl (#6480) 85c4b693a2 Update to UP Harvard Theology & Religion (#6485) c273aa7e43 Update ieee.csl (#6481) fe67b80e47 Update open-window.csl (#6367) f2229705ef Create iainutuban-tarbiyah.csl (#6361) 1867a56a26 Create business-and-human-rights-journal (#6359) 1371dbdf26 Update iso690-author-date-es.csl (#6477) 6953a43efd Update ieee.csl (#6478) f56d5ef1cc Create czech-journal-of-international-relations.csl (#6453) 678b53f99c Update harvard-stellenbosch-university.csl (#6464) 3074938038 Update ucl-university-college-apa.csl (#6475) 27dab9ea0f Update iso690-author-date-es.csl (#6476) a8aea63d00 Create elsevier-american-chemical-society.csl (#6342) f8f290fa63 Update iso690-author-date-es.csl (#6472) 7fdc621eee Update journal-of-neolithic-archaeology (#6466) 7025568e70 Update offa.csl (#6465) 2d69299b19 Create uni-fribourg-theologie.csl (#6473) 8db531a73e Create travail-et-emploi.csl (#6351) c8b54fc531 Make monash-university-harvard dependent style (#6470) b95f59ff5c Update journal-of-the-marine-biological-association-of-the-united-kingdom.csl (#6456) a12b513119 Update universite-du-quebec-a-montreal.csl (#6463) 048e6641e4 Update zeitschrift-fur-geschichtsdidaktik.csl (#6454) f0d3d7ef15 Update journal-fur-kulturpflanzen-journal-of-cultivated-plants.csl (#6447) 3b814fe048 Update the-accounting-review.csl (#6459) f24befd580 Update survey-of-ophthalmology.csl from ama.csl to its own independent style (#6460) c868ab54f6 Create vancouver-alphabetical.csl (#6461) 782e39cfe1 Update american-institute-of-physics.csl (#6457) a56cf03e3c Fix Chicago Cases & Newspaper sorting (#6458) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: 41531558a873b2533f2d17d8d6484c2408174fce
JabRef 5.1--2020-05-08--d18ce55
Linux 5.6.8-200.fc31.x86_64 amd64
Java 14.0.1
When I edit text in the entry editor, I often get this exception, without further action. I suspected it might be related to autocompletion, but I read @Siedlerchr as this not being the case at #6351. As you see at #6351, I routinely faced this error for for 8 days now.
The bug issue heading might be equivalent to #6102? - but I am not sure whether it is the same issue.
How to reproduce: edit any text field and after a few seconds the exception shows up.
Log File
java.lang.IllegalStateException: Task must only be used from the FX Application Thread
at org.jabref.merged.module/javafx.concurrent.Task.checkThread(Unknown Source)
at org.jabref.merged.module/javafx.concurrent.Task.isRunning(Unknown Source)
at org.jabref.merged.module/org.controlsfx.control.textfield.AutoCompletionBinding.onUserInputChanged(Unknown Source)
at org.jabref.merged.module/org.controlsfx.control.textfield.AutoCompletionBinding.setUserInput(Unknown Source)
at org.jabref/org.jabref.gui.autocompleter.AutoCompletionTextInputBinding.setUserInputText(Unknown Source)
at org.jabref/org.jabref.gui.autocompleter.AutoCompletionTextInputBinding.lambda$new$0(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl$TextProperty.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl$TextProperty.markInvalid(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl$TextProperty.controlContentHasChanged(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl.lambda$new$0(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextArea$TextAreaContent.insert(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl.replaceText(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl.filterAndSet(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl$TextProperty.doSet(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl$TextProperty.set(Unknown Source)
at org.jabref.merged.module/javafx.scene.control.TextInputControl$TextProperty.set(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.StringProperty.setValue(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.StringProperty.setValue(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.BidirectionalBinding$TypedGenericBidirectionalBinding.changed(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.StringPropertyBase.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.StringPropertyBase.markInvalid(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.StringPropertyBase.set(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.StringPropertyBase.set(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.StringProperty.setValue(Unknown Source)
at org.jabref.merged.module/javafx.beans.property.StringProperty.setValue(Unknown Source)
at org.jabref/org.jabref.gui.util.BindingsHelper$BidirectionalBinding.updateLocked(Unknown Source)
at org.jabref/org.jabref.gui.util.BindingsHelper$BidirectionalBinding.changedB(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/javafx.beans.binding.ObjectBinding.invalidate(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.binding.BindingHelperObserver.invalidated(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.collections.MapListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.collections.ObservableMapWrapper.callObservers(Unknown Source)
at org.jabref.merged.module/com.sun.javafx.collections.ObservableMapWrapper.put(Unknown Source)
at org.jabref/org.jabref.model.entry.BibEntry.setField(Unknown Source)
at org.jabref/org.jabref.model.cleanup.FieldFormatterCleanup.cleanupSingleField(Unknown Source)
at org.jabref/org.jabref.model.cleanup.FieldFormatterCleanup.cleanupAllFields(Unknown Source)
at org.jabref/org.jabref.model.cleanup.FieldFormatterCleanup.cleanup(Unknown Source)
at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.applySaveActions(Unknown Source)
at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.savePartOfDatabase(Unknown Source)
at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.saveDatabase(Unknown Source)
at org.jabref/org.jabref.gui.exporter.SaveDatabaseAction.saveDatabase(Unknown Source)
at org.jabref/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
at org.jabref/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
at org.jabref/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
at org.jabref/org.jabref.gui.dialogs.AutosaveUiManager.listen(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.jabref.merged.module/com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Unknown Source)
at org.jabref.merged.module/com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Unknown Source)
at org.jabref.merged.module/com.google.common.eventbus.Subscriber$1.run(Unknown Source)
at org.jabref.merged.module/com.google.common.util.concurrent.DirectExecutor.execute(Unknown Source)
at org.jabref.merged.module/com.google.common.eventbus.Subscriber.dispatchEvent(Unknown Source)
at org.jabref.merged.module/com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Unknown Source)
at org.jabref.merged.module/com.google.common.eventbus.EventBus.post(Unknown Source)
at org.jabref/org.jabref.logic.autosaveandbackup.AutosaveManager.lambda$listen$0(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
The text was updated successfully, but these errors were encountered: