Crash when connecting a wheel in nanocar

hello everyone, could someone help me with the configuration of nanocar?
after installing the plug-in as indicated in the following tutorial : Nanocar Builder - Avogadro 2 Plug-in by kbsezginel
“nanocar” appears well in “build”, but as soon as I select “connect wheel” I have this error:

QObject::connect: No such slot Avogadro::QtGui::InterfaceWidget::updatePreviewText() in /home/tchimoe/openchemistry/avogadrolibs/avogadro/qtgui/jsonwidget.cpp:464
QObject::connect: No such slot Avogadro::QtGui::InterfaceWidget::updatePreviewText() in /home/tchimoe/openchemistry/avogadrolibs/avogadro/qtgui/jsonwidget.cpp:457
QObject::connect: No such slot Avogadro::QtGui::InterfaceWidget::updatePreviewText() in /home/tchimoe/openchemistry/avogadrolibs/avogadro/qtgui/jsonwidget.cpp:365

after having consulted the file “Avogadro/QtGui/InterfaceWidget” I realize that the updatePreviewText() slot is not defined there, what to do in this case?

le voici…

This source file is part of the Avogadro project.
This source code is released under the 3-Clause BSD License, (see “LICENSE”).

#include “interfacewidget.h”

#include <avogadro/qtgui/filebrowsewidget.h>
#include <avogadro/qtgui/molecule.h>

#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QFileDialog>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QMessageBox>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTextBrowser>
#include <QtWidgets/QTextEdit>

#include <QtCore/QDebug>
#include <QtCore/QJsonArray>
#include <QtCore/QJsonDocument>
#include <QtCore/QPointer>
#include <QtCore/QSettings>
#include <QtCore/QTimer>

namespace Avogadro {
namespace QtGui {

InterfaceWidget::InterfaceWidget(const QString& scriptFilePath,
QWidget* parent_)
: JsonWidget(parent_), m_interfaceScript(QString())

InterfaceWidget::~InterfaceWidget() {}

void InterfaceWidget::setInterfaceScript(const QString& scriptFile)
m_options = m_interfaceScript.options();

void InterfaceWidget::defaultsClicked()

void InterfaceWidget::setWarningText(const QString& warn)
qWarning() << tr(“Script returns warnings:\n”) << warn;

QString InterfaceWidget::warningText() const
return QString();

void InterfaceWidget::showError(const QString& err)
qWarning() << err;

QWidget* theParent =
this->isVisible() ? this : qobject_cast<QWidget*>(parent());
QDialog dlg(theParent);
QVBoxLayout* vbox = new QVBoxLayout();
QLabel* label = new QLabel(tr(“An error has occurred:”));
QTextBrowser* textBrowser = new QTextBrowser();

// adjust the size of the text browser to ~80 char wide, ~20 lines high
QSize theSize = textBrowser->sizeHint();
QFontMetrics metrics(textBrowser->currentFont());
int charWidth = metrics.width(QStringLiteral(“i7OPlmWn9/”)) / 10;
int charHeight = metrics.lineSpacing();
theSize.setWidth(80 * charWidth);
theSize.setHeight(20 * charHeight);


QString InterfaceWidget::settingsKey(const QString& identifier) const
return QStringLiteral(“scriptPlugin/%1/%2”)
.arg(m_interfaceScript.displayName(), identifier);

} // namespace QtGui
} // namespace Avogadro

It’s not actually an error - it’s a debugging warning but there’s no problem.

You mention a crash? What crashed?

Or is the problem that you’re worried about the “no such slot” messages?

thank you very much for the celerity
in the reply…
Indeed, as soon as I select “connect wheel”, the message is displayed and avogadro stops.
when i restart, it is the same scenario, after selecting “connect wheel”, avogadro2 stops…

I would like to point out that I am on an ubuntu 18.04 distribution

What version of Avogadro are you using?

Can you test a recent AppImage build? These are compiled on Ubuntu 18.04:

this informations about version…

after bulding a new AppImage, i have a same issue, but this time with an error…

and the nwe version informations are: