Duplicate File Error

scotchfairyscotchfairy Posts: 54
edited December 1969 in Technical Help (nuts n bolts)

First: apparently there's a second script out there, but the only reference I found was "in the FAQ", no link. After spending an hour or two searching all over, I still haven't found the script that fixes duplicate formulas.
Second: I'm unclear on how you use the duplicate file number fix script to fix things. I tried running it, and got the same error again.
Looking at the log file, I see (relevant bit in bold):


OpenGL features for current hardware:
OpenGL provider: ATI Technologies Inc.
OpenGL renderer: ATI Radeon HD 6770M OpenGL Engine
OpenGL version: 2.1.0
Maximum number of lights: 8
Number of auxiliary buffers: 0
Number of texture units: 8
Depth buffer bit resolution: 24
Maximum OpenGL texture size: 16384 x 16384
Current OpenGL Texture Quality Setting: Good Performance
RGBA color bitplane resolutions: 8 8 8 8
Shadow mapping supported
VBO supported
*** Scene Cleared ***
Loading plug-ins:
libaniMate2.dylib
libdazscriptide.dylib
libdz3dbridge.dylib
libdzalignace.dylib
libdzassetiofilters.dylib
libdzautofit.dylib
libdzautoriggerbasic.dylib
libdzautoshaderbakeractions.dylib
libdzbrycebridge.dylib
libdzbvh.dylib
libdzcolladax.dylib
libdzcomponents.dylib
libdzcontentdbeditor.dylib
libdzcontentlibrarypane.dylib
libdzcr2exporter.dylib
libdzcustomizedlg.dylib
libdzdecimator.dylib
libdzdelightrenderer.dylib
libdzdformeditor.dylib
libdzeasyloader.dylib
libdzexpexporter.dylib
libdzfbxexporter.dylib
libdzfbximporter.dylib
libdzfiguresetup.dylib
libdzgoz.dylib
libdzhexagonbridge.dylib
libdzimageio.dylib
libdzjointeditor.dylib
libdzlayerededitor.dylib
libdzlayerfilter.dylib
libdzmacvideo.dylib
libdzmanualshaderbaker.dylib
libdzmaptransfer.dylib
libdzmorphfollower.dylib
libdzmorphloader.dylib
libdzmorphloaderpro.dylib
libdzobjexporter.dylib
libdzoptitexclothbasic.dylib
libdzpolygongroupeditortool.dylib
libdzprimitives.dylib
libdzpropertyeditor.dylib
libdzpuppeteer.dylib
libdzpz3importer.dylib
libdzrenderedit.dylib
libdzrenderlibrary.dylib
libdzrslshadercompiler.dylib
libdzsavefilters.dylib
libdzscriptedrenderer.dylib
libdzscriptedsteps.dylib
libdzshaderbaker.dylib
libdzshaderbuilder.dylib
libdzshadereditor.dylib
libdzshadermixerbase.dylib
libdzshadermixergui.dylib
libdzsmartcontentpane.dylib
libdzspotrendertool.dylib
libdztextureatlas.dylib
libdztransferutility.dylib
libdzu3dexporter.dylib
libdzweightmapbrush.dylib
SDK_SceneInfoPane.dylib
libdzpowerpose.dylib
WARNING: QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Total class factories: 1205
Creating interface
Successfully created OpenGL viewport for Viewport1.
Successfully created OpenGL viewport for Viewport2.
Successfully created OpenGL viewport for Viewport3.
Successfully created OpenGL viewport for Viewport4.
Executing startup script...
Started in: /Applications/DAZ 3D/DAZStudio4 64-bit
DAZ Studio Started
Creating Pixel Buffer
Pixel buffer - Width: 1024 Height: 1024
Compiling OpenGL Shader...
Fragment Shader:
Fragment Shader compiled successfully.
Linking Shader:
Shader Program successfully linked.

*** Scene Cleared ***
DEBUG: End DAZ Studio to Hexagon Bridge log...
--------------- DAZ Studio 4.5.1.56 exited ------------------

This only started happening in the last few days. How do I find what new file that I've uploaded is making the dB spew? I've had to reset the database twice to get my icons back, which is irritating.

Comments

  • Richard HaseltineRichard Haseltine Posts: 99,473
    edited December 1969

    Duplicate Formulas is an error in the older versions of soem morph sets, and the only fix is to get the updated morphs by resetting the items from your Itemised order history, or redownloading through the DAZ Install Manager, and installing the update - after unisntalling the old version in the case of the Genesis Evolution Expression morphs.

    Duplicate IDs are a naming error in DAZ Studio 4.0 content, as that version didn't enforce uniqueness where 4.5 does. My script, linked from the list of free scripts in my signature, will fix most instances of that or you can again reset the item and install the update.

    Neither has anything to do with duplicate files, nor is the warning you highlight related to them (it's a harmless, though odd, UI notice that all of us get).

  • GranvilleGranville Posts: 690
    edited December 1969

    Thanks Richard, but can you clarify how to use the script? (I read the readme) Do I load the scene with duplicate ids and then run your script? Or so I somehow run it on a directory.

  • Richard HaseltineRichard Haseltine Posts: 99,473
    edited December 1969

    It's really for content - fixing the same content in multiple scenes might have undesirable results, and DS should survive the issue anyway (it just makes an on-the-fly correction). But no, you don't load the content - you start the script, then find the .dsf file that needs fixing (scene or a piece of content) using the file dialogue. That's assuming it is the Duplicate IDs issue that you are having.

  • GranvilleGranville Posts: 690
    edited December 1969

    Thanks Richard.

    I get it now. For scene files, I will just ignore.

  • scotchfairyscotchfairy Posts: 54
    edited March 2013

    Is there a place we can post bug reports? The error box that comes up when Daz complains about the duplicate file IDs acts funny. The box has a main pane with the error message and a highlighted button (Ok), and a tab beneath it, with two buttons ("Minimize" and "History"). The only action that actually works is clicking OK. You can't click the two other buttons, it simply beeps at you.

    Let's see if I can attach the screen shot:

    DazBombBox.gif
    482 x 214 - 15K
    Post edited by scotchfairy on
  • Richard HaseltineRichard Haseltine Posts: 99,473
    edited December 1969

    That's the progress bar behind the alert, showing how the load is going. The alert then pops up in front of it if there's a problem, and needs to be dealt with before DS will continue loading. It isn't a bug to be like that.

  • scotchfairyscotchfairy Posts: 54
    edited December 1969

    Okay, the script is bombing, and I'm pretty sure it shouldn't do that.

    I was trying it on all the duplicate .dsf/.duf files I have in my Content Library right now (mostly hair, poses, and the V5 and M5 updates that apparently didn't deinstall the older versions). The logfile is absolutely unhelpful:

    
    Executing DAZ Script file: /Users/leethompson-herbert/Documents/DAZ 3D/Studio/My Library/People/Genesis/Hair/GnMinnieBowHair/Materials/10_MinnieBowHair.ds
    Script executed successfully.
    WARNING: Script Error: Line 3
    WARNING: SyntaxError: Parse error
    WARNING: Stack Trace:
     ()@:3
    WARNING: Script Error: Line 3
    WARNING: SyntaxError: Parse error
    WARNING: Stack Trace:
     ()@:3
    WARNING: Script Error: Line 3
    WARNING: SyntaxError: Parse error
    WARNING: Stack Trace:
     ()@:3
    WARNING: Script Error: Line 3
    WARNING: SyntaxError: Parse error
    WARNING: Stack Trace:
     ()@:3
    *** Scene Cleared ***
    Error reading file, see log for more details.
    WARNING: Script Error: Line 3
    WARNING: SyntaxError: Parse error
    WARNING: Stack Trace:
     ()@:3
    

    There's nothing loaded in the scene when I run the script.
    Am I running it on the wrong type of files?

  • Richard HaseltineRichard Haseltine Posts: 99,473
    edited December 1969

    Which script? Removing duplicate files isn't a task any script I know of performs - my duplicate IDs script is to fix a problem within some files. The only script your log files is a materials preset, which won't do anything useful without the target object loaded in the scene and selected.

Sign In or Register to comment.