# PStore bug "Marshal data too short"

**URL:** <https://www.ruby-forum.com/t/pstore-bug-marshal-data-too-short/70176>\
**Category:** Ruby\
**Created:** [February 18, 2006, 9:03pm UTC](https://www.ruby-forum.com/t/pstore-bug-marshal-data-too-short/70176 "2006-02-18T21:03:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![javier\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@javier\_v](https://www.ruby-forum.com/u/javier_v)\
**Post date:** [February 18, 2006, 9:03pm UTC](https://www.ruby-forum.com/t/pstore-bug-marshal-data-too-short/70176/1 "2006-02-18T21:03:59Z")

</div>

Is there any solution to the “Marshal data too short” in pstore?  
I tried the “a+b” solution, but didn’t work for me.

I have version 1.8.3 and tried 1.8.4, nothing happened.

---

<div class="post-metadata">

**Author:** ![javier\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@javier\_v](https://www.ruby-forum.com/u/javier_v)\
**Post date:** [February 19, 2006, 1:48pm UTC](https://www.ruby-forum.com/t/pstore-bug-marshal-data-too-short/70176/2 "2006-02-19T13:48:58Z")

</div>

Hi,

In message “Re: PStore bug “Marshal data too short””  
on Sun, 19 Feb 2006 05:03:28 +0900, Javier V.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

|Is there any solution to the “Marshal data too short” in pstore?  
|I tried the “a+b” solution, but didn’t work for me.  
|  
|I have version 1.8.3 and tried 1.8.4, nothing happened.

Could you explain bit more detail? What exactly happened on what  
input to what code, and what did you expect?

```
						matz.

```

---

<div class="post-metadata">

**Author:** ![javier\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@javier\_v](https://www.ruby-forum.com/u/javier_v)\
**Post date:** [April 15, 2007, 7:42pm UTC](https://www.ruby-forum.com/t/pstore-bug-marshal-data-too-short/70176/3 "2007-04-15T19:42:14Z")

</div>

I am also getting this error while using default sessions. How did you  
solve this problem?

---

<div class="post-metadata">

**Author:** ![javier\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@javier\_v](https://www.ruby-forum.com/u/javier_v)\
**Post date:** [April 16, 2007, 12:50am UTC](https://www.ruby-forum.com/t/pstore-bug-marshal-data-too-short/70176/4 "2007-04-16T00:50:19Z")

</div>

Hi,

In message “Re: PStore bug “Marshal data too short””  
on Mon, 16 Apr 2007 02:42:17 +0900, Rm Rm [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

|I am also getting this error while using default sessions. How did you  
|solve this problem?

Need more info. I suspect text mode on Windows.

```
          matz.

```

---

<div class="post-metadata">

**Author:** ![javier\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@javier\_v](https://www.ruby-forum.com/u/javier_v)\
**Post date:** [April 16, 2007, 1:12am UTC](https://www.ruby-forum.com/t/pstore-bug-marshal-data-too-short/70176/5 "2007-04-16T01:12:26Z")

</div>

I have the latest pstore.rb with binmode in it and still am getting it.  
What do you mean by text mode?

Yukihiro M. wrote:

> Hi,
> 
> In message “Re: PStore bug “Marshal data too short””  
> on Mon, 16 Apr 2007 02:42:17 +0900, Rm Rm [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:
> 
> |I am also getting this error while using default sessions. How did you  
> |solve this problem?
> 
> Need more info. I suspect text mode on Windows.
> 
> ```
> matz.
> 
> ```

---

<div class="post-metadata">

**Author:** ![javier\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@javier\_v](https://www.ruby-forum.com/u/javier_v)\
**Post date:** [April 16, 2007, 2:00am UTC](https://www.ruby-forum.com/t/pstore-bug-marshal-data-too-short/70176/6 "2007-04-16T02:00:25Z")

</div>

Hi,

In message “Re: PStore bug “Marshal data too short””  
on Mon, 16 Apr 2007 08:12:29 +0900, Rm Rm [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

|I have the latest pstore.rb with binmode in it and still am getting it.  
|What do you mean by text mode?

Hmm, so I have no clue. I can say nothing until I see error  
reproducing script.

```
          matz.

```
