AttributeError prevents application from opening
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Advanced Comic Book Format |
Invalid
|
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.
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> 0.98</version> override> False</ bg_color_ override> #000000< /bg_color> toolbar_ hiding> True</fullscree n_toolbar_ hiding> resize_ filter> 0</image_ resize_ filter> stretch> True</image_ stretch> step>2< /scroll_ step> text_showing> False</ popup_text_ showing> bar_showing> True</progress_ bar_showing> bar_width> 3</progress_ bar_width> bar_color> #aaaaaa< /progress_ bar_color> font>Default< /normal_ font> font>Default< /emphasis_ font> font>Default< /strong_ font> font>Default< /code_font> font>Default< /commentary_ font> color_default> #000000< /font_color_ default> color_inverted> #ffffff< /font_color_ inverted> books_per_ page>5< /library_ books_per_ page> cleanup> True</library_ cleanup> layout> 0</library_ layout> default_ sort_order> 1</library_ default_ sort_order> language> 0</default_ language> False</ autorotate> False</ tmpfs>
<version>
<bg_color_
<bg_color>
<fullscreen_
<image_
<image_
<scroll_
<popup_
<progress_
<progress_
<progress_
<normal_
<emphasis_
<strong_
<code_
<commentary_
<font_
<font_
<library_
<library_
<library_
<library_
<default_
<autorotate>
<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.