{"action":"created","issue":{"url":"https://api.github.com/repos/berteh/ScribusGenerator/issues/34","repository_url":"https://api.github.com/repos/berteh/ScribusGenerator","labels_url":"https://api.github.com/repos/berteh/ScribusGenerator/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/berteh/ScribusGenerator/issues/34/comments","events_url":"https://api.github.com/repos/berteh/ScribusGenerator/issues/34/events","html_url":"https://github.com/berteh/ScribusGenerator/issues/34","id":120389380,"number":34,"title":"Error Launching Script","user":{"login":"frankieit","id":9548998,"avatar_url":"https://avatars.githubusercontent.com/u/9548998?v=3","gravatar_id":"","url":"https://api.github.com/users/frankieit","html_url":"https://github.com/frankieit","followers_url":"https://api.github.com/users/frankieit/followers","following_url":"https://api.github.com/users/frankieit/following{/other_user}","gists_url":"https://api.github.com/users/frankieit/gists{/gist_id}","starred_url":"https://api.github.com/users/frankieit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankieit/subscriptions","organizations_url":"https://api.github.com/users/frankieit/orgs","repos_url":"https://api.github.com/users/frankieit/repos","events_url":"https://api.github.com/users/frankieit/events{/privacy}","received_events_url":"https://api.github.com/users/frankieit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/berteh/ScribusGenerator/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/berteh/ScribusGenerator/milestones/2","html_url":"https://github.com/berteh/ScribusGenerator/milestones/2.0","labels_url":"https://api.github.com/repos/berteh/ScribusGenerator/milestones/2/labels","id":1239446,"number":2,"title":"2.0","description":null,"creator":{"login":"berteh","id":36950,"avatar_url":"https://avatars.githubusercontent.com/u/36950?v=3","gravatar_id":"","url":"https://api.github.com/users/berteh","html_url":"https://github.com/berteh","followers_url":"https://api.github.com/users/berteh/followers","following_url":"https://api.github.com/users/berteh/following{/other_user}","gists_url":"https://api.github.com/users/berteh/gists{/gist_id}","starred_url":"https://api.github.com/users/berteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berteh/subscriptions","organizations_url":"https://api.github.com/users/berteh/orgs","repos_url":"https://api.github.com/users/berteh/repos","events_url":"https://api.github.com/users/berteh/events{/privacy}","received_events_url":"https://api.github.com/users/berteh/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":14,"state":"open","created_at":"2015-08-04T01:58:33Z","updated_at":"2015-12-05T00:24:54Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-12-04T12:08:47Z","updated_at":"2016-02-05T22:49:33Z","closed_at":"2015-12-05T00:05:27Z","body":"Hi, \r\non Windows 10 with scribus-1.4.5-windows-x64 (tried also with 1.5.0) and ScribusGenerator-master  trying to launch the script, I get the following:\r\n \r\n<code>\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 8, in <module>\r\n  File \"E:\\users\\myusername\\Documenti\\scribus\\ScribusGenerator-master\\ScribusGenerator.py\", line 341, in <module>\r\n    main_wrapper(sys.argv)\r\n  File \"E:\\users\\myusername\\Documenti\\scribus\\ScribusGenerator-master\\ScribusGenerator.py\", line 329, in main_wrapper\r\n    main(argv)\r\n  File \"E:\\users\\myusername\\Documenti\\scribus\\ScribusGenerator-master\\ScribusGenerator.py\", line 318, in main\r\n    dlg = GeneratorDialog(root, ctrl)\r\n  File \"E:\\users\\myusername\\Documenti\\scribus\\ScribusGenerator-master\\ScribusGenerator.py\", line 197, in __init__\r\n    self.__ico=PhotoImage(file=self.__pluginDir+'/pic/ScribusGenerator_logo.png')\r\n  File \"C:\\Program Files\\Scribus 1.4.5\\lib\\lib-tk\\Tkinter.py\", line 3323, in __init__\r\n    Image.__init__(self, 'photo', name, cnf, master, **kw)\r\n  File \"C:\\Program Files\\Scribus 1.4.5\\lib\\lib-tk\\Tkinter.py\", line 3279, in __init__\r\n    self.tk.call(('image', 'create', imgtype, name,) + options)\r\nTclError: couldn't recognize data in image file \"E:\\users\\myusername\\Documenti\\scribus\\ScribusGenerator-master/pic/ScribusGenerator_logo.png\"\r\n</code>\r\n\r\nMy total ignorance does not allow me to understand a bit of the above. \r\nThanks in advance,\r\nFrankie\r\n"},"comment":{"url":"https://api.github.com/repos/berteh/ScribusGenerator/issues/comments/180608533","html_url":"https://github.com/berteh/ScribusGenerator/issues/34#issuecomment-180608533","issue_url":"https://api.github.com/repos/berteh/ScribusGenerator/issues/34","id":180608533,"user":{"login":"berteh","id":36950,"avatar_url":"https://avatars.githubusercontent.com/u/36950?v=3","gravatar_id":"","url":"https://api.github.com/users/berteh","html_url":"https://github.com/berteh","followers_url":"https://api.github.com/users/berteh/followers","following_url":"https://api.github.com/users/berteh/following{/other_user}","gists_url":"https://api.github.com/users/berteh/gists{/gist_id}","starred_url":"https://api.github.com/users/berteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berteh/subscriptions","organizations_url":"https://api.github.com/users/berteh/orgs","repos_url":"https://api.github.com/users/berteh/repos","events_url":"https://api.github.com/users/berteh/events{/privacy}","received_events_url":"https://api.github.com/users/berteh/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T22:49:33Z","updated_at":"2016-02-05T22:49:33Z","body":"Hello @frankieit \r\nthere's no abuse... I'll let you know if it should get there one day ;)\r\nJust please, next time: open a new issue, as it is on another topic than the error in launching the script we solved.\r\n\r\nThe topic of multiple fields interests me a lot. I call them \"repeating fields\" by the way, as you can already have multiple (different) fields on a single page... but each with a single value. I see 2 major questions that need to be answered before I can implement this in Scribus Generator (which I would really like, by the way). Can you please tell me your view on these 2 elements?\r\n\r\nLet's take a example of a catalog of products:\r\n\r\n- A single page in the generated document would gather products of the same family, say p1 = trees, p2 = flowers, p3 = garden furnitures.\r\n- On each page you'd use the following (non-repeating) variables: category-title, category-picture, and then \r\n- a table of the products of that family, and for each product you'd use in its table-row the following (repeating) variables: product-name, product-price\r\n\r\nMy two questions/problems are the following (the first is more problematic to me, so we need to solve it first ;) :\r\n\r\n1. How to represent the repeating element (the table row, or the list item) in Scribus (GUI editor) in a user-friendly way, but in a way we can identify which element to repeat and how to repeat it (eg: should the line 2 go below, on the right, on the left, above, elsewhere?).  In short: **how would you represent your list in the sla template** that the generator would use?  (feel free to attach an sla example!). This questions has been touched upon (but not answered) in #11 \r\n1. What data format would you use instead of CSV? XML variants have been discussed in #19, but I'd like to keep on supporting something spreadsheet-like, as it makes the whole approach more accessible to less tech-savy users (hopefully). In short: **how would you represent data for this catalog in excel/open-office** ?\r\n\r\nHave a nice day!\r\nB."}}