Coder Social home page Coder Social logo

Comments (4)

omiid-ad avatar omiid-ad commented on August 14, 2024

Hello!

Not sure if this is a pysftp bug but as of late I am getting an error message that states:

Exception ignored in: <function Connection.__del__ at 0x000001A9EF6CD288> Traceback (most recent call last): File "C:\Users\21321\AppData\Roaming\Python\Python37\site-packages\pysftp\__init__.py", line 1013, in __del__ File "C:\Users\21321\AppData\Roaming\Python\Python37\site-packages\pysftp\__init__.py", line 795, in close ImportError: sys.meta_path is None, Python is likely shutting down

Whenever the connection is beeing closed. It's pointing to "import logging" in the init.py file. Thought i'd put this error here, just in case, it's not somehow my system causing the error in the first place :)

Best Regards

Same here!

from pysftp.

abubelinha avatar abubelinha commented on August 14, 2024

Same problem here.
Windows 7
Python 3.8
pysftp 0.2.9

from pysftp.

Clean-Cole avatar Clean-Cole commented on August 14, 2024

Im flattered that people are finding this repo. It's very old work that I think was built in Python2.7. I'm happy to merge any fixes or improvements if you haven't already just forked, but there might be some more mature packages out that to help you faster.

I recommend using the Paramiko package directly for sftp usage in Python

https://docs.paramiko.org/en/stable/api/sftp.html

from pysftp.

abubelinha avatar abubelinha commented on August 14, 2024

Thanks for the info 👍
I wonder why a comment like yours does not appear in the original pysftp site
(looks like an orphan project, but I don't know how to open bitbucket issues @dundeemt)

from pysftp.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.