Go Back   Science Forums > Physical Sciences Forums > Computer Science and Technology
Reply
 
LinkBack Thread Tools
Old 01-16-2008   #1 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Problem creating file

I need a computer-whiz to help me with some troubleshooting.

I just installed the Sirius molecular modeling software on my laptop. I've been using the same program on my desktop for some time now, and have never had any problems.

Well here's the problem. I have Sirius installed. I have POV-Ray installed.
When I try to "Save view as POV-Ray imput file", so I can create a POV-ray image of the protein that I've just made, I get an error:

"Error: Exception while exporting image"

Clicking on "details", I get the following information:
Code:
java.io.FileNotFoundException: C:Program FilesSiriuspovdata.pov (Access is denied)
java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.<init>(Unknown Source)
java.io.FileOutputStream.<init>(Unknown Source)
java.io.FileWriter.<init>(Unknown Source)
edu.sdsc.sirius.ray.RayTraceUtil.generatePOVContent(RayTraceUtil.java:382)
edu.sdsc.sirius.ray.RayTraceUtil.getPOVContent(RayTraceUtil.java:43)
Viewer$47.run(Viewer.java:1469)
That's a completely different language to me, so I need help interpreting it so I can solve the problem.

Thanks in advance!
MB


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 01-16-2008   #2 (permalink)
freeztar's Avatar
M.C. Grillmeister

Moderator
Editor
Basic Subscription
Sponsor

Location:
ATL, GA, USA
Latest blog entry:
 
freeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond repute
 



Not Ranked  0 score     
Re: Problem creating file

Have you tried updating your java runtime environment? That's probably not the problem, but is easy enough to do just in case.

The file not found error in the first line points to a few possibilities. I'm not familiar with the program you are using, but you might try looking in the settings and see where the default directories are. It seems that the program is either confused by the path or that the file already exists and has write protection enabled (ie Read Only).

Hopefully that helps.


----------------
Hypography Science Forums Moderator
---
"There are no passengers on Spaceship Earth. We are all crew." - Marshall McLuhan

"We must not forget that when radium was discovered no one knew that it would prove useful in hospitals. The work was one of pure science. And this is a proof that scientific work must not be considered from the point of view of the direct usefulness of it." - Marie Curie
Reply With Quote
Old 01-16-2008   #3 (permalink)
Buffy's Avatar
Resident Slayer

Administrator

Location:
Sunnydale, CA
 
Buffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond reputeBuffy has a reputation beyond repute
 



Not Ranked  0 score     
Re: Problem creating file

Quote:
Originally Posted by freeztar View Post
It seems that the program is either confused by the path or that the file already exists and has write protection enabled (ie Read Only).
This is the right direction. Here are some possibilities:
  • The file exists and is read only: Open Windows Explorer and go to the folder "C:\Program Files\Sirius" and see if "povdata.pov" exists, and if it does, right click -> Properties should tell you if its having this problem. Check not only if the "Read-Only" is checked, but also under the Security tab on the properties window.
  • The folder itself is read-only: Right-click -> Properties on the folder itself, and check the Security settings: could be you're not allowed to write anything there.
  • The program is completely munging the path: In your error message, the path is shown as "C:Program FilesSiriuspovdata.pov" which a programmer would normally assume that the Java is interpreting the backslashes as escape characters and therefore they don't print, but that the code is really seeing "C:\Program Files\Sirius\povdata.pov" (or maybe "C:\Program Files\Sirius\pov\data.pov" so you need to check that too!). OTOH, it could actually be trying to write to that path, which would be interpreted by Windows as "the current default folder on the C: drive" which could be a number of locations depending on what the software is doing. If you wanted to be a total nerd about it, there is a utility you can download from support.microsoft.com called "filemon.exe" which will tell you what files are trying to be opened and let you know exactly what its trying to do.

Good luck Mr. Phelps!
Buffy


----------------
"If you do not agree with anything I say, I'll not only retract it, but deny under oath that I ever said it!"
__________________________________________________ ______________-- Tom Lehrer

"No Robbie, not Europe!"


Forum Administrator
Hypography Science Forums - Science for Boys and Girls! Its not for nothing that we hang out here.
Reply With Quote
Old 01-16-2008   #4 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Problem creating file

Quote:
Originally Posted by Buffy View Post
Good luck Mr. Phelps!
Buffy
Isn't it Jim?

Anyway, I'll try out some of these suggestions when I get a chance... but I have a midterm to study for at the moment.

Thank you for the suggestions, and I'll post some updates soon.


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 01-16-2008   #5 (permalink)
freeztar's Avatar
M.C. Grillmeister

Moderator
Editor
Basic Subscription
Sponsor

Location:
ATL, GA, USA
Latest blog entry:
 
freeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond repute
 



Not Ranked  0 score     
Re: Problem creating file

Quote:
Originally Posted by Buffy View Post
The program is completely munging the path: In your error message, the path is shown as "C:Program FilesSiriuspovdata.pov" which a programmer would normally assume that the Java is interpreting the backslashes as escape characters and therefore they don't print, but that the code is really seeing "C:Program FilesSiriuspovdata.pov" (or maybe "C:Program FilesSiriuspovdata.pov" so you need to check that too!).
Yeah, the way it's printed in the error message can definitely lead to some problems if that is how the code is actually executing. Perhaps it's ignoring the slashes only for the error console, but the code is parsing correctly.

An easy test would be to download "filemon" or a similar app and run them on both your desktop and laptop to compare results.


----------------
Hypography Science Forums Moderator
---
"There are no passengers on Spaceship Earth. We are all crew." - Marshall McLuhan

"We must not forget that when radium was discovered no one knew that it would prove useful in hospitals. The work was one of pure science. And this is a proof that scientific work must not be considered from the point of view of the direct usefulness of it." - Marie Curie
Reply With Quote
Old 01-17-2008   #6 (permalink)
alexander's Avatar
Dedicated Smart-ass

Senior Moderator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
Re: Problem creating file

Quote:
java.io.FileNotFoundException: C:Program FilesSiriuspovdata.pov (Access is denied)
It actually sounds more like a permissions issue on that file to me, it may very easily be trying to write there, as Buffy said, but it may just be that you don't have popper permission to access it correctly....


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Reply With Quote
Old 01-17-2008   #7 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Problem creating file

I can't even find a povdata.pov file on my computer.
Maybe that's the problem?

I mean, seriously. There is no povdata.pov but I don't know why that would be if the program was supposed to create that folder when I installed it.

I'm at quite a loss.


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 01-17-2008   #8 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Problem creating file

Well I just noticed one of my mistakes.

Buffy...
Quote:
Originally Posted by Buffy
C:Program FilesSiriuspovdata.pov
You were right. It did delete the slashes, so I'm going to find the *real* file, now that I have the *real* file path....
...and I'll use your above suggestions on that instead.

Sorry for that oversight guys.
Report to follow...


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 01-17-2008   #9 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Problem creating file

Well, great news everyone....

IT WORKS! yay!

It turns out I did indeed need to give myself permission to access the pov folder so that a data.pov file could be written.
Thanks so much for your help all of you.

Now all I need to do is figure out how to work POV-ray.


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 01-17-2008   #10 (permalink)
freeztar's Avatar
M.C. Grillmeister

Moderator
Editor
Basic Subscription
Sponsor

Location:
ATL, GA, USA
Latest blog entry:
 
freeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond repute
 



Not Ranked  0 score     
Re: Problem creating file

Awesome!

It always bemuses me to see how programs behave differently on different machines. It could be that windows (on your laptop) is automatically assigning read-only permission to your files (perhaps even indiscriminately), though I'm unaware of such a setting.


----------------
Hypography Science Forums Moderator
---
"There are no passengers on Spaceship Earth. We are all crew." - Marshall McLuhan

"We must not forget that when radium was discovered no one knew that it would prove useful in hospitals. The work was one of pure science. And this is a proof that scientific work must not be considered from the point of view of the direct usefulness of it." - Marie Curie
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating DVD's Boerseun Computer Science and Technology 1 04-02-2006 10:27 AM
Creating reality melagoo Philosophy Forums 6 11-27-2005 03:31 PM
creating bio diesel njyothi_srm Science Projects and Homework 18 02-18-2005 03:17 PM
Creating a Religion NoBigDeal Philosophy Forums 13 06-01-2004 12:33 PM

» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 30.00%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 40.00%
4 Votes
I'm too macho to think a guy is sexy - 30.00%
3 Votes
Total Votes: 10
You may not vote on this poll.


All times are GMT -8. The time now is 12:56 AM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network