Displaying 20 results from an estimated 1186 matches for "marshalling".
2006 Jul 21
0
[RESOLVED] Marshal.dump not dumping entire object?
After sending this I realized that this was a Ruby not Rails issue -
but the answer may be interesting for those who choose Marshal over
Serialize.
So, to close this off I don''t know why marshal.dump wasn''t ''dumping''
all attributes, but adding custom marshaling to PDate did the trick.
ala,
+ def marshal_dump
+ dumped_obj = [date_precision, ajd,
2011 Oct 26
8
IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type
...flection::TargetInvocationException)
from mscorlib:0:in `InvokeConstructor''
from mscorlib:0:in `Invoke''
from (ir):1:in `load''
from (ir):1
Note: This also happens with any CLR type eg System::DateTime.
I looked through IronRuby''s marshalling code, and it appears that the
behaviour of Marshal.dump and Marshal.load don''t align properly.
Marshal.dump is it''s own self-contained set of code which essentially
writes data to a BinaryStream.
For ruby types, it ends up writing a series of values in a format that
looks a l...
2006 Jul 21
0
Marshal.dump not dumping entire object?
Greetings,
I first want to say that this problem is happening with the Runt
gem. This may is likely an implementation issue between Marshal and
Runt. While I''ve simultaneously filed this problem with Matt Lipper,
I''m also hoping someone here can can guide me a little - either in
implementation (usage of Marshal), or to aid me to fix Runt to
support Marshal.
2008 Jan 04
2
use of Marshal with wxruby classes
Is it possible to use Marshal with wxruby classes to serialize an
application''s state?
I tried a minimal example of simply serializing a minimal frame object, and
I get the error "no marshal_dump is defined for class MinimalFrame".
I don''t fully understand this because I also tried another minimal example
of dumping a class which did not defined a marshal_dump, and it
2007 Jan 08
1
quota in mysql not being updated
I'm having trouble getting the quota plugin to work with deliver.
The quota in the database is not getting set.
I am using dovecot-1.0-rc15. This server is not yet in production.
Some values below are because I'm trying to test with the simplest
possible case, and some because it's reading from a different
database. Also, I noticed that "dovecot -n" doesn't display any
2006 Oct 13
2
win32-mmap - trying to marshal self
Hi all,
I realized the current implmentation has a problem - you can only get the last value set? I realized, after looking at the old C code, that it actually stores values in a hash and marshals the hash, not the values themselves.
That seemed clunky to me, though. I thought it would be more interesting if we just marshalled the entire mmap object and passed that back and forth.
2014 Feb 14
5
[LLVMdev] [llvm] r201432 - Remove myself as owner of libc++
On Feb 14, 2014, at 1:09 PM, Howard Hinnant <hhinnant at apple.com> wrote:
> Author: hhinnant
> Date: Fri Feb 14 15:09:01 2014
> New Revision: 201432
>
> URL: http://llvm.org/viewvc/llvm-project?rev=201432&view=rev
> Log: Remove myself as owner of libc++
>
> Modified:
> llvm/trunk/CODE_OWNERS.TXT
>
> Modified: llvm/trunk/CODE_OWNERS.TXT
> URL:
2012 Dec 13
0
[LLVMdev] Binutils and LLVM - gathering information
On Nov 6, 2012, at 2:19 PM, Marshall Clow <mclow.lists at gmail.com> wrote:
> Binutils and LLVM
>
> As part of "owning our own toolchain", various people have expressed an interest and have been working on creating various tools that duplicate the functionality of tools available on other systems.
I have summarized the information that I've gathered, and put it up
2007 May 04
5
[ win32utils-Bugs-10589 ] Bug in win32-mmap
Bugs item #10589, was opened at 2007-05-04 12:01
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=10589&group_id=85
Category: win32-mmap
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Daniel Berger (djberg96)
Summary: Bug in win32-mmap
Initial Comment:
Ruby 1.8.6
win32-mmap 0.2.1
Assigning
2010 Jun 15
0
MBTrading Navigator
Hi,
I could use some help with this. Thank you. MB Navigator is a program that connects to servers to execute trades but the program resides on your computer. When attempting to execute a trade the program closes down. If you have any idea how to fix this please let me know. Here is the log text:
jcgg at sabayonx86-64 ~/.wine/drive_c/Program Files/MBTrading/MBT Navigator $ wine MbtNav.exe
2008 Apr 24
3
Problem joining XP SP2 Machines to the domain
Hey All:
I've got a working samba/ldap domain with a PDC in a datacenter and a BDC in
my local office.
I'm not able to reliably join a windows XP Pro machine to the domain by
specifying the PDC as a wins server.
I get the following error 90% of the time or more, with no discernible
patterns or errors in any logs:
---------------------------------
The following error occurred attempting
2008 Feb 22
2
marshaling ActiveRecord objects: how to unload associations?
I''m marshaling ActiveRecord objects, and I want them to be as small as
possible. How can I unload everything that can be reloaded from the
database?
If they''re marshaled before any of the associations are referenced
then the referenced objects aren''t dumped. But if the association has
been loaded, how can I unload it? AssociationProxy.reset doesn''t seem
to do
2006 Jul 03
5
stopping error mailer on development
I sleep better with it in place in production mode and I only get one
error notice - every once in a while for a problem that I have fixed in
development branch that I am not ready to merge in the main trunk yet. I
want to keep the error mailer code in place in development code for
obvious reasons and even though I can set up filters for my mail system,
how can I simply shut it off for development
2008 May 03
0
marshalling mechanized
hi all,
in the course of my hacking i wanted to marshal mechanized objects
(whether the agent, page, or other). this may be a rather particular
use-case, but i figured i would report. marshalling does not work on
certain objects, in particular IO objects, and since mechanized uses
Net::HTTP it makes use of IO objects. so it turns out that it you
just do
a = WWW::Mechanize.new
page = a.get "http://nytimes.com"
Marhshal.dump(a)
you get a problem. in particular, "TypeError:...
2013 Sep 27
1
9.2-RC4 amd64 panic: vm_page_unwire
I'm running 9.2-RC4 on a handful of desktop and server machines (both
i386 and amd64). I have seen three panics (all vm_page_unwire) on one
of those systems only (amd64 server) during the past week.
The first two panics were triggered when shutting down the ntpd daemon
(a recent development snapshot version of ntpd: 4.2.7p387). Exiting a
later release (p388) has not triggered the panic.
2006 Oct 11
5
Marshal Data too short error with ActiveRecord sess. storage
I''m seeing a "marshal data too short" error with an ActiveRecord store
for my session data.
Other posts say that this happens when the size of the session data
exceeds the size of the "data" column in the sessions table. But my
"data" column is a TEXT field so it seems unlikely that I could have
blown it out.
Has anyone else seen "marshal data too
2006 May 24
1
How to marshal Javascript data?
I''m trying to marshal some information I have in Javascript, and send
it over an AJAX request to the server, specifically to be stored in a
model on the server side.
I have some Javascript routines I wrote that gather information about
the user selection. I see that the link_to_remote has a :before
option in which I can write Javascript to collect what I need, but
right now I''m
2003 Jun 17
1
Primary Domain Controller problems
Platform: RedHat 7.0
Samba version: 2.2.7a
Client platforms Windows 2000 Pro SP3
Number of clients: 7
This is my SAMBA configuration file
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Creation Date: 2002/10/21 15:26:01
# Global parameters
[global]
workgroup = SABER
netbios name = SHADOW
server string = SAMBA-PDC
interfaces = eth0 192.168.1.13
encrypt
2007 Nov 06
2
Automatic marshalling with DB access
I have an item which has a hash for one of its fields. When i store it
in the db, i want to do a Marshal.dump of the hash, and similarly, do a
Marshal.load to turn the saved blob back into a hash again.
Is there a way to easily write this into the model, so that it happens
automatically when saving and loading a record?
thanks
max
--
Posted via http://www.ruby-forum.com/.
2011 Aug 25
1
Question about object permanence/marshalling
Hello,
I am trying to write some code that dumps R objects to the harddisk in a binary format so they can be quickly re-used later. Goal is to save time. The objects may be quite large (e.g. classes for a GUI). I was thinking that save() and load() would be suitable for this (until now I only thought it could be used for 'real' data, e.g. matrices, data.frames etc), but I am hoping any