search for: pickle

Displaying 20 results from an estimated 136 matches for "pickle".

2016 May 11
2
ssh 6.6.1, PubkeyAcceptedKeyTypes
So I add the line PubkeyAcceptedKeyTypes +ssh-dss to my opensshd_config file. When I restart sshd, I am told that May 11 09:33:14 pickles systemd: Started OpenSSH Server Key Generation. May 11 09:33:14 pickles systemd: Started OpenSSH server daemon. May 11 09:33:14 pickles systemd: Starting OpenSSH server daemon... May 11 09:33:14 pickles sshd: /etc/ssh/sshd_config: line 156: Bad configuration option: PubkeyAcceptedKeyTypes May 11 0...
2010 Feb 03
3
pickle in R
Hello all! I was wondering if there is a way to pickle an R object into a file like it is possible in python? Such as you have an complicated R object(not a dataframe) , you use a function to write it to a file and than you have a function where you can retrieve the object from that file later on. Thanks Christoph
2006 Sep 07
0
yum: could not load sqlite, falling back to pickle
...the issues with yum consuming the machine by allocating memory until it croaked (versioning issue with sqlite), and with the machine now stable and fully updated, I happened to notice this message at the start of yum runs: # yum check-update Warning, could not load sqlite, falling back to pickle Is this expected, or indication of a further problem? -- ----------------------------------------------------------------- Daniel Senie dts at senie.com Amaranth Networks Inc. http://www.amaranth.com "George Orwell was only off by...
2015 May 21
3
[LLVMdev] [cfe-dev] LLVM IRC channel flooded?
YMMV, but I think when I tried this with buildbot 250 was the largest I could get per build, no matter how many I told it to keep. Sent from my iPad > On May 20, 2015, at 6:27 PM, Sean Silva <chisophugis at gmail.com> wrote: > > > >> On Tue, May 19, 2015 at 12:50 PM, Reid Kleckner <rnk at google.com> wrote: >>> On Tue, May 19, 2015 at 11:50 AM, Chris
2010 Feb 01
3
validating both sides of a has_one relationship breaks pickle/machinist tests
...ns, however, I don''t see this issue addressed specifically. ex: class Foo has_one :schedule, :dependent => :destroy validates_presence_of :schedule class Schedule belongs_to :foo validates_presence_of :foo_id this creates a circular dependency that breaks test frameworks like pickle and machinist. At first I was surprised a little that you can contsruct objects with this constraint ...you can of course with "new" and "save" ...though I it sounds like the destroy will cause a problem. http://mohammed.morsi.org/blog/taxonomy/term/29 is there a workaround for...
2016 Sep 26
2
Memory corruption when testing nbdkit python plugin with nbd-tester-client?
...kit: python[1]: error: write reply: Broken pipe nbdkit: python[3]: error: client sent NBD_OPT_ABORT to abort the connection nbdkit: python[6]: error: ssd-ftl-wearleveling.py: callback failed: close Traceback (most recent call last): File "ssd-ftl-wearleveling.py", line 221, in close pickle.dump(lbahist, f) File "/usr/lib/python2.7/pickle.py", line 1370, in dump Segmentation fault (core dumped) My close function just dumps the disk image and write access history with python pickle. It does not have any return statement, and because of that I seriously doubt that said clos...
2012 Mar 20
1
issues with geo-replication
...line 154, in twrap tf(*aa) File "/opt/glusterfs/3.2.5/local/libexec//glusterfs/python/syncdaemon/repce.py", line 117, in listen rid, exc, res = recv(self.inf) File "/opt/glusterfs/3.2.5/local/libexec//glusterfs/python/syncdaemon/repce.py", line 41, in recv return pickle.load(inf) EOFError [2012-03-20 19:29:10.523721] D [monitor(monitor):73:monitor] Monitor: worker died before establishing connection [2012-03-20 19:29:10.523993] I [monitor(monitor):18:set_state] Monitor: new state: faulty [2012-03-20 19:29:20.524297] I [monitor(monitor):59:monitor] Monitor: -------...
2003 Aug 22
2
a pickle with ranks and reals?
I predicted that y would increase as x increased. However, I only made the prediction on the ranks of the scores. The ranks don't correlate with predicted. And, I don't think a regression on the ranks is warranted. However, the actual scores do yield a significant slope for b, and a significant R^2 using a linear regression (y is the value and x is the predicted rank). What
2017 Sep 20
4
glib update problems
any idea how to get out of this pickle? [root at oem /home/jason]$yum update glibc Loaded plugins: product-id, rhnplugin, search-disabled-repos, security This system is receiving updates from RHN Classic or Red Hat Satellite. Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package glibc.x86_64...
2013 Dec 17
4
Headless system
So I'm in a bit of a pickle ... I have a machine that needs to be repurposed from WinXP to CentOS. I downloaded the CentOS DVD and all then realized ... I don't have a keyboard/mouse for the machine. It only has USB ports on it, and I don't have a single available USB keyboard that I can plug in. Bit of a problem....
2019 Nov 22
3
Re: [PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
...ETHER IN CONTRACT, STRICT LIABILITY, > +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT > +# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > +# SUCH DAMAGE. > + > +# See test-python.py. > + > +import nbdkit > +import sys > +import pickle > +import codecs > + > +def api_version (): > + return 2 > + > +cfg = {} > + > +def config (k, v): > + global cfg > + if k == "cfg": > + cfg = pickle.loads (codecs.decode (v.encode(), "base64")) > + > +def config_complete ()...
2004 Oct 15
4
NetBios problem with Samba 2.x
I'm in a bit of a pickle, and I need some help. I'm forced to disable netbios on any machine that leaves the company because of how MS Exchange works over a VPN. I have Samba 2.x on two Compaq Tru64 5.x machines, each with one (public) share. With netbios enabled, the client machines can access the share with no issu...
2019 Nov 23
2
Re: [PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
...uot; > > Good point, I'll fix this. We could probably also have nbdkit do > something with the docstring, such as printing it in --help output, > although that's something for another patch series. > > > > + h = nbd.NBD () > > > + cfg = codecs.encode (pickle.dumps (cfg), "base64").decode() > > > > base64.b64encode() is better, avoiding unwanted newlines. > > Ah OK, I originally added strip(), but this is better. > > > > + cmd = ["nbdkit", "-v", "-s", "--exit-with-parent"...
2016 Sep 26
0
Re: Memory corruption when testing nbdkit python plugin with nbd-tester-client?
...ite reply: Broken pipe > nbdkit: python[3]: error: client sent NBD_OPT_ABORT to abort the connection > nbdkit: python[6]: error: ssd-ftl-wearleveling.py: callback failed: close > Traceback (most recent call last): > File "ssd-ftl-wearleveling.py", line 221, in close > pickle.dump(lbahist, f) > File "/usr/lib/python2.7/pickle.py", line 1370, in dump > Segmentation fault (core dumped) > > My close function just dumps the disk image and write access history > with python pickle. It does not have any return statement, and because > of that I...
2016 Sep 26
2
Re: Memory corruption when testing nbdkit python plugin with nbd-tester-client?
...pe >> nbdkit: python[3]: error: client sent NBD_OPT_ABORT to abort the connection >> nbdkit: python[6]: error: ssd-ftl-wearleveling.py: callback failed: close >> Traceback (most recent call last): >> File "ssd-ftl-wearleveling.py", line 221, in close >> pickle.dump(lbahist, f) >> File "/usr/lib/python2.7/pickle.py", line 1370, in dump >> Segmentation fault (core dumped) >> >> My close function just dumps the disk image and write access history >> with python pickle. It does not have any return statement, and beca...
2019 Nov 22
0
[PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
...CAUSED AND +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + +# See test-python.py. + +import nbdkit +import sys +import pickle +import codecs + +def api_version (): + return 2 + +cfg = {} + +def config (k, v): + global cfg + if k == "cfg": + cfg = pickle.loads (codecs.decode (v.encode(), "base64")) + +def config_complete (): + print ("set_error = %r" % nbdkit.set_error) + +d...
2007 Feb 12
5
chown command goof up
...anted to do: Started with user1. Got everything setup just right. Then created user2. I wanted to use all the settings, mail, etc. from user1 for user2. My thought was to just copy everything in /home/user1 to /home/user2, then use chown on all of the files. This is where I got myself into this pickle... Any ideas? -- --- David Woyciesjes
2016 Sep 26
0
Re: Memory corruption when testing nbdkit python plugin with nbd-tester-client?
...> #14 0x0000000000405e73 in start_thread (datav=0x7fffffffdd40) at sockets.c:220 > #15 0x00007ffff79c0184 in start_thread (arg=0x7ffff4c26700) at pthread_create.c:312 > #16 0x00007ffff76ed37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 And another one... my close function pickles all python objects which were accessed in the plugin. Maybe that's what exposes the memory corruption on close. (gdb) run -n -f /software/nbdkit/plugins/python/.libs/nbdkit-python-plugin.so script=/software/nbdkit/plugins/python/ssd-ftl-wearleveling.py disksize=52428800 Starting program: /so...
2011 Dec 08
4
Backup Redux
...is my situation : we have pretty much all Sun hardware with a Sun StorageTek SL24 tape unit backing it all up. OSes are a combination of RHEL and CentOS. The software we are using is EMC NetWorker Management Console version 3.5.1.Build.269 based on NetWorker version 7.5.1.Build.269 The pickle we are in right now is that this software is Java based, and stops working at a very specific release of JRE (1.6.26 or something like that). We still have some machines around with that release and it looks like we need to keep at least 1 of them, but this is clearly not a long term viable soluti...
2015 Nov 10
2
a VM does not get dhcp
...n its IP address is set to manual. It's RHEL7 and I'm only trying IPv4. I'm hoping some can rule out (or suggest what might be broken in) libvirt/policy based routing. I see those offers box-dhcpd makes are exactly for the subnet of box-dhcrelay's virtual NIC/subnet. It's a pickle. An expert's thought would be great to hear.