No such file or directory error

Asked by vishal khialani

Hi,
We have developed reports using this module and all if fine when we developed it.

On my laptop I am able to print the report just fine this is where I ran the server and tested it.

However when I uploaded it to my ubuntu server and users try to access the same report we get an error.

"2
No such file or directory

(<type 'exceptions.OSError'>, OSError(2, 'No such file or directory'), <traceback object at 0x7f63b8485ab8>) "

its been two days and we are stuck. Please advice what must be wrong.

Thank you
Vishal

Question information

Language:
English Edit question
Status:
Solved
For:
openobject-jasper-reports Edit question
Assignee:
No assignee Edit question
Solved by:
vishal khialani
Solved:
Last query:
Last reply:
Revision history for this message
Gabriel Uma (gabriumaa) said :
#1

Hello,

Your problem is normal, because your path file is incorrect. You have what revise of file. For example the pictures or images of file in your server. Then in your lapto have a picture in the path /home/user/Desktop, in your server is diferent. My recommendation is create un directory in /opt for example, its name "Report". Then your laptop is /opt/Report and in your server is equal.

regards,

Gabriel Umaña
www.dis.co.cr

Revision history for this message
vishal khialani (vishalk) said :
#2

Hi,
I thought so but it turned out that the file it was searching for the java complier .

So once you install open jdk on the server it works just fine.

Thank you,
Vishal