Hello friends!!!
I have made an app with wxpython which connects to an ftp server and downloads newer versions
of files ( images ). i have installed this app in more than 100 pc’s ( all of them on various flavours of Windows )
but on a very few , when the app starts , i get the following traceback , and the app stops because
it cannot perform the task. I repeat , this happens on very few of the pc’s.
Traceback (most recent call last):
File “C:\Python25\My_Tablet_Sales_Project\Tablet_Main_Frame.pyw”, line 607, in
frame = create(None)
File “C:\Python25\My_Tablet_Sales_Project\Tablet_Main_Frame.pyw”, line 39, in create
return Tablet_Midaki(parent)
File “C:\Python25\My_Tablet_Sales_Project\Tablet_Main_Frame.pyw”, line 178, in init
Update_Codes_Database()
File “C:\Python25\My_Tablet_Sales_Project\FTP_Module.py”, line 436, in Update_Codes_Database
ftp.retrlines(‘NLST’, Remote_Filenames.append)
File “C:\Python25\lib\ftplib.py”, line 407, in retrlines
conn = self.transfercmd(cmd)
File “C:\Python25\lib\ftplib.py”, line 356, in transfercmd
return self.ntransfercmd(cmd, rest)[0]
File “C:\Python25\lib\ftplib.py”, line 339, in ntransfercmd
sock = self.makeport()
File “C:\Python25\lib\ftplib.py”, line 292, in makeport
resp = self.sendport(host, port)
File “C:\Python25\lib\ftplib.py”, line 256, in sendport
return self.voidcmd(cmd)
File “C:\Python25\lib\ftplib.py”, line 246, in voidcmd
return self.voidresp()
File “C:\Python25\lib\ftplib.py”, line 221, in voidresp
resp = self.getresp()
File “C:\Python25\lib\ftplib.py”, line 216, in getresp
raise error_perm, resp
error_perm: 501 Server cannot accept argument.
``
Any clues how to fix or prevent it?
Thank you in advance ,
Elias Alhanatis