Skip to content

API files command is not working properly, traceback to functionLibrary unpack error #156

@edaniszewski

Description

@edaniszewski

Traceback:

  edaniszewski@BCDL52252:~/gfsmaster/GFS$ python client.py files
  10
  Traceback (most recent call last):
    File "client.py", line 10, in <module>
      API.fileList()
    File "/home/edaniszewski/gfsmaster/GFS/API.py", line 458, in fileList
      data = fL.recv(m)
    File "/home/edaniszewski/gfsmaster/GFS/functionLibrary.py", line 136, in recv
      msgLen = packer.unpack(connection.recv(4))[0]
  struct.error: unpack requires a string argument of length 4

Other commands I have tried seem to work, but for whatever reason, its not allowing me to execute the files command. It looks like it originates in the functionLibrary recv function, something to do with the structs?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions