Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1] 2   Go Down

Author Topic: ABC Explorer stopped rendering score  (Read 9113 times)

0 Members and 1 Guest are viewing this topic.

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
ABC Explorer stopped rendering score
« on: June 17, 2012, 07:31:07 PM »

Hi,

I wonder if anyone's come across this before.  I haven't used ABC Explorer for a while, but its always been pretty much flawless in the past.   Now it sometimes doesn't display the score.  Instead it shows a green error message "Can't display the score -> second attempt, please wait" followed a second or so later by "Can't display the score: invalid ABC code".   It seems to depend on the file (or tune) as well, as it works with a few files.  I'm pretty sure its not the ABC content, as most of these files have previously been used to generate and save PDF output.

Anyone seem anything similar?

Thanks, Tony S
Logged
Tony S

summerstars

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 301
    • UK Surnames Genealogy Contact Site
Re: ABC Explorer stopped rendering score
« Reply #1 on: June 17, 2012, 07:42:00 PM »

If you send the content of one of the files causing the problems, we could then have a look at it for and try it in our copies etc
Logged
Dino Binci D/G, Sandpiper 3v D/G, Sandpiper C/F, Hohner Bb/Eb, Pariselle 1 Row in D, Streb

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #2 on: June 17, 2012, 08:18:05 PM »

Thanks.  Here's an example, from a file last modified last November so it clearly worked back then ...

X:1
T:Les Novis (trans.C)
C:Stephane Delicq
M:3/4
L:1/8
K:C
[|:CD|E3D EF|E2 CDEF|G3A GE|G4AB|c3B cd|c2 B2 A2|G3E GB|A4 DE|F3E FG|
F2FE DF|E3D EF|E4 A,B,|C2CB, CE|1D2 A,B,CE|D2E2E2|D4:|2D3G, B,D|C6|C6|]
|:CA eC Ae|B,E d4|A,F cA, Fc|G,E B4|A,F AA, FA|A,C AA, CA| A,E AA, EA|1G6:|2G4|]
Logged
Tony S

Roger Howard

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 606
Re: ABC Explorer stopped rendering score
« Reply #3 on: June 17, 2012, 08:26:03 PM »

I've just tried your file in my copy of ABCExplorer and it works fine - perhaps you should remove the programme and then reinstall. That should sort out any corrupt programme files. Good luck!

Roger
Logged
G/C Gaillard 2 row, 3 voice, D/G Lilly, D/G Pariselle 2.6 row, Preciosa Bb/Eb.

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #4 on: June 18, 2012, 09:08:23 AM »

Thanks.  I didn't really think it was the content, not just because that file used to work fine (on the same computer) but also because I get the malfunction if I create a new file, with new tune.  Sometimes with both new and existing files it draws the score, then it disappears to be replaced by those error messages.   

I should have mentioned that before posting here I uninstalled the program, and uninstalled Ghostscript, made sure all their files were gone, then reinstalled.   I didn't check for left over registry entries, so might try that again tonight.    I'm guessing it's a Ghostscript problem as everything else work, for example the tunes play.  Running abcm2ps from the command line on the same files works with no errors, but I don't know how to sanity check the contents of the .ps file it creates. 

Tony S
Logged
Tony S

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: ABC Explorer stopped rendering score
« Reply #5 on: June 18, 2012, 09:20:01 AM »

Running abcm2ps from the command line on the same files works with no errors, but I don't know how to sanity check the contents of the .ps file it creates. 

Do you have ghostview (gv) ? (GSview on Windows)

That's the first thing I'd use: simply view the file. It complains plenty if there's anything wrong with it.
Of course GV is basically a front end for ghostscript, so it may be that if your ghostscript  installation is broken gv/GSview won't work either.

I'm sure the suggestions made have been on the right track: ABC Explorer is a bundle of separate programs tied together with a graphical user interface, and it looks very much like one of those components has got broken.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Simon

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 449
  • Serenellini Selli C/F and Gold98 G/C
Re: ABC Explorer stopped rendering score
« Reply #6 on: June 18, 2012, 10:53:07 AM »

I don't know anything about ABC explorer and how strict it is, but you could try using [1 and [2 for the repeats instead of the shortcuts.
Logged

summerstars

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 301
    • UK Surnames Genealogy Contact Site
Re: ABC Explorer stopped rendering score
« Reply #7 on: June 18, 2012, 10:57:19 AM »

Gandy,

This might be an obvious question which you have already considered - Are we talking about about abc files which contain single tunes?  or is the problem with individual tunes within a larger abc file - If the latter then the problem may not lie withing the abc code for the tune that appears to be havng problms, but could be elsewhere within the file.
Logged
Dino Binci D/G, Sandpiper 3v D/G, Sandpiper C/F, Hohner Bb/Eb, Pariselle 1 Row in D, Streb

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #8 on: June 18, 2012, 01:20:16 PM »

Obvious questions are good. Most are one tune per file.   However that doesn't mean there isn't something else in the file that's upsetting it.  I'll try something created from scratch in Notepad or something.
Logged
Tony S

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #9 on: June 18, 2012, 01:54:14 PM »

Do you have ghostview (gv) ? (GSview on Windows)

Thanks, I'll follow up Ghostview.   A quick look from here suggests its ghostscript version specific, which might be a problem as ABC Explorer insists on using v7.06 which is earlier than those referenced on the GSview pages.   I'll try on a good installation first.
Logged
Tony S

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #10 on: June 18, 2012, 07:45:21 PM »

Hmm ... not much progress.  If I convert the file using the abcm2ps command line manually ... for example ..

c:abcm2ps "les novis.abc" -s0.65 -O les.ps

Then I can open the output file (les.ps in this case) perfectly with Gsview.  I haven't looked up that -s0.65 option, but it's what ABC Explorer says it uses as the command option so thought I'd better include that.   This test converts the whole file, which has the tune in two different keys, so doesn't quite replicate the fault scenario.
Logged
Tony S

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: ABC Explorer stopped rendering score
« Reply #11 on: June 19, 2012, 08:49:23 AM »

Then I can open the output file (les.ps in this case) perfectly with Gsview.  I haven't looked up that -s0.65 option

Scale factor. Default is 0.75 so your option is making the music a little smaller.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #12 on: June 20, 2012, 07:40:08 PM »

Well it looks like I'm completely goosed.   The .ps files created by ABC Explorer, or by abcm2ps, all view perfectly in Gsview.   ABC Explorer exports to PDF etc work fine as well (except the on screen preview doesn't show).   

I guess its time to start looking for an alternative application.   The prospect of rebuilding my PC or restoring back to it's configuration a couple of months ago doesn't bear thinking about.

Any recommendations for alternatives?
Logged
Tony S

Tyker

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 354
  • Cheviot C#DG,Hohners D and G/C
Re: ABC Explorer stopped rendering score
« Reply #13 on: June 20, 2012, 08:22:26 PM »

Have you tried uninstalling via CCleaner or Revo Uninstaller ?
Logged
Graeme - North Hampshire,UK

There is no noun that can't be verbed

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: ABC Explorer stopped rendering score
« Reply #14 on: June 20, 2012, 09:09:34 PM »

"Can't display the score: invalid ABC code".

Re-reading your original message: this suggests it's the conversion from ABC to postscript that is going wrong, not the displaying of the .ps file

Can you go to the command line, change to a directory where you have an ABC file, and type

abcm2ps xxxxx.abc

where xxxxx.abc is substituted with a real file name
You might have to find the abcm2ps.exe file and put the full path in front of it; no idea where but it's  going to be be something like
"c:\Program Files\abc explorer\bin\abcm2ps.exe"

If you get it to run, and there are error messages, they will tell you what abcm2ps thinks is wrong with the ABC code.

(I hope you know your way around the Windows command line processor; I used DOS for years and I still use the command line a lot in Linux, where it's actually very powerful)
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #15 on: June 20, 2012, 09:29:23 PM »

Cheers.  I get no error messages when I do that, for example ....

E:\Tony\ABC>c:abcm2ps led.abc -O=
abcm2ps-5.9.25 (November 2, 2011)
File led.abc
Output written on led.ps (1 page, 1 title, 20180 bytes)

E:\Tony\ABC>


Then I can open led.ps in Gsview and it looks fine.

I think what's happening in ABC Explorer is that something is taking too long, because there's always a pause before the error comes up.  And its only when rendering for screen display rather than for PDF export.   Some funnies, sometimes the score displays OK, but the error appears after a few seconds, or when the cursor's moved or when the ABC code is amended.   And strangest of all the Dam Busters' March works perfectly, always, but the error appears if I add another tune into that file.
Logged
Tony S

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #16 on: June 22, 2012, 10:57:32 AM »

A bit more digging and it looks like it is the rendering of the .ps file that is failing, rather than the generation.   In the temp directory, during normal operation you see a tmp.abc, tmp.ps and tmp.bmp file representing the currently displaying tune.   On one of the "bad" tunes the tmp.abc and tmp.ps files appear but not the bmp.    The .ps file is locked by ABC Explorer and can't be opened, which suggests to me that abcm2ps has completed.   If you shutdown the application then the .ps file looks correct in Gsview.

I thought I had fixed it by switching off anti-virus, and there certainly seems some improvement but not a complete fix.
Logged
Tony S

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #17 on: June 24, 2012, 06:39:17 PM »

Fixed!   Google Drive was the culprit, and removing it resolved the problem.   I do need it installed though, but I have found that temporarily shutting it down while using ABC Explorer is a work-around.
Logged
Tony S

Wena

  • New Starter
  • Offline Offline
  • Posts: 1
Re: ABC Explorer stopped rendering score
« Reply #18 on: September 09, 2012, 05:23:31 PM »

EasyABC Error

I have this error massage, can you tell me what it means? I am new to EasyABC

- In tune 'Rwyf4':
Warning in line 10.94: Line overfull (767pt of 751pt)

Wena
Logged

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: ABC Explorer stopped rendering score
« Reply #19 on: September 09, 2012, 05:41:09 PM »

I think Easy ABC is a different program.  Anyway, maybe the message is pretty much what it says, maybe that line is too long for the program.   Post your ABC code here and I'm sure someone will comment.
Logged
Tony S
Pages: [1] 2   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal