Summary: | Microblogging plasmoid does not show friends and new tweets | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Heimen Stoffels <vistausss> |
Component: | widget-microblogging | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | annma, aseigo, jr, juha.tiensyrja, kde, kde, mail, matthias.hueller, matthias.meyr, metellius, michael.a.welch, paul, thelwyn |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch toULong() --> toULongLong |
Description
Heimen Stoffels
2009-07-16 21:31:35 UTC
*** Bug 200757 has been marked as a duplicate of this bug. *** Note: the duplicate-marked bug contains a good crash report describing the problem But it doesn't crash here... They both seem to be related to the fix here: https://bugs.kde.org/show_bug.cgi?id=199286 Which was the last thing done to the microblog that seems related. I also figured out that posting a message to Twitter doesn't work anymore with this widget :( I type a message, then push Enter. Then I go to twitter.com and I see that my message isn't posted. I use KDE 4.3 RC 3 now and the problem is still the same. Is there any progress on this or does anyone know if it will be fixed before KDE 4.3 final? Same here. When I updated to 4.3 RC2 (from the PPAs on Kubuntu 9.04), the microblogging plasmoid disappeared. After I added it to my desktop and configured it again, it didn't load any tweets from the people I'm following on Twitter. Just to confirm that I'm seeing the same thing here on an AMD64 box with Kubuntu 9.04 and KDE 4.3 RC2 and RC3; it won't show people I'm following and it won't post tweets. I can also repeatably crash plasma with it by deselecting the "show friends" option in the configuration option and then saying "OK". The "about" box in "add new widgets" says to report bugs to Andre, so I'm going to email him a link to this bug in case he's not seen it. I would also add that a "configure" button will appear in the middle of the widget and no amount of configuring will make it go away. On a whim, I tried turning off "show friends" to see if the toggle was just backwards. This causes a repeatable crash. please report one issue per report, list relevant configuration options (e.g. twitter vs identi.ca) and post backtraces for crashes. a fix for "not posting updates" was committed and backported in the last 24 hours, though i don't know when that bug crept in exactly (would have to look through the commit logs) as for the rest of the issues here .. i don't know. but this report is becoming a bit of a scattered mess :) the problem is that, for whatever reason, the tweet.operations file that provides the service description is not available or does not exist on the installation. still, this shouldn't be crashing (will commit a fix in a moment for that) but even after the fix, these widgets still won't work for the people affected due to an installation problem. SVN commit 1005964 by aseigo: return a dummy group when we have no description set up; prevents crashes when the operations file is not available BUG:200475 M +17 -0 private/service_p.h M +7 -1 service.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1005964 SVN commit 1005967 by aseigo: return a dummy group when we have no description set up; prevents crashes when the operations file is not available CCBUG:200475 M +17 -0 private/service_p.h M +7 -1 service.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1005967 If I read #12 correctly, the fix mentioned in #13/#14 will not actually correct the problem described in problem description. For those of us who already have it installed, and are not experiencing any crashes, is there a workaround that we can perform to correct the problem caused by the broken installation process? Or possibly a fix? The description of the fix that is closing this problem, does not appear to match the problem description. Does it fix the "not getting tweets" problem too? it fixes the problem that gets triggered (the crashes others are seeing) and it does indeed work here from sources. but it seems that at least some of the reporters are missing this file: http://websvn.kde.org/*checkout*/trunk/KDE/kdeplasma-addons/dataengines/microblog/tweet.operations in $PREFIX/share/apps/plasma/services/, where $PREFIX is either the system install dir or you local .kde *** Bug 202580 has been marked as a duplicate of this bug. *** *** Bug 203091 has been marked as a duplicate of this bug. *** Sorry for the late response, but I wasn't at home for 1 week. When I try to install the latest revision of the Microblogging plasmoid, I get this error: heimen-at-kubuntu@heimen-at-compaq:~$ cd microblog heimen-at-kubuntu@heimen-at-compaq:~/microblog$ mkdir build heimen-at-kubuntu@heimen-at-compaq:~/microblog$ cd build heimen-at-kubuntu@heimen-at-compaq:~/microblog/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde-config --prefix` .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at CMakeLists.txt:6 (kde4_add_ui_files): Unknown CMake command "kde4_add_ui_files". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! heimen-at-kubuntu@heimen-at-compaq:~/microblog/build$ I used this command to checkout the plasmoid: heimen-at-kubuntu@heimen-at-compaq:~$ svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeplasma-addons/applets/microblog/ A microblog/Messages.sh A microblog/configuration.ui A microblog/microblog.h A microblog/plasma-applet-microblog.desktop A microblog/microblog.svgz A microblog/CMakeLists.txt A microblog/microblog.cpp U microblog Checked out revision 1008938. So therefore I cannot try if the latest rev works better :( What to do about it? I'm having the same issues still, and am also having issues compiling from svn. This link will fix the "kde4_add_ui_files" error. http://linux-tipps.blogspot.com/2008/08/unknown-cmake-command-kde4adduifiles.html Once I got past that, I ran make and had a whole other mess I haven't figured out: ~/microblog/build$ make Scanning dependencies of target plasma_applet_microblog_automoc Generating microblog.moc [ 0%] Built target plasma_applet_microblog_automoc [ 33%] Generating ui_configuration.h Scanning dependencies of target plasma_applet_microblog [ 66%] Building CXX object CMakeFiles/plasma_applet_microblog.dir/plasma_applet_microblog_automoc.o [100%] Building CXX object CMakeFiles/plasma_applet_microblog.dir/microblog.o In file included from /home/nos/microblog/microblog.cpp:21: /home/nos/microblog/microblog.h:24:16: error: QMap: No such file or directory /home/nos/microblog/microblog.h:26:21: error: KTimeZone: No such file or directory /home/nos/microblog/microblog.h:28:30: error: Plasma/PopupApplet: No such file or directory /home/nos/microblog/microblog.h:29:29: error: Plasma/DataEngine: No such file or directory /home/nos/microblog/microblog.h:31:30: error: ui_configuration.h: No such file or directory /home/nos/microblog/microblog.cpp:23:24: error: QApplication: No such file or directory /home/nos/microblog/microblog.cpp:24:23: error: QGridLayout: No such file or directory /home/nos/microblog/microblog.cpp:25:23: error: QPushButton: No such file or directory /home/nos/microblog/microblog.cpp:26:21: error: QCheckBox: No such file or directory /home/nos/microblog/microblog.cpp:27:24: error: QFontMetrics: No such file or directory /home/nos/microblog/microblog.cpp:28:25: error: QGraphicsView: No such file or directory /home/nos/microblog/microblog.cpp:29:33: error: QGraphicsLinearLayout: No such file or directory /home/nos/microblog/microblog.cpp:30:31: error: QGraphicsGridLayout: No such file or directory /home/nos/microblog/microblog.cpp:31:32: error: QGraphicsProxyWidget: No such file or directory /home/nos/microblog/microblog.cpp:32:19: error: QAction: No such file or directory /home/nos/microblog/microblog.cpp:33:18: error: QLabel: No such file or directory /home/nos/microblog/microblog.cpp:35:24: error: KColorScheme: No such file or directory /home/nos/microblog/microblog.cpp:36:25: error: KConfigDialog: No such file or directory /home/nos/microblog/microblog.cpp:37:21: error: KDateTime: No such file or directory /home/nos/microblog/microblog.cpp:38:18: error: KDebug: No such file or directory /home/nos/microblog/microblog.cpp:39:17: error: KIcon: No such file or directory /home/nos/microblog/microblog.cpp:40:21: error: KLineEdit: No such file or directory /home/nos/microblog/microblog.cpp:41:23: error: KMessageBox: No such file or directory /home/nos/microblog/microblog.cpp:42:16: error: KRun: No such file or directory /home/nos/microblog/microblog.cpp:43:25: error: KSharedConfig: No such file or directory /home/nos/microblog/microblog.cpp:44:26: error: KStringHandler: No such file or directory /home/nos/microblog/microblog.cpp:45:21: error: KTextEdit: No such file or directory /home/nos/microblog/microblog.cpp:46:24: error: KTextBrowser: No such file or directory /home/nos/microblog/microblog.cpp:47:26: error: KWallet/Wallet: No such file or directory /home/nos/microblog/microblog.cpp:49:22: error: Plasma/Svg: No such file or directory /home/nos/microblog/microblog.cpp:50:24: error: Plasma/Theme: No such file or directory /home/nos/microblog/microblog.cpp:52:26: error: Plasma/Service: No such file or directory /home/nos/microblog/microblog.cpp:53:32: error: Plasma/FlashingLabel: No such file or directory /home/nos/microblog/microblog.cpp:54:29: error: Plasma/IconWidget: No such file or directory /home/nos/microblog/microblog.cpp:55:28: error: Plasma/SvgWidget: No such file or directory /home/nos/microblog/microblog.cpp:56:30: error: Plasma/TextBrowser: No such file or directory /home/nos/microblog/microblog.cpp:57:31: error: Plasma/ScrollWidget: No such file or directory /home/nos/microblog/microblog.cpp:58:27: error: Plasma/TextEdit: No such file or directory /home/nos/microblog/microblog.cpp:59:24: error: Plasma/Frame: No such file or directory /home/nos/microblog/microblog.cpp:60:29: error: Plasma/ServiceJob: No such file or directory /home/nos/microblog/microblog.cpp:899:25: error: microblog.moc: No such file or directory In file included from /home/nos/microblog/microblog.cpp:21: /home/nos/microblog/microblog.h:67: error: expected class-name before ‘{’ token /home/nos/microblog/microblog.h:68: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type /home/nos/microblog/microblog.h:69: error: expected ‘;’ before ‘public’ /home/nos/microblog/microblog.h:73: error: ‘Plasma::Constraints’ has not been declared /home/nos/microblog/microblog.h:74: error: ISO C++ forbids declaration of ‘QGraphicsWidget’ with no type /home/nos/microblog/microblog.h:74: error: expected ‘;’ before ‘*’ token /home/nos/microblog/microblog.h:77: error: expected `:' before ‘slots’ /home/nos/microblog/microblog.h:78: error: expected primary-expression before ‘void’ /home/nos/microblog/microblog.h:78: error: ISO C++ forbids declaration of ‘slots’ with no type /home/nos/microblog/microblog.h:78: error: expected ‘;’ before ‘void’ /home/nos/microblog/microblog.h:79: error: ‘KConfigDialog’ has not been declared /home/nos/microblog/microblog.h:91: error: expected `:' before ‘slots’ /home/nos/microblog/microblog.h:92: error: expected primary-expression before ‘void’ /home/nos/microblog/microblog.h:92: error: ISO C++ forbids declaration of ‘slots’ with no type /home/nos/microblog/microblog.h:92: error: expected ‘;’ before ‘void’ /home/nos/microblog/microblog.h:105: error: ‘QString’ does not name a type /home/nos/microblog/microblog.h:106: error: ‘QObject’ has not been declared /home/nos/microblog/microblog.h:106: error: ‘QEvent’ has not been declared /home/nos/microblog/microblog.h:108: error: ‘QFocusEvent’ has not been declared /home/nos/microblog/microblog.h:118: error: expected ‘,’ or ‘...’ before ‘&’ token /home/nos/microblog/microblog.h:118: error: ISO C++ forbids declaration of ‘QString’ with no type /home/nos/microblog/microblog.h:144: error: ISO C++ forbids declaration of ‘QGraphicsWidget’ with no type /home/nos/microblog/microblog.h:144: error: expected ‘;’ before ‘*’ token /home/nos/microblog/microblog.h:148: error: ISO C++ forbids declaration of ‘QGraphicsWidget’ with no type /home/nos/microblog/microblog.h:148: error: expected ‘;’ before ‘*’ token /home/nos/microblog/microblog.h:149: error: ‘QPixmap’ does not name a type /home/nos/microblog/microblog.h:151: error: ‘QString’ does not name a type /home/nos/microblog/microblog.h:152: error: ‘QString’ does not name a type /home/nos/microblog/microblog.h:153: error: ‘QString’ does not name a type /home/nos/microblog/microblog.h:154: error: ‘QString’ does not name a type /home/nos/microblog/microblog.h:161: error: ISO C++ forbids declaration of ‘DataEngine’ with no type /home/nos/microblog/microblog.h:161: error: invalid use of ‘::’ /home/nos/microblog/microblog.h:161: error: expected ‘;’ before ‘*’ token /home/nos/microblog/microblog.h:162: error: ISO C++ forbids declaration of ‘Service’ with no type /home/nos/microblog/microblog.h:162: error: invalid use of ‘::’ /home/nos/microblog/microblog.h:162: error: expected ‘;’ before ‘*’ token /home/nos/microblog/microblog.h:163: error: ISO C++ forbids declaration of ‘Service’ with no type /home/nos/microblog/microblog.h:163: error: invalid use of ‘::’ /home/nos/microblog/microblog.h:163: error: expected ‘;’ before ‘*’ token /home/nos/microblog/microblog.h:164: error: ISO C++ forbids declaration of ‘QSet’ with no type /home/nos/microblog/microblog.h:164: error: expected ‘;’ before ‘<’ token /home/nos/microblog/microblog.h:165: error: ‘QString’ does not name a type /home/nos/microblog/microblog.h:167: error: ISO C++ forbids declaration of ‘QMap’ with no type /home/nos/microblog/microblog.h:167: error: expected ‘;’ before ‘<’ token /home/nos/microblog/microblog.h:168: error: ISO C++ forbids declaration of ‘QMap’ with no type /home/nos/microblog/microblog.h:168: error: expected ‘;’ before ‘<’ token /home/nos/microblog/microblog.h:169: error: ISO C++ forbids declaration of ‘QList’ with no type /home/nos/microblog/microblog.h:169: error: expected ‘;’ before ‘<’ token /home/nos/microblog/microblog.h:171: error: ‘uint’ does not name a type /home/nos/microblog/microblog.h:177: error: ‘Ui’ has not been declared /home/nos/microblog/microblog.h:177: error: ISO C++ forbids declaration of ‘TwitterConfig’ with no type /home/nos/microblog/microblog.h:177: error: expected ‘;’ before ‘configUi’ /home/nos/microblog/microblog.h:179: error: ‘KTimeZone’ does not name a type /home/nos/microblog/microblog.h:180: error: ISO C++ forbids declaration of ‘QTimer’ with no type /home/nos/microblog/microblog.h:180: error: expected ‘;’ before ‘*’ token /home/nos/microblog/microblog.h:183: error: expected constructor, destructor, or type conversion before ‘(’ token /home/nos/microblog/microblog.cpp: In member function ‘void MicroBlog::init()’: /home/nos/microblog/microblog.cpp:85: error: invalid use of incomplete type ‘struct Plasma::FlashingLabel’ /home/nos/microblog/microblog.h:49: error: forward declaration of ‘struct Plasma::FlashingLabel’ /home/nos/microblog/microblog.cpp:86: error: invalid use of incomplete type ‘struct Plasma::Svg’ /home/nos/microblog/microblog.h:48: error: forward declaration of ‘struct Plasma::Svg’ /home/nos/microblog/microblog.cpp:87: error: invalid use of incomplete type ‘struct Plasma::Svg’ /home/nos/microblog/microblog.h:48: error: forward declaration of ‘struct Plasma::Svg’ /home/nos/microblog/microblog.cpp:88: error: invalid use of incomplete type ‘struct Plasma::Svg’ /home/nos/microblog/microblog.h:48: error: forward declaration of ‘struct Plasma::Svg’ /home/nos/microblog/microblog.cpp: At global scope: /home/nos/microblog/microblog.cpp:91: error: variable or field ‘constraintsEvent’ declared void /home/nos/microblog/microblog.cpp:91: error: ‘Constraints’ is not a member of ‘Plasma’ make[2]: *** [CMakeFiles/plasma_applet_microblog.dir/microblog.o] Error 1 make[1]: *** [CMakeFiles/plasma_applet_microblog.dir/all] Error 2 make: *** [all] Error 2 Thanks for that link, very handy :) After adding "find_package" etc. to CMakeLists.txt, when trying to compile the widget again, I get the same output with "make" as you Mike. bugs.kde.org is not the right place to report compilation problems. Please use either IRC or the relevant mailing-list. That's true, but how do I know if this bug is fixed if I cannot even compile it? *** Bug 203147 has been marked as a duplicate of this bug. *** Just trying to help! Ok, I discovered something. On Kubuntu this plasmoid is still broken. But on my openSUSE 11.1 PC, I have KDE 4.3.62 and there is also this plasmoid. There the plasmoid does work, only posting updates does not work and every update is marked as "2 hours ago". So it's somewhat a Kubuntu and plasmoid bug. Because the plasmoid doesn't work like it should on Kubuntu anymore. And on openSUSE with KDE 4.3.62 it does work, but not completely. So what can we do now? *** This bug has been confirmed by popular vote. *** I can confirm this bug with KDE 4.3.2 and Kubuntu 9.10 Beta. While not a solution to the problem, until the author gets the time to focus on this, there is an alternative. It is not a plasmoid but Choqok works very well. I will probably stick with it now that I have tried it. I liked microblogger when it worked but it has not worked for so long that I have moved on. Fixed in trunk and 4.3 branch, branch fix here http://websvn.kde.org/?view=revision&revision=1033679 All tweets now show with friends and without them, and all latest tweets as well. Posting also works. The crashes need t be reported in a separate report so to make it clearer what the problem is (with a valid backtrace). The kubuntu part of this bug will be the patch I added to the Kubuntu packages which contained some notable problems (failed to fetch authenticated timeline and showed configure button regardless). This is the launchpad bug https://bugs.launchpad.net/bugs/414572 I believe this is now fixed in kdeplasma-addons versions 4.3.2-0ubuntu2 (karmic) and 4.3.2-0ubuntu1~ppa1~jaunty2 (9.04). For anyone interested the intent of the patch is to make the applet do something useful without configuration (show the unauthenticated kubuntu identica feed), should there be further problems with it I'll remove before 9.10 release. Created attachment 37618 [details]
Patch toULong() --> toULongLong
For me the fix http://websvn.kde.org/?view=revision&revision=1033679 didn't fix the thing, and i still couldn't get the tweets from friends, and my last tweets. I think it's du some toULong() function that should be toULongLong(). Please check the patch just above, I got it working with it. -- Bou yes, that's how it is in trunk / branch... I'm talking of branch, and when i check this: http://websvn.kde.org/branches/KDE/4.3/kdeplasma-addons/applets/microblog/microblog.cpp?view=markup I still see the problem line 386. (toULong instead of toULongLong()). This is indeed good in trunk. Unless I misunderstand something and this is not what you call "branch" ? -- Bou SVN commit 1036051 by mart: toUlongLong() CCBUG:200475 M +1 -1 microblog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1036051 |