信源:https://www.olexsys.org/olex2/docs/getting-started/installing-olex2/problems-with-olex2/ Problems with running Olex2: FAQ | 运行Olex2的问题:常见问题解答 | Things sometimes go wrong. Here is a collection of frequently occuring problems. | 时有故障。以下是一些经常发生的问题。 |
Olex2 should run smoothly on your chosen platform. But sometimes things go wrong, and there can be many reasons for this. We would like you to tell us about these issues – and here are few tips and tricks how you can help is diagnose a problem. | Olex2应该在您选择的平台上平稳运行。但时有故障,这可能有很多原因。我们希望您能告诉我们这些问题——这里有一些提示和技巧,您可以帮助诊断问题。 |
Atom Selection does not work as expected | 原子选择无法按预期工作 | With some graphics cards and drivers, clicking on an atom will select a different atom. | 对于某些图形卡和驱动程序,单击一个原子将选择另一个原子。 |
For some people, clicking on an atom in Olex2 will select a different atom instead of the intended one. This may happen only sometimes and under non-specific conditions. | 对于一些人来说,点击Olex2中的一个原子会选择一个不同的原子,而不是预期的原子。这种情况只有在非特定条件下才会发生。 |
The cause for this is a problem with the graphics card and its drivers. | 造成这种情况的原因是图形卡及其驱动程序出现问题。 |
Most of the reports we’ve got occured with Intel Graphics cards. | 我们收到的大多数报告都与英特尔显卡有关。 |
Sometimes, updating the graphics drivers may work. | 有时,更新图形驱动程序可能会起作用。 |
If this doesn’t help, you can set a special option in Olex2 by typing | 如果这没有帮助,您可以在Olex2中设置一个特殊选项,通过在Olex2中直接键入 |
straight into Olex2. A file will open (which is most probably empty). Just copy the following line into this file and then save it: | 将打开一个文件(很可能是空白的)。直接将以下行复制粘贴至此文件并保存: |
gl_selection=false | gl_selection=false |
This will hopefully fix the problem. | 这有望解决问题。 |
The Log File | 日志文件 | About the Olex2 log file. | 关于Olex2日志文件。 |
The Log file contains a lot of information about your Olex2 session. When problems occur, getting access to this information is very important. We can only assist with crashes and other issues if we have enough information; the log file often provides that. | 日志文件包含许多关于Olex2会话的信息。当出现问题时,访问这些信息非常重要。只有当我们有足够的信息时,我们才能协助处理碰撞和其他问题;日志文件通常提供了这一点。 |
A typical scenario is when something in a structure causes Olex2 to crash. This happens sometimes, and we need to learn about these cases. | 一种典型的情况是结构中的某些东西导致Olex2崩溃。这种情况有时会发生,我们需要了解这些情况。 |
After a structure has crashed Olex2, it won’t automatically load it on the next start-up because there is a chance that it will crash again, and then there will be no way out. | 一个结构使Olex2崩溃后,它不会在下一次启动时自动加载,因为它有可能再次崩溃,然后就没有出路了。 |
When that happens, Olex2 usually starts, but it will print the following: | 当这种情况发生时,Olex2通常会启动,但它会打印以下内容: |
It appears that Olex2 has crashed last time: skip loading of the last file. | 看来Olex2上次崩溃了:跳过加载最后一个文件。 |
This allows you to manually examine the file and fix any problems. | 这允许您手动检查文件并解决任何问题。 |
In this state, it should be possible to load and refine the built-in sucrose example file and continue normally. | 在这种状态下,应该可以加载和精修内置的sucrose示例文件并正常继续。 |
The log file | 日志文件 | The easiest way to find out all the required information is to type log, and you will find something like this in the first line: | 找到所有必需信息的最简单方法是键入log,您会在第一行中找到这样的内容: |
Olex2-1.5-dev 2023.04.26 svn.r751481ca MSC:192930146 on WIN64, Python: 3.8.6, wxWidgets: 3.0.4 for OlexSys |
This not only tells us about the version of Olex2 but also about your operating system. | 这不仅告诉我们Olex2的版本,还告诉我们您的操作系统。 |
Sometimes, Olex2 can get into such a bad state that typing the log command has no effect. | 有时,Olex2可能会进入如此糟糕的状态,以至于键入log命令没有任何效果。 |
In that case, please type | 在这种情况下,请键入 |
setvar defeditor notepad log | setvar defeditor notepad log |
If this still doesn’t work, you can access the log file, but this is trickier. The log files are stored in the location that is usually accessible from Olex2 with the command shell DataDir() – but chances are that this won’t work either if log doesn’t work. | 如果这仍然不起作用,您可以访问日志文件,但这更为棘手。日志文件存储在通常可以通过命令shell DataDir()从Olex2访问的位置,但如果日志不起作用,这也可能不起作用。 |
By default, this location is, for Windows, in this location: | 默认情况下,对于Windows,此位置位于以下位置: |
C:\Users{name}\AppData\Roaming\Olex2Data |
This folder will contain at least one folder with a long random name, such as this c7e46afa910e703cdb9ac0565d8f090d. Each version of Olex2 will have its own folder. If you sort these folders by ‘Date Modified,’ you can identify the folder that contains information about the latest crash. | 此文件夹将至少包含一个具有长随机名称的文件夹,例如c7e46afa910e703cdb9ac0565d8f090d。Olex2的每个版本都有自己的文件夹。如果按“修改日期”对这些文件夹进行排序,则可以识别包含最近崩溃信息的文件夹。 |
Inside this folder will be a folder named ‘log’ – and the newest folder may contain information regarding a recent crash. | 此文件夹中将有一个名为“log”的文件夹,最新的文件夹可能包含有关最近崩溃的信息。 |
When contacting us with any issues, please include that log file in your query. | 如果有任何问题与我们联系,请将该日志文件包含在您的查询中。 |
如需PDF文档,请从以下链接下载: 通过网盘分享的文件:Olex2运行常见问题.pdf
|