0
746 次瀏覽

I’ve got PT9 on my Linux virtual machine. After some time, it has begun to be largely non-functional, with a click on the menu for the project window resulting in this dialog:


Basically, it means I can no longer do anything in PT9. Is there a way to get over this (restart with shift down doesn’t do it), or do I need to wait for an update? Meanwhile, I’m continuing with PT8.

JohnBrownie

舊文章 - 以原文顯示
Paratext (385 點) 提出 | 746 次瀏覽

5 個回答

0
最佳回答

This is what I get. The initial errors (before the fatal unhandled exception) happen on launch. I have uninstalled and reinstalled PT9 a couple of times, once blowing away the ~/.local/share/Paratext90 folder, without change.

Mozilla Roots Importer - version 3.2.8.0
Download and import trusted root certificates from Mozilla’s MXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

Importing certificates into user store…
Import process completed.

(1,2): warning CS0105: The using directive for `System’ appeared previously in this namespace
Checking for ParatextProjects.
Apport Ignore file doesn’t need updating.
Updating EncConverts Registry Keys
Writing silencconverters40key key
SLT Resources already Installed.

(Paratext:6994): GLib-GObject-WARNING **: 17:02:11.358: invalid (NULL) pointer instance

(Paratext:6994): GLib-GObject-CRITICAL **: 17:02:11.358: g_signal_handler_disconnect: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed

(Paratext:6994): Gdk-CRITICAL **: 17:02:11.358: gdk_frame_clock_end_updating: assertion ‘GDK_IS_FRAME_CLOCK (frame_clock)’ failed

(Paratext:6994): GLib-GObject-WARNING **: 17:02:11.359: …/…/…/…/gobject/gsignal.c:2641: instance ‘0x7f93f1c9d380’ has no handler with id ‘853’

(Paratext:6994): GLib-GObject-WARNING **: 17:02:11.377: invalid (NULL) pointer instance

(Paratext:6994): GLib-GObject-CRITICAL **: 17:02:11.377: g_signal_handler_disconnect: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed

(Paratext:6994): Gdk-CRITICAL **: 17:02:11.377: gdk_frame_clock_end_updating: assertion ‘GDK_IS_FRAME_CLOCK (frame_clock)’ failed

(Paratext:6994): GLib-GObject-WARNING **: 17:02:11.377: …/…/…/…/gobject/gsignal.c:2641: instance ‘0x7f93f1c9d490’ has no handler with id ‘861’

(Paratext:6994): GLib-CRITICAL **: 17:02:12.187: Source ID 87 was not found when attempting to remove it

(Paratext:6994): GLib-CRITICAL **: 17:02:12.188: Source ID 86 was not found when attempting to remove it

(Paratext:6994): GLib-CRITICAL **: 17:02:12.188: Source ID 85 was not found when attempting to remove it

(Paratext:6994): GLib-CRITICAL **: 17:02:12.188: Source ID 88 was not found when attempting to remove it

(Paratext:6994): Gtk-CRITICAL **: 17:02:12.356: gtk_window_resize: assertion ‘height > 0’ failed

(Paratext:6994): Gtk-CRITICAL **: 17:02:12.356: gtk_window_resize: assertion ‘height > 0’ failed

(Paratext:6994): Gtk-CRITICAL **: 17:02:12.356: gtk_window_resize: assertion ‘height > 0’ failed

(Paratext:6994): Gtk-CRITICAL **: 17:02:12.357: gtk_window_resize: assertion ‘height > 0’ failed

(Paratext:6994): Gtk-CRITICAL **: 17:02:12.357: gtk_window_resize: assertion ‘height > 0’ failed
No LSB modules are available.

(Paratext:6994): GLib-GObject-WARNING **: 17:03:06.509: invalid (NULL) pointer instance

(Paratext:6994): GLib-GObject-CRITICAL **: 17:03:06.509: g_signal_handler_disconnect: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed

(Paratext:6994): Gdk-CRITICAL **: 17:03:06.509: gdk_frame_clock_end_updating: assertion ‘GDK_IS_FRAME_CLOCK (frame_clock)’ failed

(Paratext:6994): GLib-GObject-WARNING **: 17:03:06.509: …/…/…/…/gobject/gsignal.c:2641: instance ‘0x7f93f1c9dc00’ has no handler with id ‘1809’

(Paratext:6994): GLib-GObject-WARNING **: 17:03:06.518: invalid (NULL) pointer instance

(Paratext:6994): GLib-GObject-CRITICAL **: 17:03:06.518: g_signal_handler_disconnect: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed

(Paratext:6994): Gdk-CRITICAL **: 17:03:06.518: gdk_frame_clock_end_updating: assertion ‘GDK_IS_FRAME_CLOCK (frame_clock)’ failed

(Paratext:6994): GLib-GObject-WARNING **: 17:03:06.518: …/…/…/…/gobject/gsignal.c:2641: instance ‘0x7f93f1c9daf0’ has no handler with id ‘1811’
[ERROR] FATAL UNHANDLED EXCEPTION: System.ObjectDisposedException: Cannot write to a closed TextWriter.
at System.IO.StreamWriter.Flush (System.Boolean flushStream, System.Boolean flushEncoder) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.StreamWriter.Write (System.Char[] buffer, System.Int32 index, System.Int32 count) [0x0008a] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.TextWriter.WriteLine (System.String value) [0x00083] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.TextWriter.WriteLine (System.String format, System.Object arg0) [0x0000e] in <8f2c484307284b51944a1a13a14c0266>:0
at PtxUtils.UI.FlushOnCrashLogTraceListener+c__AnonStorey0.<>m__0 () [0x0009a] in /home/build/paratext-geckofx-linux-9.0/PtxUtils.UI/FlushOnCrashLogTraceListener.cs:56
at PtxUtils.UI.FlushOnCrashLogTraceListener+c__AnonStorey0.<>m__1 () [0x00000] in /home/build/paratext-geckofx-linux-9.0/PtxUtils.UI/FlushOnCrashLogTraceListener.cs:63
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0

舊文章 - 以原文顯示
(385 點) 提出
0

Possibly there is a problem with

~/.local/share/SIL/WritingSystemRepository

could you try running the following in a terminal (with Paratext not running):

mv ~/.local/share/SIL/WritingSystemRepository ~/.local/share/SIL/WritingSystemRepository_backup

Then start Paratext to see if it makes any difference?

舊文章 - 以原文顯示
[Moderator]
(2.4k 點) 提出

hindlemail via Paratext Supporter Site
wrote on 3/2/20 21:03:

Possibly there is a problem with

~/.local/share/SIL/WritingSystemRepository

could you try running the following in a terminal (with Paratext not running):

mv
~/.local/share/SIL/WritingSystemRepository ~/.local/share/SIL/WritingSystemRepository_backup

Then start Paratext to see if it makes any difference?

No difference, I’m afraid. I still get the error message when clicking on the menu button.

JohnBrownie

舊文章 - 以原文顯示

I’ve seen that error message in Windows and tinkering with files in the repository settings has often not helped. What I’ve found on some machines is the problem seems to appear after installing Fieldworks 9, (current version 9.07). On one new machine, I installed Fieldworks 9, had the problem, then removed FW9 and installed FW8 and the problem went away. Then I reinstalled FW9 and the problem did not reappear.

But on another new machine, reinstalling FW9 brought the problem back again, so I have stayed with FW 8.

舊文章 - 以原文顯示

Could you try running Paratext from a terminal:

paratext9 --debug

Then see what is output in the terminal after you get that error message.

舊文章 - 以原文顯示
0

Oh I found an automated exception for this and the error appears to be coming from the Fieldworks file ParatextLexiconPlugin.dll:

at SIL.FieldWorks.ParatextLexiconPlugin.FwLexiconPlugin.TryGetLcmCache (System.String projectId, System.String langId, SIL.LCModel.LcmCache& fdoCache) [0x0011b] in :0
at SIL.FieldWorks.ParatextLexiconPlugin.FwLexiconPlugin.ValidateLexicalProject (System.String projectId, System.String langId) [0x00011] in :0
at Paratext.InternalShared.Lingustics.LexiconManager.IsValidDB (Paratext.Data.AssociatedLexicalProject alp, System.String langID, Paratext.LexicalContracts.LexiconPlugin& lexiconPlugin) [0x00051] in /home/build/paratext-geckofx-linux-9.0/ParatextInternalShared/Lingustics/LexiconManager.cs:44
at Paratext.InternalShared.Lingustics.LexiconManager.IsAvailableDB (Paratext.Data.AssociatedLexicalProject alp, System.String langID) [0x00000] in /home/build/paratext-geckofx-linux-9.0/ParatextInternalShared/Lingustics/LexiconManager.cs:52
at Paratext.TextForm.UpdateMenuStatus () [0x00649] in /home/build/paratext-geckofx-linux-9.0/Paratext/TextForm.cs:973
at Paratext.Base.MegaMenu.MegaMenuButton.ToggleShowMenu (System.String acceleratorKey) [0x00061] in /home/build/paratext-geckofx-linux-9.0/ParatextBase/MegaMenu/MegaMenuButton.cs:141

舊文章 - 以原文顯示
[Moderator]
(2.4k 點) 提出

So what can I do about that? Do I need to break the relationship to FieldWorks somehow?

舊文章 - 以原文顯示

Breaking the FW connection would likely stop the error message. (one could likely do that by renaming ParatextLexiconPlugin.dll to something else but there likely better ways)
I suspect there is some ldml file, somewhere in FW, or somewhere FW reads, that the ldml lib can’t read. Given the error message it’s likely something to do with the keyboard setting in the file.
But I need to spend some time looking into this to know for sure…

舊文章 - 以原文顯示

I suspect what is going on is that, there is keyboard associated with one of your flex projects, that is causing this exception:

To help locate which one run the following:

find ~/.local/share/fieldworks/Projects -name *.ldml | xargs grep external-resources

Then look in each of the resultant files for external-resources and then look for a keyboard definition. Other things you will likely see if in that element is font + spellcheck info.

Alternatively you could use flex to remove this keyboard association from your flex projects.

舊文章 - 以原文顯示
0

I ran that command, which found 48 files, which boiled down to the same 12 languages, one copy in a WritingSystemStore directory and one in a trash directory within that, one each in CachedSettings and the project folder.

Running through them, the only thing in the external resources section is a font for each of them. It’s not surprising, given that I don’t have any keyboard needs, and so use a standard system keyboard layout for use with the language. I fiddled around, and tried deleting all but one standard keyboard layout (English US, International with dead keys), with no effect.

Should there be a keyboard listed in that section? Is it failing to find one and then that causes a crash?

Here is what it says in the preferences for input method:

Current configuration for the input method:

  • Active configuration: ibus (normally missing)
  • Normal automatic choice: ibus (normally ibus or fcitx or uim)
  • Override rule: zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx:ja_JP,fcitx:ko_KR,fcitx:vi_VN,fcitx
  • Current override choice: (en_US)
  • Current automatic choice: ibus
  • Number of valid choices: 2 (normally 1)
    The override rule is defined in /etc/default/im-config.
    The configuration set by im-config is activated by re-starting X.
    Explicit selection is not required to enable the automatic configuration if the active one is default/auto/cjkv/missing.
    Available input methods: ibus xim
    Unless you really need them all, please make sure to install only one input method tool.

I tried resetting the keyboard preferences to defaults, with no change.

舊文章 - 以原文顯示
(385 點) 提出

I notified the Fieldworks developers about how Paratext has problems connecting to FW 9, and they said they were aware there are more writing system errors in 9, and they need to work on a new release to fix these, but that release has not appeared yet.

舊文章 - 以原文顯示
0

OK, that’s good to know. I’ll wait on the Fieldworks update.

舊文章 - 以原文顯示
(385 點) 提出

With the latest version of PT9 on Linux, I don’t get the error message, but it eventually hangs the whole virtual machine. If I avoid using the menu, I can do things, so I can edit the text and make comments, and can also do send/receive, so it’s a partial win there.

舊文章 - 以原文顯示

With FLEx 9.0.8 released, I am no longer having the problem, and PT9 appears to work reliably now. Thanks to the developers who fixed the issue!

舊文章 - 以原文顯示

相關問題

0
6 個回答 720 次瀏覽
It seems my current versions of PT8 and PT9 on Linux are not compatible with the new PT Live server. First of ... Linux versions will be compatible with the newer PT Live server?
n8_in_car 298 提出 已提問 4月 7, 2020
0
5 個回答 643 次瀏覽
I'm transitioning to Linux from Win7 (at its end of support ). I have seen mixed messages about PT9 working in Wasta Linux, ... , what do I need to do to get it to finish loading?
Paul 642 提出 已提問 1月 27, 2020
0
2 個回答 276 次瀏覽
In pt9, is it possible to set up a work environment with customized window sizes? (As opposed to non-adjustable ... I looked everywhere but have not (yet) found it. goodgoan
goodgoan 347 提出 已提問 6月 27, 2019
0
1 個回答 303 次瀏覽
I'm trying to switch from Paratext 8 to Paratext 9. I have used our project's interlinearizer heavily in PT8 with no ... PT9 is not allowing me to edit the parses? Thank you!
anon149406 105 提出 已提問 1月 8, 2020
0
1 個回答 294 次瀏覽
我目前在 Ubuntu 20.04 上執行 Paratext 9.0.100.10236 我們正在進行一個阿拉伯語專案 我的 Ubuntu 系統設定瞭兩種鍵盤佈局,我可以透過按 super+space 在兩者之間切換 我也可以透過點 ... Keyboard 」選單項目是灰色的且被禁用 我該如何讓 Linux 上的 Paratext 接受我的阿拉伯語鍵盤?
bit 495 提出 已提問 1月 1, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Just as a body, though one, has many parts, but all its many parts form one body, so it is with Christ.
1 Corinthians 12:12
3,049 個問題
6,007 個回答
5,673 則評論
2,029 位使用者