Closed GoogleCodeExporter closed 9 years ago
проблема возможно из-за конфликта версий Qt,
откатиться до 4.7.2 есть возможность?
Original comment by tim.hell...@gmail.com
on 14 Jun 2012 at 7:37
Original comment by tim.hell...@gmail.com
on 14 Jun 2012 at 7:37
собрал под 4.7.4 тоже самое
Original comment by sergey.s...@gmail.com
on 17 Jun 2012 at 3:23
Attachments:
Ну в логах только два 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
сделал
$ sudo apt-get -y remove --purge qt-at-spi
потом logout - не помогло
Original comment by sergey.s...@gmail.com
on 18 Jun 2012 at 1:00
Под виртуалкой в Ubuntu 11.10 работает, давайте
на strace посмотрим.
strace -olightpack.strace lightpack
Original comment by tim.hell...@gmail.com
on 18 Jun 2012 at 9:31
и ещё нужно в ~/Lightpack/LightpackMain.conf прописать:
debuglevel = 3
Original comment by tim.hell...@gmail.com
on 19 Jun 2012 at 4:33
$ 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
приложите ещё и lighpack.strace плз.
Original comment by tim.hell...@gmail.com
on 28 Jun 2012 at 2:54
простите :)
Original comment by sergey.s...@gmail.com
on 30 Jun 2012 at 12:26
Attachments:
какие-то проблемы с shm, надо смотреть, а пока
попробуйте прописать захват Qt в
~/Lightpack/Profiles/Lightpack.ini:
[Grab]
Grabber=Qt
Original comment by tim.hell...@gmail.com
on 30 Jun 2012 at 8:30
Спасибо огромное, так работает!
Original comment by sergey.s...@gmail.com
on 2 Jul 2012 at 3:08
Original comment by tim.hell...@gmail.com
on 8 Dec 2012 at 8:49
Original issue reported on code.google.com by
sergey.s...@gmail.com
on 14 Jun 2012 at 2:31