Last bit before I have Arsenal up and running

61 views
Skip to first unread message

jream07

unread,
Nov 8, 2011, 5:38:30 PM11/8/11
to arsenalsuite, newe...@gmail.com, barry....@gmail.com
Hi All -

Been struggling a bit with the Freezer and

jream07

unread,
Nov 8, 2011, 5:59:14 PM11/8/11
to arsenalsuite, newe...@gmail.com, barry....@gmail.com, yomog...@gmail.com, ti...@schumacher.net
Sorry - hit the wrong key ...

I've been having a few last problems with Freezer and absubmit that
seems to keep me from submitting anything. Here's the layout of the
problems:

1. Freezer:


- There's a problem on startup, I get a python error after the db
connection "ImportError: Purported builtin module blur.Abubmit not
found". I've tried changing absubmit to lowercase in main.cpp and any
other place I can find it in code for Freezer, but then I get the same
error.
- I don't seem to have any host plugins pop up for my host. I
noticed in STDOUT that Freezer wasn't loading up afplugins, so I added
it to my Python path.
- Once added to PYTHONPATH, I get this spat back at me

Traceback (most recent call last):
File "C:\arsenalsuite\cpp\apps\freezer\afplugins\__init__.py", line
7, in <mod
ule>
import rv
File "C:\arsenalsuite\cpp\apps\freezer\afplugins\rv.py", line 4, in
<module>
from blur.Freezer import *
ImportError: No module named Freezer

- Following, I receive errors about ThreadViewUI:

Object::connect: No such slot
ThreadViewInternal::elementsAdded( RecordList )
Object::connect: (receiver name: 'ThreadViewUI')
Object::connect: No such slot
ThreadViewInternal::elementsRemoved( RecordList )
Object::connect: (receiver name: 'ThreadViewUI')
Object::connect: No such slot
ThreadViewInternal::threadsAddedOrRemoved( RecordList )
Object::connect: (receiver name: 'ThreadViewUI')
Object::connect: No such slot
ThreadViewInternal::threadsAddedOrRemoved( RecordList )
Object::connect: (receiver name: 'ThreadViewUI')
Object::connect: No such signal Stone::Table::update( const Record &,
const Record & )
Object::connect: (receiver name: 'ThreadViewUI')

- I attempted to submit a Nuke file in a batch job and I get the
following log entries after submission:

Tue Nov 8 14:30:37 2011:4700 base\userbase.cpp:275
User::hasPerms:Permission granted for key: Blur::Model::Host from
record: 1
Tue Nov 8 14:31:35 2011:4700 base\userbase.cpp:238 User::hasPerms:
[Cached] Permission granted for key: Blur::Model::Host from record: 1
Tue Nov 8 14:32:07 2011:4700 src\path.cpp:617 Stone::Path::copy:Copy
failed with error: 3
Tue Nov 8 14:32:07 2011:4700 src\path.cpp:618 Stone::Path::copy:Src: C:
\test_v003.nkDest: C:\Users\ADMINI~1\AppData\Local\Temp\batch_temp\
Tue Nov 8 14:32:07 2011:4700 src\batchsubmitdialog.cpp:164
BatchSubmitDialog::accept:Failed to copy C:\test_v003.nk to C:/Users/
ADMINI~1/AppData/Local/Temp/batch_temp/
Tue Nov 8 14:33:12 2011:4700 base\userbase.cpp:275
User::hasPerms:Permission granted for key:
Blur::Model::HostService_modify from record: 1
Tue Nov 8 14:33:12 2011:4700 base\userbase.cpp:275
User::hasPerms:Permission granted for key:
Blur::Model::UserService_modify from record: 1

- I started up services for NIS and imported users in to the database,
but am not able to see any users once I startup the User Service
Matrix. I figured this had something to do with having the DOMAIN\ in
the username, but I have tried every permutation of 'domain\user' in
both the logon and name fields in table employee, to no success.

2. absubmit:

- Nothing to STDOUT, though I am assuming this is related to the
blur.Asubmit problem I'm seeing with Freezer. Exits on submission.

-Justin

Matthew Newell

unread,
Nov 8, 2011, 6:50:42 PM11/8/11
to jream07, arsenalsuite, barry....@gmail.com, yomog...@gmail.com, ti...@schumacher.net
On Tue, Nov 8, 2011 at 2:59 PM, jream07 <justi...@gmail.com> wrote:
> Sorry - hit the wrong key ...
>
> I've been having a few last problems with Freezer and absubmit that
> seems to keep me from submitting anything. Here's the layout of the
> problems:
>
> 1. Freezer:
>
>
> - There's a problem on startup, I get a python error after the db
> connection "ImportError: Purported builtin module blur.Abubmit not
> found". I've tried changing absubmit to lowercase in main.cpp and any
> other place I can find it in code for Freezer, but then I get the same
> error.

I just pushed some changes that should fix this. You'll want to build
assfreezer as a full clean build(though you can skip pyqt), so that
all the python modules are compiled statically and linked directly
into freezer.

The lack of plugins is likely due to this, at least the failure to
import blur.Freezer is. You shouldn't need to add anything to your
PYTHONPATH as this is done automatically in
cpp/apps/freezer/main.cpp:loadPythonPlugins()

> - Following, I receive errors about ThreadViewUI:
>

You can probably ignore those for now.

> - I attempted to submit a Nuke file in a batch job and I get the
> following log entries after submission:
>

I'm not sure if anyone has been using the file upload feature with the
arsenal codebase. Until you get a basic setup working i would avoid
trying to attach files to jobs and instead use unc paths or mounted
network shares.

>
> - I started up services for NIS and imported users in to the database,
> but am not able to see any users once I startup the User Service
> Matrix. I figured this had something to do with having the DOMAIN\ in
> the username, but I have tried every permutation of 'domain\user' in
> both the logon and name fields in table employee, to no success.
>

I don't know anything about this code, hopefully someone else has a clue.

> 2. absubmit:
>
> - Nothing to STDOUT, though I am assuming this is related to the
> blur.Asubmit problem I'm seeing with Freezer. Exits on submission.

How are you calling it, what's the return code, do you get anything in
the logs? absubmit.exe has no dependency on python or it's
corrosponding blur.absubmit python module.

Matt

Justin Ream

unread,
Nov 8, 2011, 9:49:12 PM11/8/11
to Matthew Newell, arsenalsuite, barry....@gmail.com, yomog...@gmail.com, ti...@schumacher.net
Matthew - I still seem to be getting the same errors post build
("build.py verbose clean build install release freezer sip:skip
pyqt:skip"). I removed the directory that had afplugins
(c:\arsenalsuite\cpp\apps\freezer) from PYTHONPATH and now have the
old error "No module named afplugins"

Tue Nov 8 17:09:14 2011:1836 src\connection.cpp:92
Stone::Connection::setPort:Port set to 5432
Tue Nov 8 17:09:14 2011:1836 src\connection.cpp:92
Stone::Connection::setPort:Port set to 5432
Tue Nov 8 17:09:14 2011:1836 src\connection.cpp:342
Stone::QSqlDbConnection::reconnect:Connecting... Host:
pie.hq.bakedfx.com Port: 5432 Database: blur User: blur Options:
;connect_timeout=2


Traceback (most recent call last):

File "<string>", line 14, in <module>
File "<string>", line 9, in __init__
ImportError: Purported builtin module blur.Absubmit not found
ImportError: No module named afplugins

Once I manually copy c:\arsenalsuite\cpp\apps\freezer\afplugins to
c:\arsenalsuite\freezer (where the installer drops everything off), it
spits out the complaint about rv.py and no module named Freezer. I'm
assuming that's an installer problem ....

>>> import blur.absubmit
>>> import blur.Absubmit


Traceback (most recent call last):

File "<stdin>", line 1, in <module>
ImportError: No module named Absubmit

Could this have something to do with this code?

Looks like if the OS is Windows, then it wants to load up
blur.Absubmit (line 155 from main.cpp for freezer, function
loadPythonPlugins() at line 119): "\t\tself.modules['blur.Absubmit'] =
imp.load_module('blur.Absubmit',None,'',('','',imp.C_BUILTIN))\n"

absubmit: I was at one point able to get absubmit to spit things in to
the log but that doesn't seem to be happening now -- last time it
showed a connect to the database and nothing else. Here's how I've
been calling it:

absubmit -config absubmit.ini frameStart "1" frameEnd "1" packetSize
"10" packetType "continuous" jobType "Nuke" fileName
"P:/arsenalsuite/jobs/test_v003.nk" job "Nuke Test 01 at X" project
"Test"

The Windows exit code I've been cactching is -1073741819 ...

Here's the contents of absubmit.ini:

[Database]
DatabaseDriver=QPSQL7
EchoMode=EchoSelect,EchoInsert,EchoUpdate,EchoDelete
Options=
ReconnectDelay=30
Timeout=30
Host=pie.hq.bakedfx.com
Port=5432
DatabaseName=blur
User=blur
Password=passsword

[Logging]
EchoStdOut=true
Enabled=true
File=absubmit.log
MaxFiles=10
MaxSeverity=5
MaxSize=104857600

[Update Server]
Enabled=false
ExecOfflineCommands=false
Host=war.x
LastTransactionFile=update_manager_transaction.last
MaxAttempts=-1
Port=25565
RetryRate=1000

[UploadSettings]
FtpHost=stryfe
FtpPort=21
FtpRetries=2
FtpTimeout=60

-Justin

Reply all
Reply to author
Forward
0 new messages