Malabarba / paradox

Project for modernizing Emacs' Package Menu. With package ratings, usage statistics, customizability, and more.
GNU General Public License v2.0
561 stars 36 forks source link

error in process sentinel: Odd length text property list #109

Open kaushalmodi opened 8 years ago

kaushalmodi commented 8 years ago

Hi,

I have noticed that I get the below process sentinel error once in a while. These errors started some time after Nov 2015. I can tell this specifically because I was on a big vacation in Nov. I never saw these errors before that. But I seen these atleast 5 times when doing async package updates using paradox after I returned from vacation in Dec.

Install 5 packages, and Delete 5 packages? (y or n) y
Execute in the background (see `paradox-execute-asynchronously')? (y or n) y
error in process sentinel: async-when-done: Odd length text property list
error in process sentinel: Odd length text property list

It seems as if this error occurs when I am updating odd number of packages (5, in this case).

I will put more debug info here as I find. But I am putting this out here just in case someone else is also seeing the same issue at times.

Surprisingly, even though this process sentinel error is displayed, the installation of new versions and deletion of old versions finishes fine.


My emacs version info:

Emacs version: GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2016-01-12, built using commit 0ed0a9b7f09495394dc9b60a9f7c937679c49afe.

./configure options: --prefix=/home/kmodi/usr_local/apps/6/emacs/emacs-25 ’CPPFLAGS=-fgnu89-inline -I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include’ ’CFLAGS=-ggdb3 -O0’ ’CXXFLAGS=-ggdb3 -O0’ ’LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3’

Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11

Malabarba commented 8 years ago

I fear this might be an async bug. At least, nothing has changed in paradox for a while now.

Malabarba commented 8 years ago

@jwiegley has anything changed recently in async?

jwiegley commented 8 years ago

That is really a question for Thierry, he has been making the edits. Maybe check the Git history?

kaushalmodi commented 8 years ago

Copying @thierryvolpiatto

An uneducated guess based on the fact the the process sentinel has error due to some "length" and this commit has the word "length" in it: https://github.com/jwiegley/emacs-async/commit/1f127172225467c5b5f0df08d84e1a5e18990f0e

and Nov 2015 is the approximate time frame after which I started getting this error.

thierryvolpiatto commented 8 years ago

@Malabarba async-start is now a function as you requested in https://github.com/jwiegley/emacs-async/issues/43

thierryvolpiatto commented 8 years ago

An uneducated guess based on the fact the the process sentinel has error due to some "length" and >this commit has the word "length" in it: jwiegley/emacs-async@1f12717

This commit is related to dired-async, I doubt you are using this in paradox.

Malabarba commented 8 years ago

@kaushalmodi do you get a backtrace if you toggle-debug-on-error?

@thierryvolpiatto thanks for making it a function

kaushalmodi commented 8 years ago

That's my plan. I will make sure to enable debug on error each time before updating the packages, because the error doesn't show up each time. I'll update as soon as I get the debug info. On Jan 14, 2016 10:01 PM, "Artur Malabarba" notifications@github.com wrote:

@kaushalmodi https://github.com/kaushalmodi do you get a backtrace if you toggle-debug-on-error?

@thierryvolpiatto https://github.com/thierryvolpiatto thanks for making it a function

— Reply to this email directly or view it on GitHub https://github.com/Malabarba/paradox/issues/109#issuecomment-171854371.