AttributeError prevents application from opening

Bug #1196172 reported by Earthisthering on 2013-06-30
2
Affects Status Importance Assigned to Milestone
Advanced Comic Book Format
Undecided
Unassigned

Bug Description

This is the first time I have tried using this program; it is a completely clean install of the latest version (0.98). I am running Windows 7. I have Python 2.7 installed.
When I try to open acbf.exe in any way, I receive a message stating that "Errors occurred".
The log file is as follows:
Traceback (most recent call last):
  File "acbfv.py", line 131, in <module>
  File "acbfv.py", line 123, in run
  File "main.pyc", line 27, in __init__
  File "preferences.pyc", line 11, in __init__
  File "preferences.pyc", line 50, in load_preferences
  File "preferences.pyc", line 70, in set_value
AttributeError: 'NoneType' object has no attribute 'text'

This occurs whether or not I am trying to open a comic file, through the command line as well as the graphical file manager.
I found an older version of the program (0.6), which seems to work without issue.

description: updated
Robert Pastierovic (just-me) wrote :

Hi,

can you check if you have C:\Users\[username]\acbfv_conf directory and in it a preferences.xml file? It should look like this:

<preferences>
  <version>0.98</version>
  <bg_color_override>False</bg_color_override>
  <bg_color>#000000</bg_color>
  <fullscreen_toolbar_hiding>True</fullscreen_toolbar_hiding>
  <image_resize_filter>0</image_resize_filter>
  <image_stretch>True</image_stretch>
  <scroll_step>2</scroll_step>
  <popup_text_showing>False</popup_text_showing>
  <progress_bar_showing>True</progress_bar_showing>
  <progress_bar_width>3</progress_bar_width>
  <progress_bar_color>#aaaaaa</progress_bar_color>
  <normal_font>Default</normal_font>
  <emphasis_font>Default</emphasis_font>
  <strong_font>Default</strong_font>
  <code_font>Default</code_font>
  <commentary_font>Default</commentary_font>
  <font_color_default>#000000</font_color_default>
  <font_color_inverted>#ffffff</font_color_inverted>
  <library_books_per_page>5</library_books_per_page>
  <library_cleanup>True</library_cleanup>
  <library_layout>0</library_layout>
  <library_default_sort_order>1</library_default_sort_order>
  <default_language>0</default_language>
  <autorotate>False</autorotate>
  <tmpfs>False</tmpfs>
</preferences>

Try deleting all files in acbfv_conf directory all the whole directory and run the application again. BTW, you don't need to have python to run acbf.exe. In my Win7 virtual machine all runs fine.

Earthisthering (earthisthering) wrote :

Robert: wonderful! That seems to have fixed it. Thanks a bundle!

Changed in acbf:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers