gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Lukic, hopefully we can get this working for you (it does work under KDE 4.3). Does the plasmoid tell you that your network connection is down or does it give you some other error? If it is giving you some other error, can you run the plasmoid in a terminal using the command below and let me know what errors, if any, are displayed:

plasmoidviewer gmail-plasmoid
- Aug 24 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Another user recently had a very similar problem recently. Are you using network manager or a hybrid setup that partially uses network manager? While I could be wrong, there appears to be a problem with the solid network detection functions such that it will always report that there is no network connection with some setups. I would like to try to figure out what is causing this problem so it can be reported to the correct people. - Aug 24 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Thanks for the kind words and for explaining how you fixed your problem. I’m sure it will be helpful to others with the same issue. Unfortunately I have not had a chance to look into what is causing this issue, but it has been occurring intermittently on my machine even since I upgraded to KDE 4.3. - Aug 24 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

The plasmoid’s icon not showing in the Add Widgets dialog is expected since the icon is not installed until the plasmoid runs for the first time. However, the crashing and taking down all of plasma is (obviously) not expected. Some users have had issues with this plasmoid (and other python plasmoids) not working until the user logs out and then back into KDE.

I can try installing Mandriva in a virtual machine to see if I can reproduce the problem, but I will not be able to do so until this weekend at the earliest. In the mean time, it might be interesting to try installing and using the plasmoid in a new user account. Sometimes cruft seems to build up in the plasma configuration files and issues go away when using a new user account.

Sorry I don’t have an obvious and easy solution for you.
- Aug 18 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I actually started having the same problem recently after upgrading some KDE packages under openSUSE, but I have not had a chance to track down the issue. As a temporary fix, you can do the following after uninstalling any old versions:

1) rename the plasmoid file from “.plasmoid” to “.zip”
2) unzip the file
3) in the root directory of the extracted .zip file (the one with metadata.desktop) run “plasmapkg –i .”

Please let me know if these instructions are unclear or if it works for you. Hopefully I will be able to find a real fix soon (but it will likely not be before the weekend).
- Aug 18 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I’m sorry, could you explain your issue a bit more. I am new to creating translations and I’m not sure what you are trying to say is not working. If it is easier, feel free to send me a personal message either on this site or to my email address. Thanks. - Aug 05 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Thanks for the suggestion, and that is not something that I have looked into. Your idea seems like a good way to implement a Gmail data engine, which would be a cleaner way to implement a mail checker versus what I have produced. Something to think about. - Jul 22 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

While I do not have a Fedora installation at my fingertips to test, try installing the "python-devel" package (if it exists). If that fixes your problem please let me know and I will update the list of packages required for Fedora in the plasmoid's description. Thanks. - Jul 15 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

That is an interesting bug and it probably has to do with KIO and cookies, which might be shared between konqueror and my plasmoid (but that is just a guess). If you could file a bug report on the project's google code page with a description of how I can reproduce it that would be very helpful. Thanks! - Jul 03 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Hopefully the new version I just posted (version 0.7.9) will fix your problems. I apologize for this issue, I have been having some trouble creating a version that works well in both KDE 4.2 and 4.3. Please let me know if you continue to have problems, and if your notifications no longer work because you removed the .notifyrc file (and if you do not have a backup copy of the file) I can send you a new one if you email me (my address is in the plasmoid).
- Jul 02 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Thanks for the nice message, and while I do make mistakes I also try to fix them quickly. Also, please try out version 0.7.9, which should work in both KDE 4.2 and 4.3 (or it does for me at least).
- Jul 02 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

This appears to be a problem with the configuration file, and it goes to show that I should add some error checking when reading the configuration file. However, you should be able to delete the configuration file and then it will work. Also, as a side note, version 0.7.8 works for me under the latest KDE 4.3 packages on openSUSE, but there still appear to be some differences between different versions of the python bindings, which hopefully I will have fixed shortly. I hope this helps and you can fix your problem. - Jul 02 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

What version of KDE are you using? As far as I know, openSUSE 11.1 comes by default with KDE version 4.1, which does not support python plasmoids like this one. If so, you can upgrade to either the stable KDE 4.2 packages or the testing packages for KDE 4.3 by adding the proper repositories. However, please note that I seem to have introduced some bugs in the 0.7.8 version, so you might be better off with version 0.7.7 if you are using KDE 4.2 (I should have this fixed int he next version). I hope this helps. - Jul 02 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

This is probably my fault; I have been trying to create one version that works on both KDE 4.2 and 4.3, and I seem to be losing the battle. If possible, please downgrade to version 0.7.7 and let me know if it works for you. I will likely not have time to fix the issue with 0.7.8 for a few days, but I hope that the next version will work in both KDE 4.2 and 4.3. Sorry for any problems this caused. - Jul 02 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Interesting, I have never seen that happen before. I will have to do some testing to see if I can replicate your issue (my first guess is that it is a regression in 4.3rc1). However, I apologize in advance as I am unlikely to be able to look into this issue until sometime next week. - Jun 26 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I'm not sure what you mean by having it show up properly in the panel. Does it not look the same on your system as it does in the screenshots, or would you like it to appear differently? If you can provide more detail I can look into it. - Jun 26 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Have you had any luck downgrading your python-qt4 and python-sip4 packages? I have gotten reports from other users that the Debian python bindings are quite broken right now, but downgrading generally does the trick. I have had issues myself with the bindings under openSUSE, but they have been worked out (for the moment) with the current packages. There are some changes going on in the bindings but hopefully they will all be worked out by the time KDE 4.3 is released. - Jun 19 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Unfortunately there are a lot of changes going on in the python bindings right now and every new version seems to break something. I wish I could be more help, but I think that I will only be able to fix the issues when it stabilizes more. However, I will try and look into this particular error early next week and try to get a temporary fix out for you. - Jun 12 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

There actually is no binary version of the plasmoid since it is a python script (the .plasmoid file is simply a zip file containing the code), but you can access the full source code from the plasmoid's home page (see link above). However, my guess is that it is a problem in the Qt python bindings package since the new versions have been causing problems for others. If you were to send me the error log I may be able to narrow down the issue further, but it wold also be interesting to see if you get the same error while trying to run one of the other python widgets available on this site.
- Jun 12 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Those are some strange errors to be getting. Can you give me more information about your setup? What version of KDE are you using and what is the version of the python Qt bindings? The bindings appear to be in some kind of transition right now, which is causing strange issues to appear with different versions. What is interesting is that both errors are basically the same, and it appears that the data types returned by the Qt constants have changed. - Jun 12 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

As a follow-up, I have tracked down this particular error to the new version of the QT python bindings returning different data types than the old versions. I have put together a quick fix and a testing version (version 0.7.5c), which can be downloaded from the link below. It would be great if you could test out this new version and let me know if it fixes your problem.

http://code.google.com/p/gmail-plasmoid/issues/detail?id=11#c9
- Jun 11 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

There are some very strange things going on with the python bindings under the KDE 4.3 betas, which will hopefully be rectified before the final release. Almost every version of the KDE 4.3 pre-releases I have tested have had some kind of error or issues in the python bindings. Unfortunately, it is likely best to wait to see if these issues persist in the final version and address them as needed at that time. Sorry I can't be more help right now, but I will definitely make sure that the plasmoid works with the final release of KDE 4.3 (which should require no changes on my part anyway). - Jun 10 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Those are great suggestions, and I will look into implementing them in the next little while. Unfortunately I am somewhat busy these days, but hopefully I will have a chance to take a look in the next few weeks.

I have actually thought about something similar to your first suggestion before, but I wanted to open a browser to the actual email message (or the account if you click on that level). The gmail atom feed has a direct url for the message itself that would work for this purpose. However, the problem is that it will only work for the gmail account that the browser is currently logged into, which can cause confusion when clicking on a different account (it will appear that the feature does not work for those accounts). Please let me know if you have any ideas on how to solve this login issue on the browser side (or if my explanation of the issue is unclear). If this issue can be figured out I can also add a button to the notification popup that allows you to go directly to the email, which would be slick. - Jun 08 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Jmiahman, thanks for the feedback and hopefully it will start working for you. While this might not be helpful for the Mandriva packages, I can confirm that the plasmoid works for me when using the latest KDE 4.3 beta packages under openSUSE. Hopefully it will work correctly for you (and me) with the final release of KDE 4.3. However, maybe someone else who uses Mandriva can offer more assistance and please post any solutions you find in case others are having the same issue.
- Jun 06 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Stanfd, thanks for the feedback and I will try to address your issues below:

1) The plasmoid uses the KDE notification system for playing sounds and displaying popup messages. If you are having clipping problems it is an issue with your KDE installation.

2) To view mail you need to first configure your browser under the “command” entry on the configuration screen. Make sure to include “%u” in the correct place in the command line so that the url to gmail is passed to the browser. That command will then be used when you click on the plasmoid, thus opening your gmail account in your preferred browser.

3) Deleting messages is done though the gmail web interface, and these changes will be reflected the next time the plasmoid polls your gmail account. Due to the nature of the gmail authentication mechanism I cannot easily add the ability to delete emails or mark emails as read from the plasmoid itself.

This plasmoid is designed to simply notify you when new emails arrive in your gmail account, nothing more. I hope this helps address your issues, and please contact me if you have any other questions or suggestions.
- Jun 05 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Thanks for the feedback. This password problem can happen if you do not have kwallet enabled. Unfortunately there is an issue with KIO not remembering passwords without kwallet enabled (even if you check the box to remember passwords). To enable kwallet, go into the "System Settings", go to the "Advanced" tab, select "KDE Wallet" and enable it.

If this does not fix your problem please let me know and we can dig deeper to try and figure out what is going wrong. - Jun 05 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I'm not sure why KDE is returning the wrong value for whether the network is up. I have had that problem before and restarting my computer fixed the issue. If the issues persists I think it may be a bug in KDE. - May 16 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Hopefully we can fix this problem. I have gotten errors like that before and it was caused by a missing package. Under openSUSE you must also install the “python-devel” package. In Debian I believe that it is called “python-dev”. Do you have that package installed?

If this solves your problem or you find another solution please let me know so I can update the widget description for other Debian users. Thanks! - May 15 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Thanks for posting this information. I would be interested to know if the latest version (0.7.2) works for you in Kubuntu. I have been unable to replicate any of the Kubuntu issues in a virtual machine, making these issues difficult for me to track down. - May 13 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I'm not entirely sure, but the first thing I would try is to see if there are any bits lying around from a previous install. First try running the following command “plasmapkg -r gmail-plasmoid” and then make sure to delete any “gmail-plasmoid” directory that might exist under “~/.kde4/share/apps/plasma/plasmoids”. Hopefully that will allow you to install the plasmoid.

If that does not work then maybe it is something in your plasma configuration. You can remove these configuration files but you may have to re-configure all of your plasmoids and set your desktop back up. If that is something you are willing to do then you need to remove plasma* from the KDE config directory. I believe the following command would do so “rm ~/.kde4/share/config/plasma*”

Let me know if either of these solutions works.
- May 07 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

You should be able to simply put the name of the label in the “label” field. The widget then adds the label to the end of the atom feed url. For example, entering ARTFL as the label will cause the widget to use the following atom feed (assuming you are not on a hosted domain):

https://mail.google.com/mail/feed/atom/ARTFL

You can try entering that address in a browser to see if you get the response expected, and let me know if you continue to have problems and I can put a debugging version together to dig deeper into the issue. - May 05 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I can confirm that the widget does work on Jaunty, but others are having similar problems to the one you are facing. I have two suggestions that will hopefully narrow down the issue. First, I would try creating a new user and installing the widget for that user. If that works then there may be a configuration file issue with your standard account. Second, if this does not work then please email me the exact error you are getting and I can look into it further.

I'm not sure if it is any help, but here is an example of someone else who solved the same issue: http://code.google.com/p/gmail-plasmoid/issues/detail?id=8 - May 05 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

My issue with using the popupApplet class is that it is very restrictive and, the last time I checked, you could not cleanly override what occurs when you click on the widget. Many people (like me) only configure one account, and it is a pain to have to click twice to open that account. In fact, it was another Gmail checker's use of the popupApplet class that led me to create this widget in the first place.

That being said, if this were implemented without the use of the popupApplet class so that it was easy to override when only one account was configured, then I would be interested in that change. I would be happy to accept any patches that implement this feature as long as the current functionality for users with only one account configured was retained. If you wish to submit patches, please create an “Issue” on th project's Google Code page. Thanks! - May 05 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

For the LED issue, it sounds like something in your user switching procedure is causing the LED to come on, not the gmail-plasmoid widget. The only way the LED can be turned on or off by the widget is through the KDE notification system as a user defined command, and the new mail notification is only fired when there is actually new mail. One way to test this would be to not install the widget in the second user's account and see if the LED still turns on. If it does, then I do not believe that it is an issue with the widget. To be sure you could uninstall the widget from both accounts and see if the behaviour continues.

As for logging into Gmail, that will be dependent on the web browser you are using. The widget simply sends the url from the Gmail feed to the browser. Under Firefox you must check the “remember me on this computer” checkbox when you log in to your account and you cannot use the “sign out” option when you close down the account. However, I have seen slightly different behaviour in other browsers.

I hope the above helps, and let me know if you have any other issues.
- Apr 28 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I have been thinking about that for a while and it would be a nice feature. However, unless you are dealing with hosted domains, there seems to be some difficulty moving between different accounts with the way Gmail does its authentication. I will not have time over the next few days to look into this, but if you could figure this out that would be great! If you produce a patch please create an “issue” on the Google Code site for the widget (see homepage link above) and post the patch there, and thanks in advance for any patches you create. - Apr 27 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Thanks for the feedback. I am aware of this issue, but it seems to be a problem within the KDE KIO classes. The widget passes the account password to KIO, but KIO still asks the user for the password. To make things worse, when KWallet is disabled KIO will not remember the password even if the “remember password” option is selected. Unfortunately, until this problem is fixed the alternatives are to give KIO your Gmail password every time you log in or to enable KWallet support. If you enable KWallet with a blank password then you will not be asked for any password when you log in, and it is arguably just as insecure as storing passwords in random configuration files.

Sorry I can't be more help, and I hope you can find a way to get it working the way you want it. - Apr 25 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I have just posted version 0.6.6, which hopefully fixes this problem. Sorry about the delay in getting this fixed and please let me know if you continue to have problems. - Apr 24 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Yes, that is a bug and it is my fault for leaving some debugging code in. I hope to have a new version out in the next few days that will include a fix for this problem. Sorry! - Apr 22 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

I may be misunderstanding your question, but I think the issue may be that the widget does not clearly differentiate between what “label” means and what “display name” means. This is also why I am hoping to have some translations made for the widget sometime soon (please let me know if you can offer any help with translations). Either way, the “label” field is used to specify a label in your Gmail account, such as “starred,” “spam” or any of the custom labels that you have created in your Gmail account. On the other hand, the “display name” field is used to change how the account is displayed by the widget.

So, from your email I assume that you want your account to be displayed by the widget using your actual name instead of your Gmail username. Therefore, you would want to put your actual name in the “display name” field instead of the “label” field.

I hope this helps and let me know if any of the above is unclear. - Apr 21 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

If the widget works correctly with a fresh user configuration then it definitely looks like a configuration issue of some kind. It is most likely in the plasma configuration files, but I don't have much knowledge of the KDE configuration system so that is just a guess. One possibility would be to nuke your plasma configuration by deleting “plasma*” from “~/.kde4/share/config” and then logging out and back in. However, this might not be the most elegant solution because you would have to reconfigure all of your plasmoids. I hope you can figure this out and sorry I cannot be more help. - Apr 17 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

You should be able to set up a hosted domain by specifying your entire email address as the username for that account. In other words, enter “username@hosteddomain.com” as your username. However, I have not been able to test this myself so please let me know if it works correctly or if there are any issues.
- Apr 17 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Thanks for the feedback. That is very strange as I would expect the widget to work the same whether placed on the desktop or run through the plasmoidviewer. I have not encountered this behavour myself, but I wonder if it is caused by some kind of configuration issue. It would be interesting to see if the same problem occurs under a new user account with a fresh KDE configuration. If possible, please let me know if a new user account displays the same behaviour. If it does then I can try to replicate the issue in a virtual machine.
- Apr 17 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

If you run the widget in the plasmoidviewer it should output more robust error messages so we can figure out what is going wrong. Please send me the output of the following command (you can send it privately if you don't want to post all of the output here):

plasmoidviewer gmail-plasmoid - Apr 14 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

No problem, and I'm glad that you are happy with the change. Just let me know if you would like any other features added or anything else is bugging you about the widget. - Apr 14 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Thanks for the feedback. You are probably missing a required package for python plasmoids. Under openSUSE I get this same error if I do not have the “python-devel” package installed.

What distribution are you using? Is there an equivalent python-devel package?

If you solve this problem please let me know what package was missing for your distribution so I can add it to the list in the widget description. Let me know if I can provide any other help. - Apr 13 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Hopefully we can figure this out. It would be great if you could run the following command and post the results here or send them to me in a private message:

plasmoidviewer gmail-plasmoid
- Apr 11 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Hopefully we can get this working for you. I have the widget working under Arch and kdemod in a virtual machine so we should be able to get it working. It would be helpful if you could let me know what error message you are getting. Also, if you could run the command below and send me the output that would be helpful as well:

plasmoidviewer gmail-plasmoid - Apr 10 2009
LogView

Plasma 4 Extensions by admiral0 6 comments

I believe that under openSUSE the "python-kdebase4" and "python-devel" packages are required to run python plasmoids. I would first check to see if those packages are installed. I hope this helps. - Apr 09 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Python plasmoids do not seem to be fully supported in KDE versions before 4.2, so unfortunately the only solution might be to upgrade to a newer version of KDE (which you might not want to do just to get one plasmoid working). I hope this information helps. - Apr 06 2009
gmail-plasmoid

Plasma 4 Extensions by mjmccans 397 comments

Hopefully we can figure out what the problem is. Can you tell me what version of Kubuntu and KDE you are using? Also, at the command line please run the following command and post any error messages displayed:

plasmoidviewer gmail-plasmoid
- Apr 06 2009