Re: Invoice Importer

2012-02-21 Thread Reuben Cummings
https://bugzilla.gnome.org/show_bug.cgi?id=670522

On 2/20/12, Mike Evans  wrote:
> On Mon, 20 Feb 2012 12:18:38 +0300
> Reuben Cummings  wrote:
>
>> >> So, upon further usage I can't get the importer to work as expected.
>> >> Importing bills works fine but when importing invoices, I get the
>> >> error "ROW DELETED, VENDOR_DOES_NOT_EXIST: id=1". Since 'id' is
>> >> the invoice number, I don't understand the error. I even changed the
>> >> invoice number to match the id of an existing vendor and still get the
>> >> same error.
>> >>
>> > Field 1 = invoice number.  Field 3 vendor ID, it should match *exactly*
>> > the vendor ID, (since it's a text match), check leading decimal places.
>>
>> vendor ID (i.e. customer ID) does match because after the import, the
>> correct customer name appears. I am getting somewhere though because
>> if I use a customer ID that also happens to be a valid vendor ID,
>> there is no error and all the line items import. However, if I have a
>> customer ID that does not also exist as a vendor ID, the error
>> reappears and only the even line items import.
>
> Reuben
>
> Ah. That's a bug and I think I see the cause, also I'm to blame for it being
> there.
> It should be fixed in the next release.
>
> Would you open a bugzilla report for this.
>
> Thanks for taking the time to narrow it down.
>
> Mike Evans
>


-- 
_
Reuben Cummings
Business Development Manager
Global Cycle Solutions
Arusha, Tanzania--Njiro

http://globalcyclesolutions.com
rcummi...@globalcyclesolutions.com

+255 756 477 319 (vodacom)
+255 789 477 319 (airtel)
+255 655 477 319 (tigo)
+254 717 427 367 (safaricom)
+1 (234) 738-2266 (u.s.)

gmail/skype/twitter/linkedin - reubano
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Git Migration: github with svn access

2012-02-21 Thread Andy Clayton
On Jan 28, 2012 4:30 PM, "Christian Stimming" 
wrote:
>
> Am Freitag, 27. Januar 2012, 19:04:10 schrieb Andy Clayton:
> > Is the switch to git stuck on 1) the sed crash on windows after adding
> > git and then 2) porting the build scripts?
>
> Yes, both.
>
> The porting of the build scripts is a task that I thought I could look
into,
> but don't have had time for it so far.
>
> The sed crash indicates a conflict of msys-git's msys environment with the
> build server's main msys environment. Maybe we can live with that by
calling
> git by its absolute path so that its msys DLLs are not in PATH, but I
haven't
> checked this further.
>
> Regards,
>
> Christian

Thanks for the update. I tried getting gnucash to build on windows 7 in a
virtualbox VM so I could look into this and other issues, but performace
was horrible. Configuring and compiling a single dependency took hours.
Apparently this is somewhat expected even without the VM because fork isn't
cheap on windows, but I am wondering what others have found. Are things any
better with the official vmware builder? Or has anyone tried and had better
luck with KVM instead of virtualbox? I have also read that Windows 7 may
have msys performance issues, so I am not entirely sure what to change
first. Or maybe avoiding it all and cross compiling is the best answer.

Andy
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Invoice & payment import script

2012-02-21 Thread reubano

Robin Chattopadhyay wrote
> 
> I'm new enough at using Linux that I'm not entirely sure if this is
> relevant, but I didn't have ../gnucash/lib/python2.7/site-packages until I
> had installed python-dev and re-built gnucash with the
> --enable-python-bindings option.
> 

Yes, I think that may be the case then. I'm on a Mac and built a 2nd
installation of GnuCash under a separate user. When I did a search for
'site-packages', it shows up under that install at
/Users/admin/gnucash-stable/lib/python2.7/site-packages. FYI, the wiki page
lists python2.5, but it should be python2.7.

--
View this message in context: 
http://gnucash.1415818.n4.nabble.com/Invoice-payment-import-script-tp4396816p4408168.html
Sent from the GnuCash - Dev mailing list archive at Nabble.com.
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Git Migration: github with svn access

2012-02-21 Thread Christian Stimming
Am Dienstag, 21. Februar 2012, 12:20:06 schrieb Andy Clayton:
> Thanks for the update. I tried getting gnucash to build on windows 7 in a
> virtualbox VM so I could look into this and other issues, but performace
> was horrible. Configuring and compiling a single dependency took hours.
> Apparently this is somewhat expected even without the VM because fork isn't
> cheap on windows, but I am wondering what others have found. Are things any
> better with the official vmware builder? Or has anyone tried and had better
> luck with KVM instead of virtualbox? I have also read that Windows 7 may
> have msys performance issues, so I am not entirely sure what to change
> first. Or maybe avoiding it all and cross compiling is the best answer.

Dear Andy,

yes, the performance during compiling with msys on windows is indeed horrible. 
Yes, this used to take hours literally, so I assume it isn't too unusual what 
you see here.

Cross-compiling for windows on a linux host (mingw cross compiler) is 
surprisingly much much faster. However, not all of the dependencies can be 
cross-compiled, if I recall correctly.

I don't think it's a kvm vs. virtualbox issue. Nevertheless the performance of 
msys might indeed be even worse on windows 7, compared to Windows XP or 
similar. I don't know any details here, though.

Regards,

Christian
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel