Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick examples not working #2

Open
behnood-dianat opened this issue Mar 11, 2024 · 0 comments
Open

Quick examples not working #2

behnood-dianat opened this issue Mar 11, 2024 · 0 comments
Assignees

Comments

@behnood-dianat
Copy link

I'm trying to run the examples in VScode python3.10 Ubuntu 22.04
I get this error:

TimeoutError Traceback (most recent call last)
File ~/.local/lib/python3.10/site-packages/pyvar/ml/utils/retriever.py:46, in FTP.init(self, host, user, passwd)
45 try:
---> 46 self.ftp = ftplib.FTP(self.host, self.user, self.passwd)
47 try:

File /usr/lib/python3.10/ftplib.py:121, in FTP.init(self, host, user, passwd, acct, timeout, source_address, encoding)
120 if host:
--> 121 self.connect(host)
122 if user:

File /usr/lib/python3.10/ftplib.py:158, in FTP.connect(self, host, port, timeout, source_address)
157 sys.audit("ftplib.connect", self, self.host, self.port)
--> 158 self.sock = socket.create_connection((self.host, self.port), self.timeout,
159 source_address=self.source_address)
160 self.af = self.sock.family

File /usr/lib/python3.10/socket.py:845, in create_connection(address, timeout, source_address)
844 try:
--> 845 raise err
846 finally:
847 # Break explicitly a reference cycle

File /usr/lib/python3.10/socket.py:833, in create_connection(address, timeout, source_address)
...
-> 1144 mod = inspect.getmodule(cf.tb_frame)
1145 if mod is not None:
1146 mod_name = mod.name

AttributeError: 'tuple' object has no attribute 'tb_frame'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants