[Ironpython-users] IronPython, Daily Digest 5/15/2015

CodePlex no_reply at codeplex.com
Sat May 16 15:44:26 CEST 2015


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] Error while using Ironpython rpyc.classic.upload_file()

----------------------------------------------

ISSUES

1. [New issue] Error while using Ironpython rpyc.classic.upload_file()
http://ironpython.codeplex.com/workitem/43125
User arjunna has proposed the issue:

"I am trying to upload a .gz file from my local Windows machine (with iron python installed) to remote Linux machine.Using IronPython as python interpreter.

Python code works great with normal python (cpython) interpreter can upload .gz files. Initially I thought because of the size of my .gz it failed but I have tried uploading a large text file (45MB) that copies well with IronPython but .gz(400kb) fails. Am i missing something ?

Iron Python version 2.7

Thanks

Python code
r= "10.xx.xx.130" #change this
conn = rpyc.classic.connect(r)
localfile= "C:\Drivers\ixgbe-3.23.2.1.tar.gz"
remotepath= "/home/admin/Desktop/myfolder/ixgbe-3.23.2.1.tar.gz"
rpyc.classic.upload_file(conn, localfile, remotepath)

Traceback (most recent call last): File
> "/usr/lib/python2.7/site-packages/rpyc-3.3.0-py2.7.egg/rpyc/core/protocol.py",
> line 305, in _dispatch_request
> res = self._HANDLERShandler File "/usr/lib/python2.7/site-packages/rpyc-3.3.0-py2.7.egg/rpyc/core/protocol.py",
> line 535, in _handle_call
> return self._local_objectsoid UnicodeEncodeError: 'ascii' codec can't encode character u'\x8b' in
> position 1: ordinal not in range(128)
"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20150516/816b9287/attachment.html>


More information about the Ironpython-users mailing list