New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scribus 1.5.1 - Generator does not work #54
Comments
Hello @RykF simply edit the Kindly let me know if this fixes your issue. |
by the way: You'll have to change it for both scripts (in 1.4 and 1.5 directories), since you run different copies. What do you mean by "Scribus crashes after fulfilling the operation." (in the 1.4) ? is the document generated? do you get any error reported in the scribusGenerator log file? |
and please use scribus 1.5.2 instead of 1.5.1, it's more stable, has better performances and I'm willing to provide support for it as it's the latest stable release (but not 1.5.1). |
seems similar to #37 |
found a way to make it work out of the box that does not need you to edit the settings. please update re-download the scribus generator script and net me know if it woks for you. by the way: you can use the "same" script from your scribus 1.4 and 1.5.2, no need to duplicate it, unless you find it easier for other reasons. B. |
Well, turns out that installing Scribus 1.5.2 and putting the Generator in a user's directory made the process work BUT now I can't name the files with %VAR_name%, etc. If I do that, I get the error message I just put in the appendix of this mail via jpg-file. Do you have any idea what happened? Cheers |
Hi RyK. I did not get the attached screenshot. Can you please try to attach it directly in github, or copy-paste the error text if it's easier. Using a variable name for the generated fire should definitely work... so let's find a solution for you! What is your OS? windows? |
I'm sorry I didn't notice that the attachment wasn't there. Well this is one of the error messages you can't copy the text from. Thanks for your fast reaction as always :) My WIN OS is 8.1 |
since you can't copy-paste the text could you please upload the image on github, that is supported. what is the name you want the generated file to have? does the csv field include any special character? are you sure the csv is saved as UTF-8 (that is usually not the case with excel)? has this feature ever worked for you before? |
I am also having issue with Output File Name (%VAR_name%) Getting following error Something went wrong. I have also opened an issue can be found on the link #60 |
bug #60 is now fixed, you should be able to use %VAR...% in the output file name again. kindly download last version, test and let me know. |
Hello Berteh, I tried your new version. Nothing worked. This is the log-file. Have a look. Cheers, 2016-09-01 12:54:39 - INFO - init:59 - ScribusGenerator initialized 2016-09-01 13:22:21 - INFO - init:59 - ScribusGenerator initialized 2016-09-01 13:23:02 - INFO - init:59 - ScribusGenerator initialized 2016-09-01 13:32:21 - INFO - init:59 - ScribusGenerator initialized 2016-09-01 13:32:29 - INFO - init:59 - ScribusGenerator initialized |
strange... but let's figure this out. What are the columns headers of Stammdaten.csv? are you sure there is a column titled "Name" with a capital N ? Could you copy-paste the first 2-3 lines of this CSV file here? or attach it? |
I just sent you "Stammdaten2" which is equivalent to Stammdaten. I also sent it as an xls, so you can have a look at it - I did this with open office. I hope this brings you further. You also can experiment with it. Cya Ryk Interne Laufnummer,Tagesnummer,Name,Vorname,Geschlecht,Organisation,Adresszusatz,Strasse,Hausnr,PLZ,Ort,Telefon,E-Mail,Newsletter,Betrag,Turnus,Kontoinhaber,Kreditinstitut,IBAN,BIC,Formular,U-Datum,B-Datum,Erste_Abbuchung,M-Nr_funkt,M-Nr_optisch,Str_Nr,PLZ_Ort,Adresszeile2,Adresszeile3,Adresszeile4,Adresszeile5,Anrede,O-Control-Blank,A-Control-Blank,NL-fail,Kopie |
@RykF I did not get the file (attachments don't work by email on github, you need to put them from the issues website), but tested it with the data you copy-pasted, and it works for me using the following settings (see screenshot), me putting there So to further dig this could you please
|
Hi @RykF . Are you still experiencing this problem? |
closing after 1 month of inactivity. |
There are two versions of Scribus on my hard drive: One is Scribus 1.4.6 and one is 1.5.1
I noticed that the original tool by Ekkehard Will works fine with 1.5.1, but I'd prefer your version in order to delete empty lines while creating customer adresses. Here's the issue-report from 1.5.1. Since my skills with programing languages are pretty much limited, I have no idea what the report is trying to say.
Note: C:\Program Files\Scribus 1.5.1\share\scripts\ScribusGenerator-master\ScribusGenerator.py is the generator's directory for the later version
C:\Program Files(x86)\Scribus 1.4.6\share\scripts\ScribusGenerator-master\ScribusGenerator.py is he one for the 1.4.6, where it seems to work - but like with the original Ekkehard-Will-Generator, Scribus crashes after fulfilling the operation.
I am using Windows 8.1. Any quick ways to fix the issue quickly?
Cheers
Ryk
Error-report below:
Traceback (most recent call last):
File "", line 10, in
File "C:\Program Files\Scribus 1.5.1\share\scripts\ScribusGenerator-master\ScribusGenerator.py", line 342, in
main_wrapper(sys.argv)
File "C:\Program Files\Scribus 1.5.1\share\scripts\ScribusGenerator-master\ScribusGenerator.py", line 330, in main_wrapper
main(argv)
File "C:\Program Files\Scribus 1.5.1\share\scripts\ScribusGenerator-master\ScribusGenerator.py", line 321, in main
root.mainloop()
File "C:\Program Files\Scribus 1.5.1\python\lib\lib-tk\Tkinter.py", line 1125, in mainloop
self.tk.mainloop(n)
File "C:\Program Files\Scribus 1.5.1\python\lib\lib-tk\Tkinter.py", line 1540, in call
self.widget._report_exception()
File "C:\Program Files\Scribus 1.5.1\python\lib\lib-tk\Tkinter.py", line 1293, in _report_exception
root.report_callback_exception(exc, val, tb)
File "C:\Program Files\Scribus 1.5.1\python\lib\lib-tk\Tkinter.py", line 1895, in report_callback_exception
traceback.print_exception(exc, val, tb)
File "C:\Program Files\Scribus 1.5.1\python\lib\traceback.py", line 125, in print_exception
print_tb(tb, limit, file)
File "C:\Program Files\Scribus 1.5.1\python\lib\traceback.py", line 67, in print_tb
' File "%s", line %d, in %s' % (filename, lineno, name))
File "C:\Program Files\Scribus 1.5.1\python\lib\traceback.py", line 13, in _print
file.write(str+terminator)
IOError: [Errno 9] Bad file descriptor
The text was updated successfully, but these errors were encountered: