search for: marshall

Displaying 20 results from an estimated 1186 matches for "marshall".

Did you mean: marshal
2006 Jul 21
0
[RESOLVED] Marshal.dump not dumping entire object?
...;> start_time.date_precision => #<Runt::DPrecision::Precision:0x2753cfc @precision=4> >> start_time.date_precision.precision => 4 >> obj.date_precision => nil as you can see - after round tripping through Marshal, date_precision isn''t restored (likely not marshalled) to obj. Is is possible that Runt''s date_precision violates a rule for Marshal.dump? I can note from the source the following, #Pseudo Singletons: YEAR = Precision.year MONTH = Precision.month DAY = Precision.day I seem to remember something about singletons and YAML. Does...
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...
2006 Jul 21
0
Marshal.dump not dumping entire object?
...;> start_time.date_precision => #<Runt::DPrecision::Precision:0x2753cfc @precision=4> >> start_time.date_precision.precision => 4 >> obj.date_precision => nil as you can see - after round tripping through Marshal, date_precision isn''t restored (likely not marshalled) to obj. Is is possible that Runt''s date_precision violates a rule for Marshal.dump? I can note from the source the following, #Pseudo Singletons: YEAR = Precision.year MONTH = Precision.month DAY = Precision.day I seem to remember something about singletons and YAML. Does...
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
...e 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 = Marshal.dump(self) For the getter in method_missing I did: obj = memcpy(buf, @address, @size) val = object.send(obj.to_sym...
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 su...
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
...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 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, "TypeErro...
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 have blown it out. Has anyone else seen "marshal data too
2006 May 24
1
How to marshal Javascript data?
...9;m at a bit of a loss as to how to do it. What I would like to do is present the user with a link. On invocation of the link, my Javascript function is invoked, returning an object with all the relevent data I need (mostly just numeric data). Now I want to send the data to the server. How do I marshall that data up and send it to the server? Do I have to somehow wrap all this in some sort of form containing only hidden fields? Am I coming at this from the right direction? What''s the right way to do it? Thanks, Brad -- Bradley Mazurek
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/sr...
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&qu...