New config items break existing config files
Bug #250643 reported by
Swizec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyRoom |
Fix Released
|
Medium
|
Florian Heinle | ||
0.3 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to run pyroom trunk version (from 2 minutes ago) I get this:
Traceback (most recent call last):
File "pyroom.py", line 89, in <module>
pyroom = BasicEdit(
File "/home/
pyroom_
File "/home/
self.
File "/usr/lib/
raise NoOptionError(
NoOptionError: No option 'linespacing' in section: 'visual'
Please fix soon so I can go try if the new patch for two monitors works :P
Changed in pyroom: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
sorry that is my fault. The new linespacing option relies on there being a pyroom. conf in
linespacing option in the config. If you open up ~/.pyroom/
your favourite editor and add "linespacing = 2" under the [visual] section
so that it looks like this:
[visual]
theme = green
linenumber = 0
linespacing = 2
[editor]
session = True
autosavetime = 2
autosave = 0
Obviously, it is only the linespacing = 2 line that needs adding, you don't
have to change any of your settings to match those ones.
Its a known bug and is something that needs fixing.
2008/7/21 Swizec <email address hidden>:
> Public bug reported: style=style, pyroom_ config= pyroom_ config) swizec/ pyroom/ basic_edit. py", line 112, in __init__ config= pyroom_ config) swizec/ pyroom/ preferences. py", line 135, in __init__ get("visual" , "linespacing") python2. 5/ConfigParser. py", line 520, in get option, section) /bugs.launchpad .net/bugs/ 250643 style=style, pyroom_ config= pyroom_ config) swizec/ pyroom/ basic_edit. py", line 112, in __init__ config= pyroom_ config) swizec/ pyroom/ preferences. py", line 135, in __init__ get("visual" , "linespacing") python2. 5/ConfigParser. py", line 520, in get option, section)
>
> When trying to run pyroom trunk version (from 2 minutes ago) I get this:
>
> Traceback (most recent call last):
>
> File "pyroom.py", line 89, in <module>
> pyroom = BasicEdit(
>
> File "/home/
> pyroom_
>
> File "/home/
> self.linespacing = self.config.
>
> File "/usr/lib/
> raise NoOptionError(
>
> NoOptionError: No option 'linespacing' in section: 'visual'
>
>
> Please fix soon so I can go try if the new patch for two monitors works :P
>
> ** Affects: pyroom
> Importance: Undecided
> Status: New
>
> --
> Programming error in current trunk
> https:/
> You received this bug notification because you are a member of PyRoom
> Bug Squad, which is subscribed to PyRoom.
>
> Status in PyRoom: distraction-free writing: New
>
> Bug description:
> When trying to run pyroom trunk version (from 2 minutes ago) I get this:
>
> Traceback (most recent call last):
>
> File "pyroom.py", line 89, in <module>
> pyroom = BasicEdit(
>
> File "/home/
> pyroom_
>
> File "/home/
> self.linespacing = self.config.
>
> File "/usr/lib/
> raise NoOptionError(
>
> NoOptionError: No option 'linespacing' in section: 'visual'
>
>
> Please fix soon so I can go try if the new patch for two monitors works :P
>