search for: marshalled

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

Did you mean: marshaled
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 th...
2011 Oct 26
8
IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type
Backstory: I''m trying to use DRb for some in-house utility code. DRb itself seems to 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 =
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 th...
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++
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
...new page = a.get "http://nytimes.com" Marhshal.dump(a) you get a problem. in particular, "TypeError: can''t dump TCPSocket". basically, don''t try to marshal a socket. however, if we make sure to finish the http connection after each use, then the agent can be marshalled safely. i accomplished this by inserting: http_obj.finish immediately prior to this line: return page if res_klass <= Net::HTTPSuccess in mechanize.rb, which is approximately line 587 in v 0.7.0 this is a crude hack that doesn''t, i think, respect keep-alive connections, but it...
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
...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&quot...