TheTash / l5rcm

Automatically exported from code.google.com/p/l5rcm
GNU General Public License v3.0
0 stars 0 forks source link

No pdf export #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Get the source form svn (as it says in tho source tab):
svn checkout http://l5rcm.googlecode.com/svn/trunk/ l5rcm-read-only

start l5rcm.py
I make a daidoji warriors and I can't export as PDF. 
this is the error i'm getting into :

update spells from model
Traceback (most recent call last):
  File "/home/renaud/applications/l5rcm-read-only/sinks/sink_1.py", line 47, in load_character
    form.load_character_from(path)
  File "l5rcm.py", line 1915, in load_character_from
    self.update_from_model()
  File "l5rcm.py", line 2160, in update_from_model
    self.melee_view_model .update_from_model(self.pc)
  File "/home/renaud/applications/l5rcm-read-only/models/outfit.py", line 203, in update_from_model
    w.base_atk = rules.format_rtk_t(rules.calculate_base_attack_roll(model, w))
  File "/home/renaud/applications/l5rcm-read-only/rules.py", line 153, in calculate_base_attack_roll
    attrib = models.ATTRIBS.AGILITY
NameError: global name 'models' is not defined
Traceback (most recent call last):
  File "/home/renaud/applications/l5rcm-read-only/sinks/sink_1.py", line 73, in export_character_as_pdf
    form.export_as_pdf(file_)
  File "/home/renaud/applications/l5rcm-read-only/l5rcmcore.py", line 223, in export_as_pdf
    _flatten_pdf(source_fdf, source_pdf, fpath)        
  File "/home/renaud/applications/l5rcm-read-only/l5rcmcore.py", line 190, in _flatten_pdf
    subprocess.call(args_)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception

Original issue reported on code.google.com by renaud.g...@gmail.com on 23 Mar 2013 at 3:27

GoogleCodeExporter commented 9 years ago
None of the character i created could be exported to pdf. When closing app 
after trying this error messages occurs :

The logfile 'C:\Program Files (x86)\OpenNingia\L5RCM\l5rcm.exe.log' could not 
be opened:
[Errno13] Permission denied: 'C:\\Program Files 
(x86)\\OpenNingia\\L5RCM\\l5rcm.exe.log

Original comment by sebdi...@canl.nc on 8 Apr 2013 at 6:40

GoogleCodeExporter commented 9 years ago
On Linux i had to install the package "pdftk". That made the magic happen...

Original comment by becking....@gmail.com on 12 Apr 2013 at 5:20

GoogleCodeExporter commented 9 years ago
Readme file is the right place to describe every dependencies. 
http://code.google.com/p/l5rcm/issues/detail?id=165

Original comment by renaud.g...@gmail.com on 13 Apr 2013 at 1:41

GoogleCodeExporter commented 9 years ago
on windows 7 launch the app as administrator to get the debug log. 

Original comment by oppifjel...@gmail.com on 13 Apr 2013 at 9:19

GoogleCodeExporter commented 9 years ago
Marking as duplicate since is a dependencies issue.

Original comment by oppifjel...@gmail.com on 14 Apr 2013 at 8:16