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

an erro happened when i use this code #1

Open
zhanshenzonghengtianxia opened this issue Nov 8, 2018 · 0 comments
Open

an erro happened when i use this code #1

zhanshenzonghengtianxia opened this issue Nov 8, 2018 · 0 comments

Comments

@zhanshenzonghengtianxia
Copy link

could you give an example about the usage? i do not know how to use it ,when a use the pygsf.py, an erro happened :
Traceback (most recent call last):
File "/home/wangjie/Downloads/pygsf-master/tryread.py", line 68, in
numberofbytes, recordidentifier, datagram = r.readDatagram()
File "/home/wangjie/Downloads/pygsf-master/pygsf.py", line 847, in readDatagram
dg = UNKNOWN_RECORD(self.fileptr, numberofbytes, recordidentifier, hdrlen)
File "/home/wangjie/Downloads/pygsf-master/pygsf.py", line 172, in init
self.fileptr.seek(numbytes, 1) # set the file ptr to the end of the record
ValueError: seek out of range

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

1 participant