Blender ignores commandline options #77367

Closed
opened 2020-06-04 14:21:43 +02:00 by Vaclav Cermak · 32 comments

System Information
Operating system: Linux-5.6.11-050611-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce GTX TITAN X/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f7
Worked: 2.82a

Short description of error
It seems, that 2.83 ignores commandline options.

Exact steps for others to reproduce the error
I have tried to run Blender as usually with blender - b [file] -S [something] -f 1 but Blender started full GUI with default scene. The same result I get if I try to run blender --help.

I have Blender installed from snap and it upgraded automatically. With 2.82 it worked fine.

**System Information** Operating system: Linux-5.6.11-050611-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: GeForce GTX TITAN X/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64 **Blender Version** Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: `211b6c29f7` Worked: 2.82a **Short description of error** It seems, that 2.83 ignores commandline options. **Exact steps for others to reproduce the error** I have tried to run Blender as usually with blender - b [file] -S [something] -f 1 but Blender started full GUI with default scene. The same result I get if I try to run blender --help. I have Blender installed from snap and it upgraded automatically. With 2.82 it worked fine.
Author

Added subscriber: @VaclavCermak

Added subscriber: @VaclavCermak

#77443 was marked as duplicate of this issue

#77443 was marked as duplicate of this issue

#77444 was marked as duplicate of this issue

#77444 was marked as duplicate of this issue

#77431 was marked as duplicate of this issue

#77431 was marked as duplicate of this issue

#77387 was marked as duplicate of this issue

#77387 was marked as duplicate of this issue

#77339 was marked as duplicate of this issue

#77339 was marked as duplicate of this issue

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Please paste the exact command line options used and the resulting output.

Please paste the exact command line options used and the resulting output.
Author
disnel@infiwo:50-Model$ blender -b mbsb-interier-loft-07.blend -S vizCam5 -f 1
Read prefs: /home/disnel/.config/blender/2.83/config/userpref.blend
/run/user/1000/snap.blender/gvfs/ non-existent directory
found bundled python: /snap/blender/38/2.83/python
register_class(...):
Warning: 'reclass_panel' doesn't contain '_PT_' with prefix & suffix
Warning: class EXPORT_OT_svg contains a property which should be an annotation!
/snap/blender/38/2.83/scripts/modules/bpy/utils/__init__.py:712
    assign as a type annotation: EXPORT_OT_svg.render_range
register_class(...):
Warning: 'PanelSVG' doesn't contain '_PT_' with prefix & suffix
SLCAD register
Saved session recovery to '/tmp/quit.blend'
Error: Not freed memory blocks: 16, total unfreed memory 0.025322 MB

Blender quit
``` disnel@infiwo:50-Model$ blender -b mbsb-interier-loft-07.blend -S vizCam5 -f 1 Read prefs: /home/disnel/.config/blender/2.83/config/userpref.blend /run/user/1000/snap.blender/gvfs/ non-existent directory found bundled python: /snap/blender/38/2.83/python register_class(...): Warning: 'reclass_panel' doesn't contain '_PT_' with prefix & suffix Warning: class EXPORT_OT_svg contains a property which should be an annotation! /snap/blender/38/2.83/scripts/modules/bpy/utils/__init__.py:712 assign as a type annotation: EXPORT_OT_svg.render_range register_class(...): Warning: 'PanelSVG' doesn't contain '_PT_' with prefix & suffix SLCAD register Saved session recovery to '/tmp/quit.blend' Error: Not freed memory blocks: 16, total unfreed memory 0.025322 MB Blender quit ```
Member

Added subscriber: @Alaska

Added subscriber: @Alaska
Member

Command line arguments are working for me with the official Blender 2.83.0 release on Linux.

What happens if you use the zip version from the Blender website? https://www.blender.org/download/

Command line arguments are working for me with the official Blender 2.83.0 release on Linux. What happens if you use the zip version from the Blender website? https://www.blender.org/download/
Author

With zip version it works. So the problem is somewhere in snap.

With zip version it works. So the problem is somewhere in snap.
Author

Found the problem, probably. There is file /snap/blender/38/blender-wrapper which has the last line

$SNAP/blender

There should be

$SNAP/blender "$@"

or something similar. But I don't know much about snap. I can't edit it directly, how should I do it?

Found the problem, probably. There is file /snap/blender/38/blender-wrapper which has the last line ``` $SNAP/blender ``` There should be ``` $SNAP/blender "$@" ``` or something similar. But I don't know much about snap. I can't edit it directly, how should I do it?

This issue was referenced by 488bf53207

This issue was referenced by 488bf532076c4d620ad3e9c2f65952994851c483

This issue was referenced by 3da4724f72

This issue was referenced by 3da4724f72fccb1d0841cc48d3a00a5e27460cbd

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Campbell Barton self-assigned this 2020-06-04 16:40:10 +02:00

Added subscriber: @ZachHixson

Added subscriber: @ZachHixson
Member

Added subscriber: @alexrogozea

Added subscriber: @alexrogozea

Added subscriber: @michael_nischt

Added subscriber: @michael_nischt
Member

Added subscriber: @hcgernhardtiii

Added subscriber: @hcgernhardtiii

Added subscriber: @shelbs

Added subscriber: @shelbs
Member

Added subscriber: @jesterking

Added subscriber: @jesterking
Member

A new snap has been uploaded, please try and report if it works or not. Thank you.

A new snap has been uploaded, please try and report if it works or not. Thank you.

Hi, Thanks for the upload.

I'm not sure of snaps need time to distribute but as if now the issue still persists for me. And I'm not talking about snaps auto-update feature. I had the snap removed due to this issue and just now re-installed.

$ snap info blender
name:      blender
summary:   Blender is the free and open source 3D creation suite.
publisher: Blender Foundation (blenderfoundation✓)
store-url: https://snapcraft.io/blender
license:   GPL-3.0
description: |
  Blender is the free and open source 3D creation suite. It supports the
  entirety of the 3D pipeline—modeling, rigging, animation, simulation,
  rendering, compositing and motion tracking, even video editing and game
  creation.
  
  Blender is a public project, made by hundreds of people from around the
  world; by studios and individual artists, professionals and hobbyists,
  scientists, students, VFX experts, animators, game artists, modders, and
  the list goes on.
commands:
  - blender
snap-id:      ZWyHJJiPBBfMKpaaKKrpSgAcupWkHWPz
tracking:     latest/stable
refresh-date: today at 19:07 CEST
channels:
  latest/stable:     2.83.0 2020-06-03 (38) 170MB classic
  latest/candidate:  ↑                            
  latest/beta:       ↑                            
  latest/edge:       ↑                            
  2.83lts/stable:    2.83.0 2020-06-08 (39) 170MB classic
  2.83lts/candidate: ↑                            
  2.83lts/beta:      ↑                            
  2.83lts/edge:      ↑                            
  2.79/stable:       2.79b  2019-07-30 (20) 129MB classic
  2.79/candidate:    ↑                            
  2.79/beta:         ↑                            
  2.79/edge:         ↑                            
installed:           2.83.0            (38) 170MB classic

The snap-id also seems the same as when I submitted a report (duplicate of this): https://developer.blender.org/T77431

Hi, Thanks for the upload. I'm not sure of snaps need time to distribute but as if now the issue still persists for me. And I'm not talking about snaps auto-update feature. I had the snap removed due to this issue and just now re-installed. ``` $ snap info blender name: blender summary: Blender is the free and open source 3D creation suite. publisher: Blender Foundation (blenderfoundation✓) store-url: https://snapcraft.io/blender license: GPL-3.0 description: | Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing and motion tracking, even video editing and game creation. Blender is a public project, made by hundreds of people from around the world; by studios and individual artists, professionals and hobbyists, scientists, students, VFX experts, animators, game artists, modders, and the list goes on. commands: - blender snap-id: ZWyHJJiPBBfMKpaaKKrpSgAcupWkHWPz tracking: latest/stable refresh-date: today at 19:07 CEST channels: latest/stable: 2.83.0 2020-06-03 (38) 170MB classic latest/candidate: ↑ latest/beta: ↑ latest/edge: ↑ 2.83lts/stable: 2.83.0 2020-06-08 (39) 170MB classic 2.83lts/candidate: ↑ 2.83lts/beta: ↑ 2.83lts/edge: ↑ 2.79/stable: 2.79b 2019-07-30 (20) 129MB classic 2.79/candidate: ↑ 2.79/beta: ↑ 2.79/edge: ↑ installed: 2.83.0 (38) 170MB classic ``` The snap-id also seems the same as when I submitted a report (duplicate of this): https://developer.blender.org/T77431

Added subscriber: @Renderman_KO

Added subscriber: @Renderman_KO

Ok, here we are:

The good news:
Snap Revision 39 of Blender 2.83 is working. It accepts commandline options and works together with file managers like dolphin or nautilus.
Thank you very much!

The remaining problem:
There are now 3 snap-"channels" for Blender:

  • 2.83lts/stable (in my opinion a new channel) - actually you get 2.83 snap-revision 39 (which works)
  • latest/stable (in my opinion the older channel) - actually you get still 2.83 snap-revision 38 (which doesn't work)
  • 2.79/stable - you get 2.79b

I think, the "latest/stable"-channel should also be upgraded. Most users coming from 2.82a are on this snap-channel.

I got the new revision 39 after changing from "latest/stable" to channel "2.83lts/stable"

Ok, here we are: *The good news:* Snap Revision 39 of Blender 2.83 is working. It accepts commandline options and works together with file managers like dolphin or nautilus. Thank you very much! *The remaining problem:* There are now 3 snap-"channels" for Blender: - **2.83lts/stable** (in my opinion a new channel) - actually you get 2.83 snap-revision **39** (which works) - **latest/stable** (in my opinion the older channel) - actually you get still 2.83 snap-revision **38** (which doesn't work) - 2.79/stable - you get 2.79b I think, the "latest/stable"-channel should also be upgraded. Most users coming from 2.82a are on this snap-channel. I got the new revision 39 after changing from "latest/stable" to channel "2.83lts/stable"
Member

Right, I need to roll update 39 into the latest/stable as well. Thanks for testing and reporting!

Right, I need to roll update 39 into the latest/stable as well. Thanks for testing and reporting!
Member

latest/stable has been updated to update 39.

latest/stable has been updated to update 39.

Can confirm that after switching th 2.83lts/stable snap channel that the issue is fixed. Thank you

Can confirm that after switching th 2.83lts/stable snap channel that the issue is fixed. Thank you
Author

Today I received update 39 and I can confirm, that it works. I'am using lastest/candidate channel.

Today I received update 39 and I can confirm, that it works. I'am using lastest/candidate channel.
Member

Added subscribers: @Vis, @cleveroctopus, @ankitm, @Wulfrum

Added subscribers: @Vis, @cleveroctopus, @ankitm, @Wulfrum
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
11 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#77367
No description provided.