Register
Welcome to the Stormspire.net WoW Gold Forums!

Greetings, guest! Welcome to Stormspire.net, your #1 resource for WoW and Diablo 3 Gold, Professions, and everything in between!


Enjoy what the site offers? Consider Premium Membership if you wish to get the most out of the site. Premium Membership benefits include the acclaimed Goblineer's World of Warcraft Gold Guide, private forum access, a complimentary high-quality avatar, and much more!


If this is your first visit, make sure to check out the Stormspire.net Survival Guide for a quick site orientation. You may also register to unlock all standard forum features, and to get rid of these lovely ads!


We proudly host the Official forums for TradeSkillMaster, The Undermine Journal, and WoWuction.

Page 3 of 5 First 12345 Last
Results 21 to 30 of 50
  1. #21
    Entrepreneur
    Proudmoore's Avatar
    Posts
    13
    Reputation
    2
    Tagged in
    8 Posts
    Add to this user's reputation
    Ah, that would be a version mismatch: Python 3.0 (the version I think you're using) isn't backwardly compatible with the 2.x versions I'm familiar with. I'll try and get a 3.0 compatible version written when I'm less busy (likely to be a month or more); but in the short term, acquiring python 2.6 will allow you to run the code as is. I think.

  2. #22
    EU-DarkSpear(A)
    TSM Developer
    Bart39's Avatar
    Posts
    1,200
    Reputation
    65
    Tagged in
    388 Posts
    Add to this user's reputation
    Quote Originally Posted by Proudmoore View Post
    Ah, that would be a version mismatch: Python 3.0 (the version I think you're using) isn't backwardly compatible with the 2.x versions I'm familiar with. I'll try and get a 3.0 compatible version written when I'm less busy (likely to be a month or more); but in the short term, acquiring python 2.6 will allow you to run the code as is. I think.
    ah ok, will grab 2.6, thanks

  3. #23
    Entrepreneur
    Shadowcharly's Avatar
    Posts
    5
    Reputation
    0
    Tagged in
    1 Posts
    Add to this user's reputation
    Made it work in my mac(Python 2.7.1), but had to copy data and script to a folder that had no spaces in their name, because Terminal didn't scape them properly (and was to lazy to fix it XD )

    Already imported to excel, so i'll work on it later. Thanks!!

  4. #24
    Entrepreneur
    Shadowcharly's Avatar
    Posts
    5
    Reputation
    0
    Tagged in
    1 Posts
    Add to this user's reputation
    Hi Proudmoore,

    Got so impressed by the good work on you script, that i wanted to contribute.

    I'm dabbling into mac programming, and one interesting task for a newbie like me is manage to wrap a GUI around any command line program/script, so i managed to make a mac version with very simple but functional gui for your script.

    I put your script within the package to ease out the process, i just modified the input for the script, by accessing it through sys.argv[] so it could be made more pipeable to the wrapped arpund gui.
    Modifications:
    # Modifications Made to adapt the program for the mac Version.
    # Made By shadowcharly
    import sys
    source = sys.argv[1]
    #source = "PATH/TO/ACCOUNTING.LUA/FILE"


    target_name = sys.argv[2]
    #target_name = "TSM.csv"

    # This way the script can be directly used without modification to edit the paths:
    # python TSM_Accounting.py "Path/to/accounting.lua" "nameAndOrPathOfExportFile.csv"

    # End of modifications made by shadowcharly


    I don't know if any further aknowledgements have to be made. It's my first software offered to the public ^.^ so if I did something wrong using your script, just tell me.


    It's here and any feedback would be apreciated.

    PS: If any further protocol has to be fullfilled, just tell me, i really couldn't have made it without your wonderfull script that does all the hard work
    PS: I was so nervous i also posted in the thread about the .NET app around your script too T.T
    Last edited by Shadowcharly; May 12th, 2012 at 06:13 AM.

  5. #25
    EU-Nathrezim
    Entrepreneur
    margi's Avatar
    Posts
    127
    Reputation
    10
    Tagged in
    59 Posts
    Add to this user's reputation

    new working online version

    I found this project rather interesting and recoded it some weeks ago... but well, D3 came across and so i never posted a link here.

    Its still Ruby, but uses LUA to parse the saved vars file. So if you want to use it locally, grab it from github.com but make sure you have both Ruby and LUA (and the LUA json package) installed. See the readme (and/or the code) for more infos on how to use it.

    However, the recommended way is to use the tiny webinterface. Find it here: http://goblineeringtools.herokuapp.c...accounting_csv
    Its hosted on the heroku cloud (yay for their free singly dyno service!) and does not log anything of your accounting files or whatever. Its not that I am saying that you have to trust me or anything but I have no plans on spying into your sales data!

    Features:

    • Upload via file upload (POST request) or the text area box on the right side (POST). Both could be used to automatically send the data in. Im fine with that.
    • a sortable field list of which info you would like to have in the generated CSV
    • demo accounting file in the text area, so you can just hit "convert" to try it out and have a look at the result.


    Please tell me if you find some glitches or want other fields in the result or anything. And yeah, please don't derp it up entering lua code. It will not run and even if it does (hello, Mr Endless Loop) it will be killed after some seconds and you'll get banned!

    I hope you guys will find it usefull!
    Last edited by margi; June 10th, 2012 at 05:18 AM. Reason: some markup

  6. #26
    US-Drenden(A)
    Wind Trader Emeritus
    Euripides's Avatar
    Posts
    71
    Reputation
    15
    Tagged in
    69 Posts
    Add to this user's reputation
    This doesn't work for me- it just spat out an error page with literally only the word "no".
    Call to Auction
    Wow Insider's Gold Capped and Insider Trader

  7. #27
    EU-Nathrezim
    Entrepreneur
    margi's Avatar
    Posts
    127
    Reputation
    10
    Tagged in
    59 Posts
    Add to this user's reputation

    Thumbs up

    Quote Originally Posted by Euripides View Post
    This doesn't work for me- it just spat out an error page with literally only the word "no".
    Thank your for giving my service a try!

    The indeed pretty plain response "no." means you (unfortunately) have been blocked from the app. This has two possible causes:
    1. You submited more than 10 POST requests in a very short amount of time which might render the app unusable.
      • As far as my logs tell me, that is not what you did!

    2. The lua parser had a timeout on converting your SavedVars file.
      1. This can either happen because you tried to trick it with some endlessly looping LUA code...
      2. or (MOST LIKELY) you have a pretty big accounting file which took to long to dig through.

    I just tried my accounting file and it converted flawlessly. Its roughly (only) 600 KB and takes less than a sec to convert.

    Do you mind to send me your file (PM me please) and/or tell us how big it is and what version of TSM you're using?!

    Anyone (of the very few who use this ) have this or similar problems?

  8. #28
    US-Sentinels(A)
    TSM Developer
    Drethic's Avatar
    Posts
    170
    Reputation
    12
    Tagged in
    66 Posts
    Add to this user's reputation
    I have run into this issue while programming the official converter. With both PHP and JavaScript. A few of the goblins who have given me their data range up to 5 MB of data. Talk about a killer. I've been working on a way to cut the file apart to prevent timeout server side. I'm in the middle of moving so will get back to this project in about a week when I get settled and internet.

  9. #29
    EU-Nathrezim
    Entrepreneur
    margi's Avatar
    Posts
    127
    Reputation
    10
    Tagged in
    59 Posts
    Add to this user's reputation
    Quote Originally Posted by Drethic View Post
    I've been working on a way to cut the file apart to prevent timeout server side.
    Actually that was not the problem. The timeout is artificially wrapped around the lua interpreter (converting the LUA to JSON which is later used to do the actual converting with) to prevent messed up lua scripts from occupying the clouds precious cpu circles.

    Euripides file will now get converted by my tool without complains. It was only some simple disagreement between my parser and his (outdated) file which are now set aside.

    Happy converting, everybody!

  10. #30
    US-Darkspear(A)
    Entrepreneur
    Shadowolz's Avatar
    Posts
    28
    Reputation
    0
    Tagged in
    12 Posts
    Add to this user's reputation
    It just gives me a blank screen, and I check what I had try to upload and realized I had uploaded the wrong file. So I tried again and it gave me a blank page. I'm guessing my file is too big? its 799k in size.
    Last edited by Shadowolz; July 20th, 2012 at 06:43 PM.
    Hunters and Gold Making - http://huntermastery.com/ Also on Android for Free!

 

 
Page 3 of 5 First 12345 Last

Similar Threads

  1. Synchronization of addon saved variables
    By tomatpasser in forum Archive (Addons and Macros)
    Replies: 14
    Last Post: April 15th, 2011, 06:03 PM
  2. Replies: 0
    Last Post: April 13th, 2011, 12:55 PM
  3. Inks from glyphs in tool tips?
    By Sidieon in forum Archive (Professions)
    Replies: 2
    Last Post: February 4th, 2011, 09:33 AM