microtrigger / lightpack

Automatically exported from code.google.com/p/lightpack
GNU General Public License v3.0
1 stars 0 forks source link

lightpack don't start #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. lightpack don't start
2.
3.

What is the expected output? What do you see instead?

synthetix@synthetix:~/Downloads$ lightpack 
/media/Storage/Downloads/LightpackMain.conf
Unportable version
Application directory: /home/synthetix/.Lightpack
LightpackApplication::LightpackApplication(int&, char**) 
Rename log: "/home/synthetix/.Lightpack/Logs/Lightpack.3.log" to 
"/home/synthetix/.Lightpack/Logs/Lightpack.4.log" 
Rename log: "/home/synthetix/.Lightpack/Logs/Lightpack.2.log" to 
"/home/synthetix/.Lightpack/Logs/Lightpack.3.log" 
Rename log: "/home/synthetix/.Lightpack/Logs/Lightpack.1.log" to 
"/home/synthetix/.Lightpack/Logs/Lightpack.2.log" 
Rename log: "/home/synthetix/.Lightpack/Logs/Lightpack.0.log" to 
"/home/synthetix/.Lightpack/Logs/Lightpack.1.log" 
Logs file: "/home/synthetix/.Lightpack/Logs/Lightpack.0.log" 
22:29:37:155 Debug: Lightpack: 5.8.6-1 rev. 171a5fa28fe0 
22:29:37:155 Debug: Build with Qt verison: 4.7.2 
22:29:37:155 Debug: Qt version currently in use: 4.7.4 
22:29:37:155 Debug: static void SettingsScope::Settings::Initialize(const 
QString&, bool) 
22:29:37:156 Debug: static void SettingsScope::Settings::Initialize(const 
QString&, bool) debugLevel = 1 
22:29:37:156 Debug: Settings file: 
"/home/synthetix/.Lightpack/Profiles/Lightpack.ini" 
22:29:37:156 Debug: static void SettingsScope::Settings::initDevicesMap() 
22:29:37:156 Debug: static void 
SettingsScope::Settings::initCurrentProfile(bool) false 
22:29:37:169 Warning: "sni-qt/28810" WARN  22:29:37.169 void 
StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE 
22:29:37:169 Debug: SettingsWindow::SettingsWindow(QWidget*) thread id:  
3077629712 
22:29:37:206 Debug: void SettingsWindow::createActions() 
22:29:37:207 Debug: void SettingsWindow::createTrayIcon() 
22:29:37:209 Debug: GrabManager::GrabManager(QWidget*) 
22:29:37:209 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:29:37:209 Debug: void GrabManager::initColorLists(int) 10 
22:29:37:210 Debug: void GrabManager::initLedWidgets(int) 10 
22:29:37:210 Debug: void GrabManager::initLedWidgets(int) First widget 
initialization 
22:29:37:210 Debug: GrabWidget::GrabWidget(int, QWidget*) 0 
22:29:37:211 Debug: void GrabWidget::settingsProfileChanged() 0 
22:29:37:225 Debug: void GrabManager::initLedWidgets(int) Append 9 grab widgets 
22:29:37:225 Debug: GrabWidget::GrabWidget(int, QWidget*) 1 
22:29:37:227 Debug: void GrabWidget::settingsProfileChanged() 1 
22:29:37:227 Debug: GrabWidget::GrabWidget(int, QWidget*) 2 
22:29:37:228 Debug: void GrabWidget::settingsProfileChanged() 2 
22:29:37:229 Debug: GrabWidget::GrabWidget(int, QWidget*) 3 
22:29:37:230 Debug: void GrabWidget::settingsProfileChanged() 3 
22:29:37:230 Debug: GrabWidget::GrabWidget(int, QWidget*) 4 
22:29:37:231 Debug: void GrabWidget::settingsProfileChanged() 4 
22:29:37:232 Debug: GrabWidget::GrabWidget(int, QWidget*) 5 
22:29:37:233 Debug: void GrabWidget::settingsProfileChanged() 5 
22:29:37:233 Debug: GrabWidget::GrabWidget(int, QWidget*) 6 
22:29:37:234 Debug: void GrabWidget::settingsProfileChanged() 6 
22:29:37:234 Debug: GrabWidget::GrabWidget(int, QWidget*) 7 
22:29:37:235 Debug: void GrabWidget::settingsProfileChanged() 7 
22:29:37:236 Debug: GrabWidget::GrabWidget(int, QWidget*) 8 
22:29:37:237 Debug: void GrabWidget::settingsProfileChanged() 8 
22:29:37:237 Debug: GrabWidget::GrabWidget(int, QWidget*) 9 
22:29:37:238 Debug: void GrabWidget::settingsProfileChanged() 9 
22:29:37:238 Debug: void GrabManager::firstWidgetPositionChanged() 
22:29:37:238 Debug: GrabManager::GrabManager(QWidget*) initialized 
22:29:37:238 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:29:37:238 Debug: static int SettingsScope::Settings::getMoodLampSpeed() 
22:29:37:238 Debug: static QColor SettingsScope::Settings::getMoodLampColor() 
22:29:37:238 Debug: AboutDialog::AboutDialog(QWidget*) 
22:29:37:241 Debug: void AboutDialog::versionsUpdate() 
22:29:37:258 Debug: static QStringList 
SettingsScope::Settings::findAllProfiles() 
22:29:37:258 Debug: void SettingsWindow::profilesLoadAll() found profiles: 
("Lightpack") 
22:29:37:259 Debug: void SettingsWindow::initLanguages() 
22:29:37:259 Debug: void SettingsWindow::initVirtualLeds() 10 
22:29:37:259 Debug: void SettingsWindow::initConnectedDeviceComboBox() 
22:29:37:259 Debug: void SettingsWindow::initSerialPortBaudRateComboBox() 
22:29:37:260 Debug: widget constructor 
22:29:37:260 Debug: q_prt  QKeySequenceWidget(0x92cbb70) 
22:29:37:260 Debug: update view  
22:29:37:261 Debug: void SettingsWindow::connectSignalsSlots() 
22:29:37:261 Debug: void SettingsWindow::profileLoadLast() 
22:29:37:261 Debug: void SettingsWindow::updateUiFromSettings() 
22:29:37:261 Debug: static Lightpack::Mode 
SettingsScope::Settings::getLightpackMode() 
22:29:37:262 Debug: void SettingsWindow::onPingDeviceEverySecond_Toggled(bool) 
true 
22:29:37:262 Debug: static int SettingsScope::Settings::getGrabSlowdown() 
22:29:37:262 Debug: void SettingsWindow::onGrabSlowdown_valueChanged(int) 50 
22:29:37:262 Debug: static void SettingsScope::Settings::setGrabSlowdown(int) 
22:29:37:262 Debug: static int SettingsScope::Settings::getGrabSlowdown() 
22:29:37:262 Debug: void GrabManager::setSlowdownTime(int) 50 
22:29:37:262 Debug: void 
SettingsWindow::onGrabMinLevelOfSensivity_valueChanged(int) 3 
22:29:37:262 Debug: void GrabManager::setMinLevelOfSensivity(int) 3 
22:29:37:262 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:29:37:262 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:29:37:262 Debug: void SettingsWindow::onMoodLampLiquidMode_Toggled(bool) 
true 
22:29:37:263 Debug: static void 
SettingsScope::Settings::setMoodLampLiquidMode(bool) 
22:29:37:263 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:29:37:263 Debug: void MoodLampManager::setLiquidMode(bool) true 
22:29:37:263 Debug: static QColor SettingsScope::Settings::getMoodLampColor() 
22:29:37:263 Debug: static int SettingsScope::Settings::getMoodLampSpeed() 
22:29:37:263 Debug: void SettingsWindow::onMoodLampSpeed_valueChanged(int) 100 
22:29:37:263 Debug: static void SettingsScope::Settings::setMoodLampSpeed(int) 
22:29:37:263 Debug: static int SettingsScope::Settings::getMoodLampSpeed() 
22:29:37:263 Debug: void MoodLampManager::setLiquidModeSpeed(int) 100 
22:29:37:264 Debug: void SettingsWindow::onDeviceRefreshDelay_valueChanged(int) 
100 
22:29:37:264 Debug: void SettingsWindow::onDeviceColorDepth_valueChanged(int) 
128 
22:29:37:264 Debug: void SettingsWindow::onLoggingLevel_valueChanged(int) 1 
22:29:37:264 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:29:37:264 Debug: void SettingsWindow::onGrabberChanged() GrabberType: 2 
22:29:37:264 Debug: static void 
SettingsScope::Settings::setGrabberType(Grab::GrabberType) 2 
22:29:37:264 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:29:37:265 Debug: void GrabManager::setGrabber(Grab::GrabberType) 2 
22:29:37:265 Debug: void GrabManager::firstWidgetPositionChanged() 
22:29:37:265 Debug: void SettingsWindow::onGrabberChanged() GrabberType: 2 
22:29:37:265 Debug: static void 
SettingsScope::Settings::setGrabberType(Grab::GrabberType) 2 
22:29:37:265 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:29:37:265 Debug: void GrabManager::setGrabber(Grab::GrabberType) 2 
22:29:37:265 Debug: void GrabManager::firstWidgetPositionChanged() 
22:29:37:265 Debug: void SettingsWindow::onLightpackModes_Activated(int) 0 
22:29:37:265 Debug: static void 
SettingsScope::Settings::setLightpackMode(Lightpack::Mode) 0 
22:29:37:266 Debug: void GrabManager::start(bool) false 
22:29:37:267 Debug: void GrabManager::setVisibleLedWidgets(bool) false 
22:29:37:267 Debug: void MoodLampManager::start(bool) false 
22:29:37:267 Debug: static Lightpack::Mode 
SettingsScope::Settings::getLightpackMode() 
22:29:37:267 Debug: void SettingsWindow::onMoodLampLiquidMode_Toggled(bool) 
true 
22:29:37:267 Debug: static void 
SettingsScope::Settings::setMoodLampLiquidMode(bool) 
22:29:37:267 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:29:37:267 Debug: void MoodLampManager::setLiquidMode(bool) true 
22:29:37:267 Debug: void SettingsWindow::updateDeviceTabWidgetsVisibility() 
22:29:37:267 Debug: void 
SettingsWindow::setDeviceTabWidgetsVisibility(DeviceTab::Options) 63 
22:29:37:268 Debug: MaximumNumberOfLeds::Devices 
SettingsWindow::getLightpackMaximumNumberOfLeds() 
22:29:37:268 Debug: void 
SettingsWindow::setMaximumNumberOfLeds(MaximumNumberOfLeds::Devices) 10 
22:29:37:268 Debug: void SettingsWindow::onGrabberChanged() GrabberType: 2 
22:29:37:268 Debug: static void 
SettingsScope::Settings::setGrabberType(Grab::GrabberType) 2 
22:29:37:268 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:29:37:268 Debug: void GrabManager::setGrabber(Grab::GrabberType) 2 
22:29:37:268 Debug: void GrabManager::firstWidgetPositionChanged() 
22:29:37:268 Debug: void GrabManager::settingsProfileChanged() 
22:29:37:268 Debug: static int SettingsScope::Settings::getGrabSlowdown() 
22:29:37:268 Debug: void GrabWidget::settingsProfileChanged() 0 
22:29:37:268 Debug: void GrabManager::firstWidgetPositionChanged() 
22:29:37:268 Debug: void GrabWidget::settingsProfileChanged() 1 
22:29:37:268 Debug: void GrabWidget::settingsProfileChanged() 2 
22:29:37:268 Debug: void GrabWidget::settingsProfileChanged() 3 
22:29:37:269 Debug: void GrabWidget::settingsProfileChanged() 4 
22:29:37:269 Debug: void GrabWidget::settingsProfileChanged() 5 
22:29:37:269 Debug: void GrabWidget::settingsProfileChanged() 6 
22:29:37:269 Debug: void GrabWidget::settingsProfileChanged() 7 
22:29:37:269 Debug: void GrabWidget::settingsProfileChanged() 8 
22:29:37:269 Debug: void GrabWidget::settingsProfileChanged() 9 
22:29:37:269 Debug: void MoodLampManager::settingsProfileChanged() 
22:29:37:269 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:29:37:269 Debug: static int SettingsScope::Settings::getMoodLampSpeed() 
22:29:37:269 Debug: static QColor SettingsScope::Settings::getMoodLampColor() 
22:29:37:269 Debug: void MoodLampManager::initColors(int) 10 
22:29:37:269 Debug: void SettingsWindow::settingsProfileChanged_UpdateUI() 
22:29:37:269 Debug: void SettingsWindow::profileTraySync() 
22:29:37:270 Debug: void SettingsWindow::loadTranslation(const QString&) 
"<System>" 
22:29:37:270 Debug: System locale "en_US" 
22:29:37:270 Warning: Fail load translation for locale "en_US" pathToLocale 
":/translations/en_US" 
22:29:37:270 Debug: static Lightpack::Mode 
SettingsScope::Settings::getLightpackMode() 
22:29:37:270 Debug: void SettingsWindow::onGrabberChanged() GrabberType: 2 
22:29:37:270 Debug: static void 
SettingsScope::Settings::setGrabberType(Grab::GrabberType) 2 
22:29:37:270 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:29:37:270 Debug: void GrabManager::setGrabber(Grab::GrabberType) 2 
22:29:37:270 Debug: void GrabManager::firstWidgetPositionChanged() 
22:29:37:276 Debug: SettingsWindow::SettingsWindow(QWidget*) initialized 
22:29:37:276 Debug: void LedDeviceFactory::initLedDevice() 
22:29:37:276 Debug: ILedDevice* 
LedDeviceFactory::createLedDevice(SupportedDevices::DeviceType) 
SupportedDevices::LightpackDevice 
22:29:37:276 Debug: LedDeviceLightpack::LedDeviceLightpack(QObject*) 
22:29:37:276 Debug: LedDeviceLightpack::LedDeviceLightpack(QObject*) thread id: 
 3077629712 
22:29:37:276 Debug: LedDeviceLightpack::LedDeviceLightpack(QObject*) 
initialized 
22:29:37:277 Debug: void LightpackApplication::startApiServer() Start API 
server 
22:29:37:277 Debug: virtual void LedDeviceLightpack::open() "hid_open(0x03eb, 
0x204f)" 
22:29:37:278 Debug: void ApiServer::startListening() 3636 
22:29:37:278 Debug: void SettingsWindow::startBacklight() m_backlightStatus = 
-1 m_deviceLockStatus = 0 
22:29:37:278 Debug: void GrabManager::start(bool) true 
22:29:37:278 Debug: void MoodLampManager::start(bool) false 
22:29:37:278 Debug: int main(int, char**) thread id:  3077629712 
22:29:37:279 Debug: Start main event loop: lightpackApp.exec(); 
Segmentation fault

What version of the product are you using? On what operating system?

Ubuntu 11.10
uname -a
Linux synthetix 3.0.0-20-generic #34-Ubuntu SMP Tue May 1 17:28:21 UTC 2012 
i686 i686 i386 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by sergey.s...@gmail.com on 14 Jun 2012 at 2:31

GoogleCodeExporter commented 9 years ago
проблема возможно из-за конфликта версий Qt, 
откатиться до 4.7.2 есть возможность?

Original comment by tim.hell...@gmail.com on 14 Jun 2012 at 7:37

GoogleCodeExporter commented 9 years ago

Original comment by tim.hell...@gmail.com on 14 Jun 2012 at 7:37

GoogleCodeExporter commented 9 years ago
собрал под 4.7.4 тоже самое

Original comment by sergey.s...@gmail.com on 17 Jun 2012 at 3:23

Attachments:

GoogleCodeExporter commented 9 years ago
Ну в логах только два warning'а, 2й вроде не 
критичный, а первый должен лечиться так
http://blog.koppi.me/2012/01/howto-fix-sni-qt19799-warn-024248-774-void-statusno
tifieritemfactoryconnecttosnw-invalid-interface-to-snw_service-error-message-on-
ubuntu-11-10/. Попробуйте это, пока мы готовим 
среду для тестирования.

Original comment by tim.hell...@gmail.com on 17 Jun 2012 at 7:05

GoogleCodeExporter commented 9 years ago
сделал 
$ sudo apt-get -y remove --purge qt-at-spi
потом logout - не помогло

Original comment by sergey.s...@gmail.com on 18 Jun 2012 at 1:00

GoogleCodeExporter commented 9 years ago
Под виртуалкой в Ubuntu 11.10 работает, давайте 
на strace посмотрим.

strace -olightpack.strace lightpack

Original comment by tim.hell...@gmail.com on 18 Jun 2012 at 9:31

GoogleCodeExporter commented 9 years ago
и ещё нужно в ~/Lightpack/LightpackMain.conf прописать:
debuglevel = 3

Original comment by tim.hell...@gmail.com on 19 Jun 2012 at 4:33

GoogleCodeExporter commented 9 years ago
$ strace -olightpack.strace lightpack
Logs file:  "/home/synthetix/.Lightpack/Lightpack.log" 
22:28:00:045 Debug: Lightpack: 5.8.0 rev. 297287c57b0a 
22:28:00:045 Debug: Build with Qt verison: 4.7.4 
22:28:00:046 Debug: Qt version currently in use: 4.7.4 
22:28:00:046 Debug: static void SettingsScope::Settings::Initialize(const 
QString&, bool) 
22:28:00:048 Debug: static void SettingsScope::Settings::Initialize(const 
QString&, bool) debugLevel = 1 
22:28:00:050 Debug: Settings file: 
"/home/synthetix/.Lightpack/Profiles/Lightpack.ini" 
22:28:00:050 Debug: static void SettingsScope::Settings::initDevicesMap() 
22:28:00:051 Debug: static void 
SettingsScope::Settings::initCurrentProfile(bool) false 
22:28:00:068 Warning: "sni-qt/3779" WARN  22:28:00.068 void 
StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE 
22:28:00:071 Debug: SettingsWindow::SettingsWindow(QWidget*) thread id:  
3077745200 
22:28:00:284 Debug: void SettingsWindow::createActions() 
22:28:00:285 Debug: void SettingsWindow::createTrayIcon() 
22:28:00:293 Debug: GrabManager::GrabManager(QWidget*) 
22:28:00:293 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:28:00:296 Debug: void GrabManager::initColorLists(int) 10 
22:28:00:296 Debug: void GrabManager::initLedWidgets(int) 10 
22:28:00:297 Debug: void GrabManager::initLedWidgets(int) First widget 
initialization 
22:28:00:297 Debug: GrabWidget::GrabWidget(int, QWidget*) 0 
22:28:00:303 Debug: void GrabManager::initLedWidgets(int) Append 9 grab widgets 
22:28:00:303 Debug: GrabWidget::GrabWidget(int, QWidget*) 1 
22:28:00:304 Debug: GrabWidget::GrabWidget(int, QWidget*) 2 
22:28:00:305 Debug: GrabWidget::GrabWidget(int, QWidget*) 3 
22:28:00:305 Debug: GrabWidget::GrabWidget(int, QWidget*) 4 
22:28:00:306 Debug: GrabWidget::GrabWidget(int, QWidget*) 5 
22:28:00:307 Debug: GrabWidget::GrabWidget(int, QWidget*) 6 
22:28:00:308 Debug: GrabWidget::GrabWidget(int, QWidget*) 7 
22:28:00:308 Debug: GrabWidget::GrabWidget(int, QWidget*) 8 
22:28:00:309 Debug: GrabWidget::GrabWidget(int, QWidget*) 9 
22:28:00:310 Debug: void GrabManager::firstWidgetPositionChanged() 
22:28:00:310 Debug: GrabManager::GrabManager(QWidget*) initialized 
22:28:00:311 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:28:00:311 Debug: static int SettingsScope::Settings::getMoodLampSpeed() 
22:28:00:311 Debug: static QColor SettingsScope::Settings::getMoodLampColor() 
22:28:00:312 Debug: AboutDialog::AboutDialog(QWidget*) 
22:28:00:367 Debug: void AboutDialog::versionsUpdate() 
22:28:00:388 Debug: static QStringList 
SettingsScope::Settings::findAllProfiles() 
22:28:00:389 Debug: void SettingsWindow::profilesLoadAll() found profiles: 
("Lightpack") 
22:28:00:389 Debug: void SettingsWindow::initLanguages() 
22:28:00:390 Debug: void SettingsWindow::initVirtualLeds() 10 
22:28:00:390 Debug: void SettingsWindow::initConnectedDeviceComboBox() 
22:28:00:390 Debug: void SettingsWindow::initSerialPortBaudRateComboBox() 
22:28:00:391 Debug: void SettingsWindow::connectSignalsSlots() 
22:28:00:391 Debug: void SettingsWindow::profileLoadLast() 
22:28:00:391 Debug: void SettingsWindow::updateUiFromSettings() 
22:28:00:392 Debug: static Lightpack::Mode 
SettingsScope::Settings::getLightpackMode() 
22:28:00:392 Debug: void SettingsWindow::onPingDeviceEverySecond_Toggled(bool) 
true 
22:28:00:392 Debug: static int SettingsScope::Settings::getGrabSlowdown() 
22:28:00:392 Debug: void SettingsWindow::onGrabSlowdown_valueChanged(int) 50 
22:28:00:393 Debug: static void SettingsScope::Settings::setGrabSlowdown(int) 
22:28:00:393 Debug: static int SettingsScope::Settings::getGrabSlowdown() 
22:28:00:393 Debug: void GrabManager::setSlowdownTime(int) 50 
22:28:00:394 Debug: void 
SettingsWindow::onGrabMinLevelOfSensivity_valueChanged(int) 3 
22:28:00:394 Debug: void GrabManager::setMinLevelOfSensivity(int) 3 
22:28:00:394 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:28:00:394 Debug: static void 
SettingsScope::Settings::setMoodLampLiquidMode(bool) 
22:28:00:395 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:28:00:395 Debug: void MoodLampManager::setLiquidMode(bool) true 
22:28:00:395 Debug: static QColor SettingsScope::Settings::getMoodLampColor() 
22:28:00:395 Debug: static int SettingsScope::Settings::getMoodLampSpeed() 
22:28:00:396 Debug: void SettingsWindow::onMoodLampSpeed_valueChanged(int) 50 
22:28:00:396 Debug: static void SettingsScope::Settings::setMoodLampSpeed(int) 
22:28:00:396 Debug: static int SettingsScope::Settings::getMoodLampSpeed() 
22:28:00:397 Debug: void MoodLampManager::setLiquidModeSpeed(int) 50 
22:28:00:397 Debug: void SettingsWindow::onDeviceRefreshDelay_valueChanged(int) 
100 
22:28:00:397 Debug: void SettingsWindow::onDeviceColorDepth_valueChanged(int) 
128 
22:28:00:400 Debug: void SettingsWindow::onLoggingLevel_valueChanged(int) 1 
22:28:00:400 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:28:00:401 Debug: void SettingsWindow::onGrabberChanged() GrabberType: 2 
22:28:00:401 Debug: static void 
SettingsScope::Settings::setGrabberType(Grab::GrabberType) 2 
22:28:00:401 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:28:00:401 Debug: void GrabManager::setGrabber(Grab::GrabberType) 2 
22:28:00:405 Debug: void GrabManager::firstWidgetPositionChanged() 
22:28:00:405 Debug: void SettingsWindow::onGrabberChanged() GrabberType: 2 
22:28:00:405 Debug: static void 
SettingsScope::Settings::setGrabberType(Grab::GrabberType) 2 
22:28:00:405 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:28:00:406 Debug: void GrabManager::setGrabber(Grab::GrabberType) 2 
22:28:00:406 Debug: void GrabManager::firstWidgetPositionChanged() 
22:28:00:406 Debug: void SettingsWindow::onLightpackModes_Activated(int) 0 
22:28:00:406 Debug: static void 
SettingsScope::Settings::setLightpackMode(Lightpack::Mode) 0 
22:28:00:408 Debug: void GrabManager::start(bool) false 
22:28:00:408 Debug: void GrabManager::setVisibleLedWidgets(bool) false 
22:28:00:408 Debug: void MoodLampManager::start(bool) false 
22:28:00:409 Debug: static Lightpack::Mode 
SettingsScope::Settings::getLightpackMode() 
22:28:00:409 Debug: static void 
SettingsScope::Settings::setMoodLampLiquidMode(bool) 
22:28:00:409 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:28:00:410 Debug: void MoodLampManager::setLiquidMode(bool) true 
22:28:00:410 Debug: void SettingsWindow::updateDeviceTabWidgetsVisibility() 
22:28:00:411 Debug: void 
SettingsWindow::setDeviceTabWidgetsVisibility(DeviceTab::Options) 63 
22:28:00:411 Debug: MaximumNumberOfLeds::Devices 
SettingsWindow::getLightpackMaximumNumberOfLeds() 
22:28:00:411 Debug: void 
SettingsWindow::setMaximumNumberOfLeds(MaximumNumberOfLeds::Devices) 10 
22:28:00:412 Debug: void SettingsWindow::onGrabberChanged() GrabberType: 2 
22:28:00:412 Debug: static void 
SettingsScope::Settings::setGrabberType(Grab::GrabberType) 2 
22:28:00:412 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:28:00:413 Debug: void GrabManager::setGrabber(Grab::GrabberType) 2 
22:28:00:413 Debug: void GrabManager::firstWidgetPositionChanged() 
22:28:00:413 Debug: void GrabManager::settingsProfileChanged() 
22:28:00:413 Debug: static int SettingsScope::Settings::getGrabSlowdown() 
22:28:00:414 Debug: void GrabWidget::settingsProfileChanged() 0 
22:28:00:414 Debug: void GrabManager::firstWidgetPositionChanged() 
22:28:00:414 Debug: void GrabWidget::settingsProfileChanged() 1 
22:28:00:415 Debug: void GrabWidget::settingsProfileChanged() 2 
22:28:00:415 Debug: void GrabWidget::settingsProfileChanged() 3 
22:28:00:415 Debug: void GrabWidget::settingsProfileChanged() 4 
22:28:00:415 Debug: void GrabWidget::settingsProfileChanged() 5 
22:28:00:416 Debug: void GrabWidget::settingsProfileChanged() 6 
22:28:00:416 Debug: void GrabWidget::settingsProfileChanged() 7 
22:28:00:416 Debug: void GrabWidget::settingsProfileChanged() 8 
22:28:00:416 Debug: void GrabWidget::settingsProfileChanged() 9 
22:28:00:417 Debug: void MoodLampManager::settingsProfileChanged() 
22:28:00:417 Debug: static bool SettingsScope::Settings::isMoodLampLiquidMode() 
22:28:00:417 Debug: static int SettingsScope::Settings::getMoodLampSpeed() 
22:28:00:418 Debug: static QColor SettingsScope::Settings::getMoodLampColor() 
22:28:00:418 Debug: void MoodLampManager::initColors(int) 10 
22:28:00:418 Debug: void SettingsWindow::settingsProfileChanged_UpdateUI() 
22:28:00:418 Debug: void SettingsWindow::profileTraySync() 
22:28:00:419 Debug: void SettingsWindow::loadTranslation(const QString&) 
"<System>" 
22:28:00:419 Debug: System locale "en_US" 
22:28:00:420 Warning: Fail load translation for locale "en_US" pathToLocale 
":/translations/en_US" 
22:28:00:420 Debug: static Lightpack::Mode 
SettingsScope::Settings::getLightpackMode() 
22:28:00:420 Debug: void SettingsWindow::onGrabberChanged() GrabberType: 2 
22:28:00:421 Debug: static void 
SettingsScope::Settings::setGrabberType(Grab::GrabberType) 2 
22:28:00:421 Debug: static Grab::GrabberType 
SettingsScope::Settings::getGrabberType() 
22:28:00:421 Debug: void GrabManager::setGrabber(Grab::GrabberType) 2 
22:28:00:421 Debug: void GrabManager::firstWidgetPositionChanged() 
22:28:00:425 Debug: SettingsWindow::SettingsWindow(QWidget*) initialized 
22:28:00:426 Debug: void LedDeviceFactory::initLedDevice() 
22:28:00:426 Debug: ILedDevice* 
LedDeviceFactory::createLedDevice(SupportedDevices::DeviceType) 
SupportedDevices::LightpackDevice 
22:28:00:426 Debug: LedDeviceLightpack::LedDeviceLightpack(QObject*) 
22:28:00:426 Debug: LedDeviceLightpack::LedDeviceLightpack(QObject*) thread id: 
 3077745200 
22:28:00:427 Debug: LedDeviceLightpack::LedDeviceLightpack(QObject*) 
initialized 
22:28:00:427 Debug: virtual void LedDeviceLightpack::open() "hid_open(0x03eb, 
0x204f)" 
22:28:00:427 Debug: void LightpackApplication::startApiServer() Start API 
server 
22:28:00:430 Debug: void ApiServer::startListening() 3636 
22:28:00:432 Debug: void SettingsWindow::startBacklight() m_backlightStatus = 
-1 m_deviceLockStatus = 0 
22:28:00:432 Debug: void GrabManager::start(bool) true 
22:28:00:433 Debug: void MoodLampManager::start(bool) false 
22:28:00:433 Debug: int main(int, char**) thread id:  3077745200 
22:28:00:434 Debug: Start main event loop: lightpackApp.exec(); 
22:28:00:438 Debug: virtual void LedDeviceLightpack::open() Lightpack opened 
22:28:00:438 Debug: void LedDeviceLightpack::updateDeviceSettings() 
22:28:00:441 Debug: virtual void LedDeviceLightpack::setRefreshDelay(int) 100 
22:28:00:445 Debug: virtual void LedDeviceLightpack::setSmoothSlowdown(int) 100 
Segmentation fault

Original comment by sergey.s...@gmail.com on 27 Jun 2012 at 2:28

GoogleCodeExporter commented 9 years ago
приложите ещё и lighpack.strace плз.

Original comment by tim.hell...@gmail.com on 28 Jun 2012 at 2:54

GoogleCodeExporter commented 9 years ago
простите :)

Original comment by sergey.s...@gmail.com on 30 Jun 2012 at 12:26

Attachments:

GoogleCodeExporter commented 9 years ago
какие-то проблемы с shm, надо смотреть, а пока 
попробуйте прописать захват Qt в 
~/Lightpack/Profiles/Lightpack.ini:

[Grab]
Grabber=Qt

Original comment by tim.hell...@gmail.com on 30 Jun 2012 at 8:30

GoogleCodeExporter commented 9 years ago
Спасибо огромное, так работает!

Original comment by sergey.s...@gmail.com on 2 Jul 2012 at 3:08

GoogleCodeExporter commented 9 years ago

Original comment by tim.hell...@gmail.com on 8 Dec 2012 at 8:49