Adding action/exclude regex fails
Brought to you by:
shantzu
I cannot add anything. I just write something in the fields provided and get error message:
(clipit:2579): Gtk-WARNING **: /build/buildd/gtk+2.0-2.22.0/gtk/gtkliststore.c:797: Invalid column number 165560328 added to iter (remember to end your list of columns with a -1)
Nothing gets saved and nothing becomes operational.
I'm using Ubuntu 10.10 and ClipIt 1.4.1 from PPA. The same problem appeared also in previous versions.
Hello,
could you please provide more information about your configuration, desktop environment, etc? I'm not able to reproduce this.
I just tried it on Ubuntu 11.04 with standard desktop. Again I get something in the same vein...
(clipit:4070): Gtk-WARNING **: /build/buildd/gtk+2.0-2.24.4/gtk/gtkliststore.c:797: Invalid column number 158542096 added to iter (remember to end your list of columns with a -1)
I have very standard configuration, I am running Ubuntu from slightly modified Live CD. Almost only pecularity of the system is that language is set to Estonian (LANG=et_EE.UTF-8 etc). What configuration settings do you consider relevant for this bug?
est@buntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Estobuntu 11.06
Release: 11.04
Codename: natty
est@buntu:~$ LANG=C apt-cache policy clipit
clipit:
Installed: 1.4.1-1ppa1natty1
Candidate: 1.4.1-1ppa1natty1
Version table:
*** 1.4.1-1ppa1natty1 0
500 http://ppa.launchpad.net/shantzu/clipit/ubuntu/ natty/main i386 Packages
100 /var/lib/dpkg/status
1.3.12-1ubuntu1 0
500 http://ee.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
est@buntu:~$ apt-rdepends clipit
Reading package lists... Done
Building dependency tree
Reading state information... Done
clipit
Depends: libappindicator1 (>= 0.2.91)
Depends: libc6 (>= 2.3.6-6~)
Depends: libglib2.0-0 (>= 2.16.0)
Depends: libgtk2.0-0 (>= 2.18.0)
Depends: libx11-6
libappindicator1
Depends: libatk1.0-0 (>= 1.12.4)
Depends: libc6 (>= 2.3.6-6~)
Depends: libcairo2 (>= 1.2.4)
Depends: libdbusmenu-glib3
Depends: libdbusmenu-gtk3
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.2.1)
Depends: libgdk-pixbuf2.0-0 (>= 2.22.0)
Depends: libglib2.0-0 (>= 2.26.0)
Depends: libgtk2.0-0 (>= 2.18.0)
Depends: libindicator3 (>= 0.3.19)
Depends: libpango1.0-0 (>= 1.14.0)
libatk1.0-0
Depends: libatk1.0-data (= 2.0.0-0ubuntu1)
Depends: libc6 (>= 2.3.6-6~)
Depends: libglib2.0-0 (>= 2.16.0)
PreDepends: multiarch-support
libatk1.0-data
libc6
Depends: libc-bin (= 2.13-0ubuntu13)
Depends: libgcc1
Depends: tzdata
libc-bin
libgcc1
Depends: gcc-4.5-base (= 4.5.2-8ubuntu4)
Depends: libc6 (>= 2.2.4)
PreDepends: multiarch-support
gcc-4.5-base
multiarch-support
Depends: libc6 (>= 2.13-0ubuntu6)
tzdata
Depends: debconf (>= 0.5)
Depends: debconf-2.0
debconf
Depends: debconf-english
Depends: debconf-i18n
PreDepends: perl-base (>= 5.6.1-4)
debconf-english
Depends: debconf
debconf-i18n
Depends: debconf
Depends: liblocale-gettext-perl
Depends: libtext-charwidth-perl
Depends: libtext-iconv-perl
Depends: libtext-wrapi18n-perl
liblocale-gettext-perl
Depends: libc6 (>= 2.2)
PreDepends: perl-base (>= 5.10.0-24ubuntu4)
PreDepends: perlapi-5.10.0
perl-base
PreDepends: dpkg (>= 1.14.20)
PreDepends: libc6 (>= 2.11)
dpkg
PreDepends: coreutils (>= 5.93-1)
PreDepends: libbz2-1.0
PreDepends: libc6 (>= 2.11)
PreDepends: libselinux1 (>= 1.32)
PreDepends: xz-utils
PreDepends: zlib1g (>= 1:1.1.4)
coreutils
PreDepends: libacl1 (>= 2.2.11-1)
PreDepends: libattr1 (>= 2.4.41-1)
PreDepends: libc6 (>= 2.7)
PreDepends: libselinux1 (>= 1.32)
libacl1
Depends: libattr1 (>= 2.4.41-1)
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
libattr1
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
libselinux1
Depends: libc6 (>= 2.8)
PreDepends: multiarch-support
libbz2-1.0
Depends: libc6 (>= 2.4)
xz-utils
Depends: libc6 (>= 2.7)
Depends: liblzma2 (>= 5.0.0)
liblzma2
Depends: libc6 (>= 2.4)
zlib1g
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
perlapi-5.10.0
libtext-charwidth-perl
Depends: libc6 (>= 2.1.3)
Depends: perl-base (>= 5.10.0-24ubuntu4)
Depends: perlapi-5.10.0
libtext-iconv-perl
Depends: libc6 (>= 2.1.3)
Depends: perl-base (>= 5.10.0-24ubuntu4)
Depends: perlapi-5.10.0
libtext-wrapi18n-perl
Depends: libtext-charwidth-perl
debconf-2.0
libglib2.0-0
Depends: libc6 (>= 2.9)
Depends: libpcre3 (>= 8.10)
Depends: libselinux1 (>= 1.32)
Depends: zlib1g (>= 1:1.2.2)
PreDepends: multiarch-support
libpcre3
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
libcairo2
Depends: libc6 (>= 2.11)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.3.5)
Depends: libpixman-1-0 (>= 0.18.0)
Depends: libpng12-0 (>= 1.2.13-4)
Depends: libx11-6
Depends: libxcb-render0
Depends: libxcb-shm0
Depends: libxcb1 (>= 1.2)
Depends: libxrender1
Depends: zlib1g (>= 1:1.1.4)
libfontconfig1
Depends: fontconfig-config (= 2.8.0-2.1ubuntu3)
Depends: libc6 (>= 2.7)
Depends: libexpat1 (>= 1.95.8)
Depends: libfreetype6 (>= 2.2.1)
Depends: zlib1g (>= 1:1.1.4)
PreDepends: multiarch-support
fontconfig-config
Depends: gsfonts-x11
Depends: ttf-bitstream-vera
Depends: ttf-dejavu-core
Depends: ttf-freefont
Depends: ucf (>= 0.29)
gsfonts-x11
Depends: gsfonts (>= 6.0-2)
Depends: xfonts-utils (>= 1:1.0.0-6)
gsfonts
xfonts-utils
Depends: libc6 (>= 2.8)
Depends: libfontenc1
Depends: libfreetype6 (>= 2.2.1)
Depends: libxfont1 (>= 1:1.4.2)
Depends: x11-common
Depends: xfonts-encodings
Depends: zlib1g (>= 1:1.1.4)
libfontenc1
Depends: libc6 (>= 2.7)
Depends: zlib1g (>= 1:1.1.4)
libfreetype6
Depends: libc6 (>= 2.11)
Depends: zlib1g (>= 1:1.1.4)
PreDepends: multiarch-support
libxfont1
Depends: libbz2-1.0
Depends: libc6 (>= 2.4)
Depends: libfontenc1
Depends: libfreetype6 (>= 2.2.1)
Depends: zlib1g (>= 1:1.1.4)
x11-common
Depends: debconf (>= 0.5)
Depends: debconf-2.0
Depends: lsb-base (>= 1.3-9ubuntu2)
Depends: upstart-job
lsb-base
Depends: ncurses-bin
Depends: sed
ncurses-bin
PreDepends: libc6 (>= 2.4)
PreDepends: libncurses5 (>= 5.7+20090711)
libncurses5
Depends: libc6 (>= 2.4)
sed
Depends: dpkg (>= 1.15.4)
Depends: install-info
PreDepends: libc6 (>= 2.4)
PreDepends: libselinux1 (>= 1.32)
install-info
Depends: libc6 (>= 2.4)
upstart-job
xfonts-encodings
Depends: x11-common
ttf-bitstream-vera
ttf-dejavu-core
ttf-freefont
ucf
Depends: coreutils (>= 5.91)
Depends: debconf (>= 1.5.19)
libexpat1
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
libpixman-1-0
Depends: libc6 (>= 2.4)
libpng12-0
Depends: libc6 (>= 2.11)
Depends: zlib1g (>= 1:1.1.4)
PreDepends: multiarch-support
libx11-6
Depends: libc6 (>= 2.4)
Depends: libx11-data
Depends: libxcb1 (>= 1.2)
PreDepends: multiarch-support
libx11-data
libxcb1
Depends: libc6 (>= 2.4)
Depends: libxau6
Depends: libxdmcp6
PreDepends: multiarch-support
libxau6
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
libxdmcp6
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
libxcb-render0
Depends: libc6 (>= 2.1.3)
Depends: libxcb1
PreDepends: multiarch-support
libxcb-shm0
Depends: libc6 (>= 2.1.3)
Depends: libxcb1
PreDepends: multiarch-support
libxrender1
Depends: libc6 (>= 2.1.3)
Depends: libx11-6
PreDepends: multiarch-support
libdbusmenu-glib3
Depends: libc6 (>= 2.3.6-6~)
Depends: libglib2.0-0 (>= 2.26.0)
libdbusmenu-gtk3
Depends: libatk1.0-0 (>= 1.12.4)
Depends: libc6 (>= 2.3.6-6~)
Depends: libcairo2 (>= 1.2.4)
Depends: libdbusmenu-glib3 (>= 0.4.2)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.2.1)
Depends: libgdk-pixbuf2.0-0 (>= 2.22.0)
Depends: libglib2.0-0 (>= 2.24.0)
Depends: libgtk2.0-0 (>= 2.23.2-0ubuntu2)
Depends: libpango1.0-0 (>= 1.14.0)
libgdk-pixbuf2.0-0
Depends: libc6 (>= 2.11)
Depends: libglib2.0-0 (>= 2.28.0)
Depends: libjasper1 (>= 1.900.1)
Depends: libjpeg62 (>= 6b1)
Depends: libpng12-0 (>= 1.2.13-4)
Depends: libtiff4
Depends: libx11-6
libjasper1
Depends: libc6 (>= 2.7)
Depends: libjpeg62 (>= 6b1)
libjpeg62
Depends: libc6 (>= 2.7)
libtiff4
Depends: libc6 (>= 2.11)
Depends: libjpeg62 (>= 6b1)
Depends: zlib1g (>= 1:1.1.4)
PreDepends: multiarch-support
libgtk2.0-0
Depends: libatk1.0-0 (>= 1.12.4)
Depends: libc6 (>= 2.4)
Depends: libcairo2 (>= 1.6.4-6.1)
Depends: libcomerr2 (>= 1.01)
Depends: libcups2 (>= 1.4.0)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.2.1)
Depends: libgcrypt11 (>= 1.4.6)
Depends: libgdk-pixbuf2.0-0 (>= 2.22.0)
Depends: libglib2.0-0 (>= 2.28.0)
Depends: libgnutls26 (>= 2.7.14-0)
Depends: libgssapi-krb5-2 (>= 1.6.dfsg.2)
Depends: libgtk2.0-common
Depends: libk5crypto3 (>= 1.6.dfsg.2)
Depends: libkrb5-3 (>= 1.6.dfsg.2)
Depends: libpango1.0-0 (>= 1.28.3-2~)
Depends: libx11-6
Depends: libxcomposite1 (>= 1:0.3-1)
Depends: libxcursor1 (>> 1.1.2)
Depends: libxdamage1 (>= 1:1.1)
Depends: libxext6
Depends: libxfixes3 (>= 1:4.0.1)
Depends: libxi6
Depends: libxinerama1
Depends: libxrandr2 (>= 2:1.2.99.3)
Depends: libxrender1
Depends: shared-mime-info
Depends: zlib1g (>= 1:1.1.4)
libcomerr2
Depends: libc6 (>= 2.12)
PreDepends: multiarch-support
libcups2
Depends: libavahi-client3 (>= 0.6.16)
Depends: libavahi-common3 (>= 0.6.16)
Depends: libc6 (>= 2.4)
Depends: libcomerr2 (>= 1.01)
Depends: libgcrypt11 (>= 1.4.6)
Depends: libgnutls26 (>= 2.7.14-0)
Depends: libgssapi-krb5-2 (>= 1.7+dfsg)
Depends: libk5crypto3 (>= 1.6.dfsg.2)
Depends: libkrb5-3 (>= 1.6.dfsg.2)
Depends: zlib1g (>= 1:1.1.4)
libavahi-client3
Depends: libavahi-common3 (>= 0.6.22)
Depends: libc6 (>= 2.4)
Depends: libdbus-1-3 (>= 1.1.1)
PreDepends: multiarch-support
libavahi-common3
Depends: libavahi-common-data
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
libavahi-common-data
libdbus-1-3
Depends: libc6 (>= 2.10)
PreDepends: multiarch-support
libgcrypt11
Depends: libc6 (>= 2.4)
Depends: libgpg-error0 (>= 1.10)
PreDepends: multiarch-support
libgpg-error0
Depends: libc6 (>= 2.1.3)
PreDepends: multiarch-support
libgnutls26
Depends: libc6 (>= 2.8)
Depends: libgcrypt11 (>= 1.4.6)
Depends: libtasn1-3 (>= 1.6-0)
Depends: zlib1g (>= 1:1.1.4)
PreDepends: multiarch-support
libtasn1-3
Depends: libc6 (>= 2.4)
PreDepends: multiarch-support
libgssapi-krb5-2
Depends: libc6 (>= 2.7)
Depends: libcomerr2 (>= 1.34)
Depends: libk5crypto3 (>= 1.8+dfsg)
Depends: libkeyutils1
Depends: libkrb5-3 (= 1.8.3+dfsg-5ubuntu2)
Depends: libkrb5support0 (>= 1.7dfsg~beta2)
PreDepends: multiarch-support
libk5crypto3
Depends: libc6 (>= 2.4)
Depends: libkeyutils1
Depends: libkrb5support0 (>= 1.7dfsg~beta2)
PreDepends: multiarch-support
libkeyutils1
Depends: libc6 (>= 2.1.3)
PreDepends: multiarch-support
libkrb5support0
Depends: libc6 (>= 2.3.4)
Depends: libkeyutils1
PreDepends: multiarch-support
libkrb5-3
Depends: libc6 (>= 2.9)
Depends: libcomerr2 (>= 1.34)
Depends: libk5crypto3 (>= 1.8+dfsg)
Depends: libkeyutils1
Depends: libkrb5support0 (= 1.8.3+dfsg-5ubuntu2)
PreDepends: multiarch-support
libgtk2.0-common
libpango1.0-0
Depends: fontconfig (>= 2.1.91)
Depends: libc6 (>= 2.4)
Depends: libcairo2 (>= 1.8.10-3)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.2.1)
Depends: libglib2.0-0 (>= 2.27.0)
Depends: libthai0 (>= 0.1.12)
Depends: libx11-6
Depends: libxft2 (>> 2.1.1)
Depends: libxrender1
PreDepends: multiarch-support
fontconfig
Depends: fontconfig-config
Depends: libc6 (>= 2.3.4)
Depends: libexpat1 (>= 1.95.8)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.2.1)
Depends: zlib1g (>= 1:1.1.4)
libthai0
Depends: libc6 (>= 2.4)
Depends: libdatrie1 (>= 0.2.0)
Depends: libthai-data (>= 0.1.10)
libdatrie1
Depends: libc6 (>= 2.4)
libthai-data
libxft2
Depends: libc6 (>= 2.4)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.3.5)
Depends: libx11-6
Depends: libxrender1
PreDepends: multiarch-support
libxcomposite1
Depends: libc6 (>= 2.1.3)
Depends: libx11-6
PreDepends: multiarch-support
libxcursor1
Depends: libc6 (>= 2.4)
Depends: libx11-6
Depends: libxfixes3 (>= 1:4.0.1)
Depends: libxrender1
PreDepends: multiarch-support
libxfixes3
Depends: libc6 (>= 2.1.3)
Depends: libx11-6
PreDepends: multiarch-support
libxdamage1
Depends: libc6 (>= 2.1.3)
Depends: libx11-6
Depends: libxfixes3 (>= 1:4.0.1)
PreDepends: multiarch-support
libxext6
Depends: libc6 (>= 2.4)
Depends: libx11-6
PreDepends: multiarch-support
libxi6
Depends: libc6 (>= 2.4)
Depends: libx11-6 (>= 2:1.2.99.901)
Depends: libxext6
PreDepends: multiarch-support
libxinerama1
Depends: libc6 (>= 2.1.3)
Depends: libx11-6
Depends: libxext6
PreDepends: multiarch-support
libxrandr2
Depends: libc6 (>= 2.1.3)
Depends: libx11-6
Depends: libxext6
Depends: libxrender1
PreDepends: multiarch-support
shared-mime-info
Depends: libc6 (>= 2.3)
Depends: libglib2.0-0 (>= 2.24.0)
Depends: libxml2 (>= 2.7.4)
libxml2
Depends: libc6 (>= 2.7)
Depends: zlib1g (>= 1:1.2.3.3.dfsg)
libindicator3
Depends: libatk1.0-0 (>= 1.12.4)
Depends: libc6 (>= 2.3.6-6~)
Depends: libcairo2 (>= 1.2.4)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.2.1)
Depends: libgdk-pixbuf2.0-0 (>= 2.22.0)
Depends: libglib2.0-0 (>= 2.26.0)
Depends: libgtk2.0-0 (>= 2.18)
Depends: libpango1.0-0 (>= 1.14.0)
est@buntu:~$
I booted up unmodified Ubuntu 11.04 Live CD, installed Clipit from PPA and the result is exactly the same. I cannot add anything to actions or into regex exclusion table. I press "Add" and then write something and whether I press "Ok" or "Remove" or anything else, none of the entries will get saved and is funtional. Even straight after entering random string in the field of table the field is cleared. When I start the next time, the list is empty and behaviour is the same.
Only thing that seems to work is that "Add" really adds an empty row, "Remove" removes this row, but I still cannot enter anything. When I try to enter something, I'm reported in console (at the moment when the entry field loses focus):
(clipit:3778): Gtk-WARNING **: /build/buildd/gtk+2.0-2.24.4/gtk/gtkliststore.c:797: Invalid column number 144390880 added to iter (remember to end your list of columns with a -1)
I tried and the same happens in Linux Mint 9 on a different computer. Probably it's the case for all Ubuntu based distros. Can some other Ubuntu user confirm that?
Could you specify what other information do you need to fix this bug? I'd like to translate the application and include it into an Ubuntu remix for Estonian language context called Estobuntu, but this bug keeps me from doing it... If you say that it "works for you", what Ubuntu version did you test it on?
I have installed natty in a VirtualBox and then installed clipit from the PPA and everything worked fine. Nonetheless I think I may have found the problem and will release a fix soon.
Thank you! If you'd commit the latest changes from Changelog (ClipIt-1.4.2-20110726001) to SourceForge, I can check out if the solution works for me.
They are commited already, but on the 1.4.2 branch:
http://gtkclipit.git.sourceforge.net/git/gitweb.cgi?p=gtkclipit/gtkclipit;a=shortlog;h=refs/heads/1.4.2
Thanks for quick reply. I tried the version in 1.4.2 branch, but it acted exactly the same. However, I was able to fix the bug modifying edit_action and edit_exclude in preferences.c. I changed
gtk_list_store_set(actions/exclude_list, &sel_iter, (gint64)cell, new_text, -1);
to
gtk_list_store_set(actions/exclude_list, &sel_iter, GPOINTER_TO_INT(cell), new_text, -1);
and everything started working. I didn't bother to research into why it works, I just tried to fix the cell number to 0 first and seeing that it works, I searched for alternate ways to cast gpointer. The first one I tried just worked. If you know or find out the reason, I'd be interested to learn about it though.
This bug was also reported to occur on Debian. See http://clipit.rspwn.com/from-scratch-to-debian-in-2-months/#comment-1699
Can the bug be depending on libgtk version? It is the same in Debian Testing (2.24.4) but older in Debian Stable (2.20.1).
This should be fixed in the latest commit. Thanks for your contribution!
In what version it was fixed? I can't add Actions in Ubuntu 12.04, which has v1.4.1 in the repos. Is there a chance to have it fixed for Ubuntu soon?
I'm extremely impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent quality writing, it's rare to see a nice blog like this one nowadays..
<a href="http://mywowgold.onsugar.com/" title="Roch Deniss cheaper market">Roch Deniss cheaper market</a>
Hi, I just wanted to tell you, you're wrong. Your article doesn't make any sense.
<a href="http://yjlisyanhei.journalspace.com/" title="news for wow gold on iwowgold.fr">news for wow gold on iwowgold.fr</a>
What i do not understood is if truth be told how you are now not actually a lot more neatly-favored than you may be right now. You are very intelligent. You already know thus significantly in the case of this topic, made me individually imagine it from so many various angles. Its like men and women don't seem to be fascinated except it is something to accomplish with Girl gaga! Your personal stuffs outstanding. Always take care of it up!
<a href="http://www.freewebsite-service.com/shuflistmoshou/" title="inexpensivewowgoldus">inexpensivewowgoldus</a>
I happen to be commenting to let you know of the outstanding discovery our daughter had reading through your webblog. She mastered a good number of issues, most notably what it's like to possess an excellent coaching style to have other people smoothly thoroughly grasp certain complex subject areas. You really exceeded visitors' expected results. I appreciate you for offering the priceless, safe, revealing and as well as cool thoughts on your topic to Lizeth.
<a href="http://tintubalsi1690.tumblr.com/" title="wow gold">wow gold</a>
Easy to need methods that obviously affair, acknowledgement again!
<a href="http://www.official49ersteamshop.com/+patrick+willis+jersey+c+10.html" title="Patrick Willis Nike Jersey">Patrick Willis Nike Jersey</a>