简体   繁体   English

RStudio 不显示任何窗格

[英]RStudio does not show any pane

After last update (I'm using Manjaro GNU/Linux distribution) I am not able to see any pane when opening RStudio.上次更新后(我使用的是 Manjaro GNU/Linux 发行版),我在打开 RStudio 时看不到任何窗格。 Only the Toolbar and buttons with icons like that to open new or existent files, open folders, and save files are shown.仅显示工具栏和带有类似图标的按钮,用于打开新文件或现有文件、打开文件夹和保存文件。

If I go to View -> Panes, and change options there, nothing seems to happen, or a tiny window is open where only apply and OK buttons are visible.如果我转到“查看”->“窗格”,并在那里更改选项,似乎什么也没有发生,或者打开一个小窗口,其中只有应用和确定按钮可见。 If other options are selected, eg.如果选择了其他选项,例如。 File -> New File, a bunch of text appears for a short time and then disappears, but nothing is shown after that. File -> New File,一串文字出现一小段时间然后消失,但之后没有任何显示。 Similarly, a message indicating RStudio window.program_mode = "desktop" appears momentarily when opening the application.同样,当打开应用程序时,会立即出现一条消息,指示RStudio window.program_mode = "desktop"

If RStudio is opened from the command line terminal, the following error messages appear:如果从命令行终端打开 RStudio,则会出现以下错误消息:

Qt WebEngine resources not found at /share/qt/resources.在 /share/qt/resources 中找不到 Qt WebEngine 资源。 Trying parent directory...正在尝试父目录...

Qt WebEngine resources not found at /share/qt.在 /share/qt 中找不到 Qt WebEngine 资源。 Trying application directory...正在尝试应用程序目录...

Qt WebEngine resources not found at /usr/lib/qt/libexec.在 /usr/lib/qt/libexec 中找不到 Qt WebEngine 资源。 Trying fallback directory... The application MAY NOT work.正在尝试回退目录...该应用程序可能无法运行。

Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/user/.QtWebEngineProcess'密钥库的路径覆盖失败::DIR_QT_LIBRARY_DATA 和路径“/home/user/.QtWebEngineProcess”

Installed Qt WebEngine locales directory not found at location /share/qt/translations/qtwebengine_locales.在 /share/qt/translations/qtwebengine_locales 位置找不到已安装的 Qt WebEngine locales 目录。 Trying application directory...正在尝试应用程序目录...

Qt WebEngine locales directory not found at location /usr/lib/qt/libexec/qtwebengine_locales.在 /usr/lib/qt/libexec/qtwebengine_locales 位置找不到 Qt WebEngine locales 目录。 Trying fallback directory... Translations MAY NOT not be correct.尝试回退目录...翻译可能不正确。

Path override failed for key ui::DIR_LOCALES and path '/home/user/.QtWebEngineProcess' [0101/102738.515189:ERROR:resource_bundle.cc(887)] Failed to load /home/user/.QtWebEngineProcess/qtwebengine_resources.pak键 ui::DIR_LOCALES 和路径“/home/user/.QtWebEngineProcess”的路径覆盖失败 [0101/102738.515189:ERROR:resource_bundle.cc(887)] 无法加载 /home/user/.QtWebEngineProcess/qtwebengine_resources.pak

Some features may not be available.某些功能可能不可用。 [0101/102738.515234:ERROR:resource_bundle.cc(887)] Failed to load /home/user/.QtWebEngineProcess/qtwebengine_resources_100p.pak [0101/102738.515234:ERROR:resource_bundle.cc(887)] 无法加载/home/user/.QtWebEngineProcess/qtwebengine_resources_100p.pak

Some features may not be available.某些功能可能不可用。 [0101/102738.515240:ERROR:resource_bundle.cc(887)] Failed to load /home/user/.QtWebEngineProcess/qtwebengine_resources_200p.pak [0101/102738.515240:ERROR:resource_bundle.cc(887)] 无法加载/home/user/.QtWebEngineProcess/qtwebengine_resources_200p.pak

Some features may not be available.某些功能可能不可用。 [0101/102738.515965:WARNING:resource_bundle_qt.cpp(117)] locale_file_path.empty() for locale [0101/102738.515965:警告:resource_bundle_qt.cpp(117)] locale_file_path.empty() 用于语言环境

Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead.使用已弃用的非线程安全 setter,请改用 setUrlRequestInterceptor。

Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead.使用已弃用的非线程安全 setter,请改用 setUrlRequestInterceptor。

"Invalid splitter position detected: 304/0" “检测到无效的分离器位置:304/0”

So far, I've tried to reinstalling RStudio and qt, and deleting .rstudio-desktop/ , but no luck, and I am not able to figure out what is going on.到目前为止,我已经尝试重新安装 RStudio 和 qt,并删除.rstudio-desktop/ ,但没有运气,我无法弄清楚发生了什么。 Any ideas?有任何想法吗?

I had the same issue on Arch and found this solution on the bug reports: https://bugs.archlinux.org/task/64973我在 Arch 上遇到了同样的问题,并在错误报告中找到了这个解决方案: https : //bugs.archlinux.org/task/64973

It was solved by adding this /usr/lib/qt/libexec/qt.conf通过添加这个 /usr/lib/qt/libexec/qt.conf 解决了

[Paths]
Prefix = /usr/lib/qt
Data = /usr/share/qt
Translations = /usr/share/qt/translations

Hope it helps someone else.希望它可以帮助别人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM