{"issue":{"title":"2.0: Bugs with windows","user":{"login":"Themushi","id":297883,"url":"https://api.github.com/users/Themushi","avatar_url":"https://secure.gravatar.com/avatar/70717aaac22dd5ccd9dd2cd40880a642?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"70717aaac22dd5ccd9dd2cd40880a642"},"created_at":"2011-12-27T17:35:24Z","milestone":null,"labels":[],"state":"open","updated_at":"2011-12-27T22:00:01Z","id":2664859,"closed_at":null,"html_url":"https://github.com/wbsoft/frescobaldi/issues/8","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Hi,\r\n\r\nI've been waiting for Frescobaldi 2.0 for a while, since I'm a Windows user and this version was supposed to work well on this OS.\r\n\r\nYet, I'm encountering many bugs (I've been trying the bug report system, but I use a webmail and the command I wrote inWindows registry doesn't work with Frescobaldi).\r\n\r\nFirst, I tried to install **poppler**. After many researchs, I think I've been successful, as Frescobaldi seems to “detect” poppler (I have no error message linked to poppler website left in the preview window). But I still can't have any preview… (the window remains dark grey)\r\n(I didn't try anything with the integrated midi-player)\r\n\r\nThen, **opening a .ly file is impossible** (Frescobaldi runs during 0,01 second before closing, but whithout any error).\r\nWhen I try a drag'n'drop to open a file, I have this error (sometimes it's longer):\r\n\r\n    Traceback (most recent call last):\r\n    File \"C:\\Python27\\lib\\site-packages\\frescobaldi_app\\mainwindow.py\", line 188, in slotViewChanged\r\n    self.updateWindowTitle()\r\n    File \"C:\\Python27\\lib\\site-packages\\frescobaldi_app\\mainwindow.py\", line 220, in updateWindowTitle\r\n    name.append(util.homify(doc.url().toLocalFile()))\r\n    File \"C:\\Python27\\lib\\site-packages\\frescobaldi_app\\util.py\", line 62, in homify\r\n    homedir = os.path.expanduser('~')\r\n    File \"C:\\Python27\\lib\\ntpath.py\", line 301, in expanduser\r\n    return userhome + path[i:]\r\n    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 11: ordinal not in range(128)\r\n\r\nAfter this error, I have the file in my tab bar with the right filename, but the file is empty (Fortunately, it doesn't “destroy” the file, Frescobaldi just can't load it).\r\n(I remarked that the **UnicodeDecodeError** thing seems to occur very often, but I don't know why. Perhaps a matter of accented characters? (I'm french, so there are many of them !))\r\n\r\nHowever, I can create a file and save it (but then I can't re-open it anymore), and the setup-wizard is OK.\r\nRunning Lilypond is also possible, and I can have the .pdf and .mid files. But I have some internal errors, like :\r\n\r\n    Traceback (most recent call last):\r\n    File \"C:\\Python27\\lib\\site-packages\\frescobaldi_app\\musicview\\__init__.py\", line 102, in openDocument\r\n    self.widget().openDocument(doc)\r\n    File \"C:\\Python27\\lib\\site-packages\\frescobaldi_app\\musicview\\widget.py\", line 111, in openDocument\r\n    self._links = pointandclick.links(document)\r\n    File \"C:\\Python27\\lib\\site-packages\\frescobaldi_app\\musicview\\pointandclick.py\", line 62, in links\r\n    l = _cache[document] = Links(document)\r\n    File \"C:\\Python27\\lib\\site-packages\\frescobaldi_app\\musicview\\pointandclick.py\", line 82, in __init__\r\n    m = textedit_match(link.url())\r\n    TypeError: expected string or buffer\r\n\r\n(A problem with the point-and-click feature I think. So I tried Ctrl+Shift+P (to avoid it). The PDF preview still doesn't appear though.)\r\n\r\nSometimes, when parsing or typing a function, I encounter a bug, even if the syntax color is OK. It just interrumpts me.\r\n**Features like copy-paste rythm, quick insert, lyrics hyphenation (with Scribus's dicts) etc. are working perfectly well.**\r\n\r\nI also have a bug (unicodeerror) when I open “Lilypond preferences” in the option menu (even if I can change the options there).\r\n\r\nAt least, Frescobaldi doesn't “crash”, like it did when I once tried to install a previous version, some months ago. But I can't say it “works”. I'm very disappointed : Frescobaldi's features are enjoyable and well-designed, but I still can't use them !\r\n\r\nI hope this report will help !\r\n\r\n(Please excuse my poor english : I'm french !)","number":8,"url":"https://api.github.com/repos/wbsoft/frescobaldi/issues/8","comments":2,"assignee":null},"comment":{"user":{"login":"wbsoft","id":588454,"url":"https://api.github.com/users/wbsoft","avatar_url":"https://secure.gravatar.com/avatar/79cb081e7cb631214bf23895b4e9012c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"79cb081e7cb631214bf23895b4e9012c"},"created_at":"2011-12-27T22:00:01Z","updated_at":"2011-12-27T22:00:01Z","id":3285818,"body":"After further reading: you *have* popplerqt4 working, otherwise you'd see the error message. That the PDF does not show up can have the same reason normal file loading does not succeed, because of accented characters and some encoding inconsistency in Windows. Or the poppler-qt4.DLL is not in the path (but that'd raise an ImportError I think).\r\n\r\nThen the link.url() seems to be None, while the link is a LinkBrowse type. So may be even LilyPond writes the filenames in the wrong encoding... I hope other Windows users can enlighten me on this...\r\n\r\nMany thanks for the effort you took to report these issues!\r\n\r\n","url":"https://api.github.com/repos/wbsoft/frescobaldi/issues/comments/3285818"},"action":"created"}