[SOLVED] How to open .BLEND file from CONSOLE? connect faile

Post here if you are a new Porteus member and you're looking for some help.
testsforknowledge
Black ninja
Black ninja
Posts: 42
Joined: 07 Jan 2013, 16:44
Distribution: PORTEUS
Location: slovenia

[SOLVED] How to open .BLEND file from CONSOLE? connect faile

Post#1 by testsforknowledge » 14 Mar 2013, 08:26

i wish to open .BLEND file (blender) from console window.
It gives me error "connect failed: no such file or directory". I type "blender -h test.blend" when i am in folder with that .blend file (checked with LS command)

What's wrong here? thnx
Last edited by testsforknowledge on 19 Mar 2013, 17:44, edited 1 time in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: How to open .BLEND file from CONSOLE? connect failed

Post#2 by Hamza » 14 Mar 2013, 10:16

Please try with "dbus-launch blender -h test.blend".
NjVFQzY2Rg==

testsforknowledge
Black ninja
Black ninja
Posts: 42
Joined: 07 Jan 2013, 16:44
Distribution: PORTEUS
Location: slovenia

Re: How to open .BLEND file from CONSOLE? connect failed

Post#3 by testsforknowledge » 14 Mar 2013, 13:07

Hamza wrote:Please try with "dbus-launch blender -h test.blend".
not working. Connection not found :S
still trying to figure it out how to open .blend file from console ...

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: How to open .BLEND file from CONSOLE? connect failed

Post#4 by Hamza » 14 Mar 2013, 16:52

Can you upload somewhere a blend sample file?
NjVFQzY2Rg==

testsforknowledge
Black ninja
Black ninja
Posts: 42
Joined: 07 Jan 2013, 16:44
Distribution: PORTEUS
Location: slovenia

Re: How to open .BLEND file from CONSOLE? connect failed

Post#5 by testsforknowledge » 15 Mar 2013, 21:05

Hamza wrote:Can you upload somewhere a blend sample file?
it can be any .blend file, and cannot be opened. But i think problem is with me not knowing how to...
i use Porteus 1.2, Blender 2.64a.


you can open .blend file from console just by typing "blender name_of_blender_file.blend"??? i just get errors ... maybe i need to set some path for loading somewhere?

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: How to open .BLEND file from CONSOLE? connect failed

Post#6 by Hamza » 15 Mar 2013, 22:13

Code: Select all

/opt/blender/blender /path/to/file.blend
NjVFQzY2Rg==

testsforknowledge
Black ninja
Black ninja
Posts: 42
Joined: 07 Jan 2013, 16:44
Distribution: PORTEUS
Location: slovenia

Re: How to open .BLEND file from CONSOLE? connect failed

Post#7 by testsforknowledge » 18 Mar 2013, 17:22

Hamza wrote:

Code: Select all

/opt/blender/blender /path/to/file.blend
yes! this is working :) if you use this code, Blender automatically opens file

thank you Hamza

Post Reply