search for: marshal

Displaying 20 results from an estimated 1185 matches for "marshal".

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, sg, of] + dumped_obj + en...
2011 Oct 26
8
IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type
...work fine, but I found that when I misspelled a method name, instead of reporting back a NoMethodError, the IronRuby process crashed immediately to the console. This is using a relatively recent build of IronRuby from Github Steps to repro: e = RuntimeError.new ''xyz'' dumped = Marshal.dump e e2 = Marshal.load dumped I would expect e2 to be equivalent to e, but instead the process crashes with this exception mscorlib:0:in `_InvokeConstructor'': Exception has been thrown by the target of an invocation. (System::Reflection::TargetInvocationException) from mscorl...
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. script/console Loading development environment. &gt...
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...
2007 Jan 08
1
quota in mysql not being updated
...r(255) | NO | PRI | | | | quota_type | varchar(255) | NO | PRI | | | | quota_used_kb | int(11) | NO | | 0 | | +--------------------+--------------+------+-----+---------+-------+ mail logs: Jan 7 22:13:46 sentinel deliver(test.marshal at acd.net): auth input: test.marshal at acd.net Jan 7 22:13:46 sentinel deliver(test.marshal at acd.net): auth input: uid=225 Jan 7 22:13:46 sentinel deliver(test.marshal at acd.net): auth input: gid=225 Jan 7 22:13:46 sentinel deliver(test.marshal at acd.net): auth input: home=/var/mail/vmail0...
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. Unfortunately, it doesn''t seem to work. For the getter in method_missing I simply did: marshal...
2014 Feb 14
5
[LLVMdev] [llvm] r201432 - Remove myself as owner of libc++
...llvm/trunk/CODE_OWNERS.TXT (original) > +++ llvm/trunk/CODE_OWNERS.TXT Fri Feb 14 15:09:01 2014 > @@ -58,9 +58,6 @@ N: James Grosbach > E: grosbach at apple.com > D: MC layer > > -N: Howard Hinnant > -D: libc++ > - I would like to volunteer as the code owner for libc++. — Marshall
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 s...
2007 May 04
5
[ win32utils-Bugs-10589 ] Bug in win32-mmap
...script demonstrates the problem: require ''win32/mmap'' include Win32 mm = MMap.new(:size => 1024, :name => ''test'') mm.gvalue = 0 p mm.gvalue mm.close The result is: C:/ruby/lib/ruby/gems/1.8/gems/win32-mmap-0.2.0/lib/win32/mmap.rb:335:in `load'': marshal data too short (ArgumentError) from C:/ruby/lib/ruby/gems/1.8/gems/win32-mmap-0.2.0/lib/win32/mmap.rb:335:in `method_missing'' from mmap_test.rb:6 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/trac...
2010 Jun 15
0
MBTrading Navigator
...OleInPlaceObject_InPlaceDeactivate (0x17b8a8) fixme:mshtml:HlinkTarget_SetBrowseContext (0x182378)->((nil)) fixme:shdocvw:OleObject_Close (0x17b8a8)->(1) fixme:win:AnimateWindow partial stub fixme:storage:create_storagefile Storage share mode not implemented. err:ole:serialize_param Unhandled marshal type 7. err:ole:deserialize_param No handler for VT type 7! err:ole:serialize_param Unhandled marshal type 7. err:ole:deserialize_param No handler for VT type 7! err:ole:serialize_param Unhandled marshal type 7. err:ole:deserialize_param No handler for VT type 7! err:ole:serialize_param Unhandled m...
2008 Apr 24
3
Problem joining XP SP2 Machines to the domain
...to be able to join the domain 100% of the time. I have many clients, and adding this file to the lmhosts file everywhere isn't feasible. The real question is - why doesn't WINS work? I can run net view and see all the machines.. I'd really appreciate any help you guys can provide. -Marshall
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 l...
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...
2013 Sep 27
1
9.2-RC4 amd64 panic: vm_page_unwire
...Xfast_syscall+0xf7 Uptime: 6d7h46m14s Is this a known problem? Should I file a PR? What additional information should I provide? I have made the core.txt.[0-2] files available in the following directory. The directory is not browsable. http://www.riverwillow.net.au/~john/92rc4/ -- John Marshall -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130927/b2540c66/attachment.sig>
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...
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 c...
2003 Jun 17
1
Primary Domain Controller problems
...in-floor (192.168.1.100) couldn't find service stephany_berry [2003/06/17 08:54:30, 0] smbd/service.c:make_connection(248) main-floor (192.168.1.100) couldn't find service stephany_berry [2003/06/17 09:34:39, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206) api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON. [2003/06/17 09:34:39, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200) api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed. [2003/06/17 09:38:02, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206) api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON. [2003/06/17 09:38:02, 0] rpc_server/s...
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
...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 object can be 'marshalled' using these functions. Probably I am doing something wrong in the unmarshal() function, perhaps with assign().   Thank you in advance!   AJ     ######### # Creation of test data ######### setClass(   Class="Test",     representation=representation(       amounts="data.frame&q...