Scribus > Windows

Stack overflow error on Windows 10?

(1/3) > >>


I work for a commercial printer, and we are looking to use Scribus to replace Quark for some of our internal tasks.
So far, the experience has been positive, but I have run into a problem & am hoping this forum can help.

I have a long list of numbers (400+) in an Excel document which I am copy/pasting into a Scribus document with linked text frames throughout. I immediately get a 'stack overflow' error message and Scribus quits.

Have tried a few things so far: saving my Excel list as a .txt & a .csv and copying form those. I have also tried using the import text function, all with the same results.

Scribus 1.4.6 running on Windows 10, 4GB ram.


for your task, a small python script might be a better solution...

copy pasting the column from your xl file into your .sla file works for me on mac...

no idea if it's something specific to windows (10)...
maybe somebody else can try...

I've just tried to replicate the problem on Win 10 as best I could from my understanding of the description.

NOTE: I don't have Excel so I used LibreOffice Calc instead.

I created a new document in Scribus with two pages. I added five thin text frames to each page and linked them left-to-right then down to the next page.

Then in Calc I typed 1,2,3,4 into the first four cells in the first column, then used the little corner-drag thing - I don't know what it's real name is - to create a vertical list from 1 to 500.

I then dragged a selection over the whole list and copied them to the clipboard.

Then in Scribus I double-clicked in the first frame and pasted the numbers in.

All looks fine. No errors.

I then tried opening the Story Editor, clearing the existing text and pasting the numbers in again.

All looks fine there too.

Sorry, I can't replicate the problem with what I've got.

Are the numbers calculated from something? If Excel is trying to copy the formulae instead of the numbers then that might be where Scribus is having trouble, but that's just a guess.


Thanks for the fast response guys,

I have also tried the same scenario on a mac, Scribus 1.4.6 on OS X 1.9.5 and there is no issue.
Only seems to happen on the Windows work station.

There are no formulas in the Excel file or anything like that, just a simple list of numbers.

If we try using less numbers in the list, it works OK, but as soon as we're pasting in over 250ish numbers, we get the error and crash.

a.l.e., can you elaborate on how a script might be the solution? (I'm a bit of a n00b when it comes to scripting etc...)

GarryP, thanks for testing. Any chance you could try with my files posted to the mailing list? (link in a.l.e.'s post.)


Andy, I tried this:
* in Scribus, created a new document;
* added five tall text frames to the first page;
* duplicated the page;
* linked the frames from left-to-right and down the pages;
* downloaded your ZIP file from the mailing list;
* opened the ZIP;
* In Calc, opened the XLS within the ZIP;
* selected cell A1;
* shift-selected cell A451;
* right-click and Copy;
* back to Scribus and double-click the first text frame;
* CTRL+V to paste.

All looks fine.

I tried pasting the same data into the Story Editor too (after clearing the text) but got the same result - all fine.
I tried selecting a slightly larger area to copy from (A1-A456) just in case there was a problem with the clipboard reporting a different number of items but all was fine there too.
I even tried selecting the whole column and copy/pasting that over without any problem.

Sorry, I'm just not getting the problem that you are getting. Please remember though that I'm using Calc and not Excel. Excel may be doing something different when copying to the clipboard that Scribus can't handle.

I have a sneaky feeling that this problem may come about if Excel is reporting a different number of items copied to the clipboard than are there and Scribus isn't checking that that number is correct - essentially Scribus could be trying to get too many items from the clipboard - but without Excel I can't really test this. (It might be good if you could report the exact version of Excel that you're using.) All this is just a guess though.

One thing that I was curious about was that you said that you got a "Stack Overflow" error message with Scribus quitting immediately. Normally - in my experience - when Scribus crashes it reports a fairly useless "Scribus Crashes. Signal #X" message and then goes into what looks like an infinite loop. Did you get a message specifically saying "Stack Overflow" or did you interpret the signal number? It might be very useful for anyone bug tracking to know this.

The only other thing I can think of at the moment is: Are you using the standard Windows clipboard or are you using a third-party application? If you're using one of those multiple-clipboard apps then that could cause a problem.


[0] Message Index

[#] Next page

Go to full version