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

labelImg 1.5.2 on windows crashed #221

Closed
pongrut opened this Issue Jan 6, 2018 · 14 comments

Comments

Projects
None yet
@pongrut
Copy link

pongrut commented Jan 6, 2018

  • OS: windows 10
  • PyQt version:

I have used labelImg 1.5.2 on windows for many days.
Today I was opening an image then I try to change its .xml with notepad to see the result.
After I closed program then I cannot open program again it keep throw this error even I have tried to reboot my computer many times.

Traceback (most recent call last):
File "", line 1344, in
File "", line 1340, in main
File "", line 1333, in get_main_app
File "", line 93, in init
File "Z:\home\darrenl\tmp\labelImg\build-tools\build\labelImg\out00-PYZ.pyz\libs.settings", line 33, in load
File "Z:\home\darrenl\tmp\labelImg\build-tools\build\labelImg\out00-PYZ.pyz\pickle", line 1378, in load
File "Z:\home\darrenl\tmp\labelImg\build-tools\build\labelImg\out00-PYZ.pyz\pickle", line 858, in load
File "Z:\home\darrenl\tmp\labelImg\build-tools\build\labelImg\out00-PYZ.pyz\pickle", line 880, in load_eof
EOFError

Any suggestion please?

@nikitaverbis

This comment has been minimized.

Copy link

nikitaverbis commented Jan 7, 2018

Add any example of your xml-file and image if possible.

@pongrut

This comment has been minimized.

Copy link
Author

pongrut commented Jan 8, 2018

Here it is. However, I can open the program on another computer but the main one I cannot open it anymore.

<?xml version="1.0"?>

-<annotation>

<folder>object-detection-macaroni_images</folder>

<filename>0ShAyPFRqBeO60QkYN7w_Mac Cheese 2.jpg</filename>

<path>F:/object-detection-macaroni_images/0ShAyPFRqBeO60QkYN7w_Mac Cheese 2.jpg</path>


-<source>

<database>Unknown</database>

</source>


-<size>

<width>620</width>

<height>414</height>

<depth>3</depth>

</size>

<segmented>0</segmented>


-<object>

<name>macncheese</name>

<pose>Unspecified</pose>

<truncated>0</truncated>

<difficult>0</difficult>


-<bndbox>

<xmin>0</xmin>

<ymin>9</ymin>

<xmax>565</xmax>

<ymax>313</ymax>

</bndbox>

</object>

</annotation>
@a9595776

This comment has been minimized.

Copy link

a9595776 commented Jan 30, 2018

I have this error. I don't know how to solve it....

@IvyGongoogle

This comment has been minimized.

Copy link

IvyGongoogle commented Feb 9, 2018

I have the same error

@hiroalchem

This comment has been minimized.

Copy link

hiroalchem commented Feb 9, 2018

I have the same error too.....

@IvyGongoogle

This comment has been minimized.

Copy link

IvyGongoogle commented Feb 9, 2018

@tzutalin can you give some advises? looking forward to your reply

@Mingta

This comment has been minimized.

Copy link

Mingta commented Feb 16, 2018

I have the same error in Windows version 1.6.0.
By the way, the old version 1.5.0 works just fine.

@seovchinnikov

This comment has been minimized.

Copy link

seovchinnikov commented Feb 19, 2018

+1

@zuifengwuchou

This comment has been minimized.

Copy link

zuifengwuchou commented Feb 24, 2018

Just delete the file .labelImgSettings.pkl which is locate at C:\\Users\your_account\. Then reopen LabelImg.exe will be fine.

@pongrut

This comment has been minimized.

Copy link
Author

pongrut commented Feb 24, 2018

thank @zuifengwuchou the solution works for me.
"Just delete the file .labelImgSettings.pkl which is locate at C:\Users\your_account. Then reopen LabelImg.exe will be fine."

@pongrut pongrut closed this Feb 24, 2018

@IvyGongoogle

This comment has been minimized.

Copy link

IvyGongoogle commented Feb 26, 2018

@zuifengwuchou thanks a million

@FMsunyh

This comment has been minimized.

Copy link

FMsunyh commented Apr 11, 2018

thank @zuifengwuchou the solution works for me.
thanks,
thanks,
thanks,
thanks,
thanks,

@Akashpanchal95

This comment has been minimized.

Copy link

Akashpanchal95 commented Apr 20, 2018

thanks, @zuifengwuchou its work for me.

This was referenced May 17, 2018

@senisna

This comment has been minimized.

Copy link

senisna commented Apr 11, 2019

this my sounds stupid but it worked for me
open the kabelImg.exe directly from winrar
just don't extract it and it will open smothly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.