TelldusCenter 2.1.2 on Arch Linux - issues with GUI

Moderator: Telldus

Post Reply
guzzard
Posts: 9
Joined: Thu Jan 18, 2018 11:08 am

TelldusCenter 2.1.2 on Arch Linux - issues with GUI

Post by guzzard » Thu Jan 18, 2018 11:08 am

Hi,

I have searched high and low, but am not able to find the solution to this.. hope someone can help me or point me in the right direction.

I have successfully built telldus-core and telldus-gui from source, but the TelldusCenter GUI is missing the "devices" button, and "telldus live" in the configuration dialog. See attached images.

There warning/error messages are visible in the terminal output when running TelldusCenter:

Code: Select all

~]$ TelldusCenter 
QLayout: Attempting to add QLayout "" to ConfigurationDialog "", which already has a layout
"Error in com.telldus.gui:15:" "TypeError: incompatible type of argument(s) in call to addWidget(); candidates were
    addWidget(QString,QIcon,QWidget*)
    addWidget(QString,QString,QWidget*)" 
static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower.
These two messages appeared when building telldus-gui, don't know if they might be causing the issue?

Code: Select all

/tmp/telldus-gui-2.1.2/3rdparty/qt-components-desktop/src/qdeclarativelayoutengine_p.h:0: Note: No relevant classes found. No output generated.
/tmp/telldus-gui-2.1.2/3rdparty/qt-components-desktop/src/qrangemodel_p.h:0: Note: No relevant classes found. No output generated.
Full "make" and "make install" output here:
make: http://pastebin.com/tnzW3dT5
make install: http://pastebin.com/tnErFrig

telldus-core is installed, and service is running:

Code: Select all

]$ sudo systemctl status telldus.service
[sudo] password for abc: 
● telldus.service - Telldus-core service telldusd
   Loaded: loaded (/etc/systemd/system/telldus.service; enabled)
   Active: active (running) since tis 2014-07-01 13:30:41 CEST; 56min ago
  Process: 15352 ExecStop=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
  Process: 22634 ExecStart=/usr/sbin/telldusd (code=exited, status=0/SUCCESS)
 Main PID: 22635 (telldusd)
   CGroup: /system.slice/telldus.service
           └─22635 /usr/sbin/telldusd

jul 01 13:30:41 hname telldusd[22635]: telldusd daemon starting up
jul 01 13:30:41 hname systemd[1]: Started Telldus-core service telldusd.
jul 01 13:30:41 hname telldusd[22635]: Connecting to TellStick (1781/C31) with serial ********
jul 01 13:34:34 hname telldusd[22635]: Execute a TellStick Action for device 1
jul 01 13:34:38 hname telldusd[22635]: Execute a TellStick Action for device 1
jul 01 13:34:41 hname telldusd[22635]: Execute a TellStick Action for device 1
I can turn on/off devices just fine through the terminal:

Code: Select all

]$ tdtool --on 1
Turning on device 1, Lamp - Success
]$ tdtool --off 1
Turning off device 1, Lamp - Success
]$
Attachments
tellduscenter_config.jpg
tellduscenter_config.jpg (18.57 KiB) Viewed 4603 times
tellduscenter_main.jpg
tellduscenter_main.jpg (23.99 KiB) Viewed 4603 times

guzzard
Posts: 9
Joined: Thu Jan 18, 2018 11:08 am

Re: TelldusCenter 2.1.2 on Arch Linux - issues with GUI

Post by guzzard » Thu Jan 18, 2018 11:08 am

When compiling and running through QtCreator, the "devices" button and list show up.. "telldus live" still missing in the configurations window.
tellduscenter_main_qtcreator.jpg
tellduscenter_main_qtcreator.jpg (12.03 KiB) Viewed 4589 times
Output from QtCreator:

Code: Select all

QLayout: Attempting to add QLayout "" to ConfigurationDialog "", which already has a layout
static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower. 

guzzard
Posts: 9
Joined: Thu Jan 18, 2018 11:08 am

Re: TelldusCenter 2.1.2 on Arch Linux - issues with GUI

Post by guzzard » Thu Jan 18, 2018 11:08 am

"Solved" it by using the compiled deb-packages intended for Debian/Ubuntu. Copied all the files into the correct folders, and modified the confs, and udev rules slightly.

I think the lack of feedback from Telldus, the poorly documented build process, and the mostly non-existing comments/descriptions in the source code is very dissapointing.. :cry:

Anyway, now the UI looks and works as expected:
tellduscenter_main_deb.jpg
tellduscenter_main_deb.jpg (24.99 KiB) Viewed 4535 times
tellduscenter_config_deb.jpg
tellduscenter_config_deb.jpg (8.48 KiB) Viewed 4535 times

Post Reply