Package: charm
Version: 1.9.1-2
Severity: normal

Seems to be related to 616...@bugs.debian.org

I changed to the standard drafts directory ~/.ljdrafts and performed the 
following steps:

Using the metaweb API aka wordpress

1. Launch charm
2. Post a new entry [p]
3. Edit the entry and save it. [e]
4. Quit charm [q]
5. Save the current session [y]

6. Resume the old session with charm -r drafts_your_timestamp
7. Press [p]
8. Quit charm [q]
9. Save the current session [n]

The following error message appears:

Traceback (most recent call last):
  File "/usr/bin/charm", line 14, in <module>
    ljcharm.main()
  File "/usr/share/charm/ljcharm.py", line 6220, in main
    jobj.do_metaweb(opts, resumeold, xpostfile, template, quick_opt)
  File "/usr/share/charm/ljcharm.py", line 5782, in do_metaweb
    self.main_blog(opts, resumeold, xpostfile, template, quick_opt)
  File "/usr/share/charm/ljcharm.py", line 5530, in main_blog
    self.blog_menu()
  File "/usr/share/charm/ljcharm.py", line 5477, in blog_menu
    repeat_ok = self.blog_post_menu()
  File "/usr/share/charm/ljcharm.py", line 5402, in blog_post_menu
    return self.blog_common_menu("BLOG POSTING MENU", 0)
  File "/usr/share/charm/ljcharm.py", line 5356, in blog_common_menu
    self.do_quit()
  File "/usr/share/charm/ljcharm.py", line 2153, in do_quit
    self.save_session(1)
  File "/usr/share/charm/ljcharm.py", line 1164, in save_session
    os.unlink(mfname)
OSError: [Errno 2] No such file or directory: '/.meta_20110304_125322'



What did i expect?

This error only appears when i launch charm in ~/.ljdrafts/. No matter where i 
launch charm there should be no such error message. Obviously charm tries to 
delete the meta data of my draft file and fails. Like i said in 
616...@bugs.debian.org, charm should not delete the original draft and meta 
file when someone follows my steps above.

Quick solution?

Don't launch charm in ~/.ljdrafts/. 

Regards
Markus

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages charm depends on:
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-feedparser       4.1-14           Universal Feed Parser for Python
ii  python-support          1.0.11           automated rebuilding support for P

charm recommends no packages.

charm suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to